Monitoring starts only after assigning the templates to your synthetic monitor.
You can assign only one template per synthetic monitor. Monitoring does not work as expected if you assign more than one template.
You can assign templates that pertain to a specific synthetic monitor. For example, you can assign DNS Templates to DNS synthetic monitors and not to PING synthetic monitors.
You can create templates using Setup > Monitoring > Templates.
You can select the following basic details while creating a template:
- Collector Type: Synthetics
- Applicable For: Synthetics
- Type: Select the synthetic monitor
To get alerts for configured metrics from all the configured locations assigned to a template, you must enable the Alert option and configure the Component Threshold for each metric while creating the template.
Assign Templates
Select a client from the All Clients list.
Select Infrastructure > Resources > Synthetics and click a synthetic monitor or create a new monitor.
Select the monitor and click +Assign Templates from the Templates screen. The Apply Templates screen is displayed.
From Select Templates > Available Templates, select the templates. The Selected Templates will be displayed.
Click Assign. The Enter Configurations section is displayed.
Enter Value for the Assigned Templates and Configuration Parameters.
Click Submit.
The selected templates are displayed in the templates screen.
Note
You can assign only one template per synthetic monitor. Monitoring does not work as expected if you assign more than one template.Configuration Parameters
The following table describes the configuration parameters for each monitor:
Synthetic Monitor | Configuration Parameters | Description | Values/Example |
---|---|---|---|
HTTP | Timeout | Connection timed out. Maximum time-out required to connect to the given website. |
|
HttpHeaders | HTTP headers |
| |
HttpParams | HTTP parameters |
| |
ShouldContain | Response body should contain specific content. Check the presence of any text in the response of the URL. |
| |
ShouldNotContain | Response body should not contain specific content. Check the absence of any text string in the response of the URL. |
| |
Method | Method. Type of method to execute while monitoring the website. |
| |
PostData | Post data. |
| |
Expected Response Code | The response code returned from the end server should be one from the mentioned response codes (which is in csv format). |
| |
Payload Regular Expression | Create Regex Patterns to validate the HTTP Response body received from the webserver. |
| |
HTTPS | Timeout | Connection timed out. Maximum time-out required to connect to the given website. |
|
HttpHeaders | HTTP headers |
| |
HttpParams | HTTP parameters |
| |
ShouldContain | Response body should contain specific content. Check the presence of any text in the response of the URL. |
| |
ShouldNotContain | Response body should not contain specific content. Check the absence of any text string in the response of the URL. |
| |
Method | Method. Type of method to execute while monitoring the website. |
| |
SslValidation | Validates the SSL certificate of the URL under consideration. This option validates only the last redirected website. |
| |
PostData | Post data. |
| |
Expected Response Code | The response code returned from the end server should be one from the mentioned response codes (which is in csv format). |
| |
Payload Regular Expression | Create Regex Patterns to validate the HTTP Response body received from the webserver. |
| |
DNS | Timeout | Connection timed out. Maximum time-out to resolve the DNS Query. |
|
ExpectedIp | Expected server address. |
| |
NameServer | Name server - Converts the English URL to a physical IP Address. |
| |
FTP | Timeout | Connection timed out. Maximum time-out to connect to the FTP server. |
|
Port | Port number of the FTP server. |
| |
PING | Timeout | Connection timed out. Maximum time-out to verify the accessibility of the chosen host. |
|
POP3 | Timeout | Connection timed out. Maximum time-out to connect to the server. |
|
Port | Port number of the server. |
| |
IMAP | Timeout | Connection timed out. Maximum time-out to connect to the server. |
|
Port | Port number of the server. |
| |
RTT | Timeout | Connection timed out. Maximum time-out to do the RTT monitoring. |
|
Port | Port number. |
| |
ReceiverHost | Receiver host name. |
| |
ReceiverHostPort | Receiver host port number. |
| |
EmailReceiverType | Email receiver type |
| |
SCRIPT | Timeout | Connection timed out. Maximum time-out to connect to the server. |
|
PostScreenshotOnError | Post a screenshot of a failure in the HTTP script synthetic transaction at the time of failure. |
| |
PostSuccessScreenshotAlongWithError | Post a screenshot from a previous successful iteration so that you can compare the case that failed with the one that is successful. |
| |
WebBrowserType | Option to choose a web browser type to run the HTTP Synthetic Transaction against. |
| |
SMTP | Timeout | Connection timed out. Maximum time-out to send an email through the SMTP server. |
|
Port | Port number. |
| |
MessageToSend | The command or message that is sent to the server. |
| |
RecipientList | The Email IDs of the recipients. |
| |
SSL | Timeout | Connection timed out. Maximum time-out to connect to the server. |
|
TCP | Timeout | Connection timed out. Maximum time-out required to connect to the server. |
|
Port | Port number. |
| |
ShouldContain | Response body should contain specific content. Check the presence of any text in the response of the URL. |
| |
ShouldNotContain | Response body should not contain specific content. Check the absence of any text string in the response of the URL. |
| |
MessageToSend | The command or message that is sent to the server. |
| |
SslValidation | Validates the SSL certificate of the URL under consideration. This option validates only the last redirected website. |
| |
UDP | Timeout | Connection timed out. Maximum time-out required to connect to the server. |
|
Port | Port number. |
| |
ShouldContain | Response body should contain specific content. Check the presence of any text in the response of the URL. |
| |
ShouldNotContain | Response body should not contain specific content. Check the absence of any text string in the response of the URL. |
| |
MessageToSend | The command or message that is sent to the server. |
|
Configure the Component Level Threshold for Metrics
Once the templates are created, the user must configure the component level threshold for metrics to receive the alert.
Follow the steps below to configure the component level threshold for metrics:
- Select a client from the All Clients list.
- Navigate to Infrastructure > Resources > Synthetics.
- Select an existing synthetic resource or create a new synthetic resource by clicking ADD button.

- Go to Monitor > Monitor.
- You should now see the list of Synthetics Templates Metrics. Click the Edit Symbol of a metric to update the component threshold.

- The page Edit Metric Threshold will now appear. Click + Add button and enter the information in the following fields:.
- Location: Public or Private synthetic collector
- Alert checkbox: To get alerts for configured metrics, enable the **Alert option
- Warning Threshold
- Critical Threshold
- Repeat Count

- Click Update.
- Once the component threshold has been successfully updated, you will receive a confirmation page.
Unassign Templates
You can remove an assigned template from the monitor. Use the Unassign Templates option to unassign the templates from the synthetic monitors. Every graph associated with the templates is removed.
