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 from the Templates screen, click +Assign Templates, which displays the Apply Templates screen:
From Select Templates > Available templates, select the templates. Selected templates display the chosen templates.
Click Assign, which displays the Enter Configurations section:
Enter Value for the Assigned Templates and Configuration Parameters and click Submit.
The templates screen displays the selected templates.
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. |
|
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.
