This topic describes the monitor configuration fields that are available through the AlertSite JSON API. You can use these fields when adding or editing monitors, and they are included in the API response when you query monitor information.
All field names and values are case-sensitive.
Note that the API returns all numeric values as strings:
{
"interval": "15",
"timeout": "60",
...
}
However, when adding or editing monitors you can use specify numeric values as either numbers or strings:
{
"interval": 15,
"timeout": "60"
}
Note: | Some monitor configuration settings are not available through the API. See Limitations for a list of unavailable settings. |
Field Name | Description | Supported for monitors | ||||
---|---|---|---|---|---|---|
DéjàClick | Selenium | SoapUI | API endpoint | Other | ||
|
A monitor-specific alert note. Up to 1000 characters, longer notes will be truncated. |
+ |
+ |
+ |
+ |
+ |
|
An array of assertions used to validate the response body of the API call. For example: "assertions": [ |
+ |
||||
assertions[].source |
The source of the value verified by this assertion:
|
+ |
||||
assertions[].property |
If If If If |
+ |
||||
assertions[].comparison |
The type of the comparison to perform. The possible values are as follows: If
If
If
If
If
|
+ |
||||
assertions[].value |
String. The expected value for the assertion to pass. If Regular expressions are specified as strings ( |
+ |
||||
billing_plancode |
AlertSite billing plan for the monitor. For example, UBM-A/A (not UBM - A/A:1:50). You can see your available plans in > Settings > Plan Details (in AlertSite UXM) or Account > Account Summary (in AlertSite 1.0). Cannot be changed in existing monitors. When creating new monitors, make sure to use a valid plan code that supports this monitor type. When in doubt, check which plan is used by your existing monitors and use the same plan code. |
+ |
+ |
+ |
+ |
+ |
browser_type |
The browser used by DéjàClick monitors. Possible values:
Defaults to FF if not specified when adding the monitor. Cannot be changed in existing monitors. |
+ |
||||
capture_level |
The Capture level option of DéjàClick, Selenium and SoapUI monitors. Possible values:
|
+ |
+ |
+ |
+ |
|
check_fullpage_missing_objects |
The Alert if objects are missing or new option. Possible values:
|
+ |
+ |
|||
check_fullpage_object_sizes |
The Alert if object size changes option. Possible values:
|
+ |
+ |
|||
check_ssl_expiration_dates |
The Report Expired SSL Certificates option of Secure Web URL monitors. Possible values:
Defaults to Expired if not specified when adding the monitor. An empty string ("") in the Get Monitors response means Expired. |
+ |
||||
continue_playback_on_timeout |
The Continue playback on timeout option of DéjàClick monitors. Possible values:
|
+ |
||||
email |
Used for Roundtrip E-mail monitors. The email address used to send test emails. |
+ |
||||
enabled |
Monitor status:
|
+ |
+ |
+ |
+ |
+ |
fullpage_object_timeout |
The fullpage object timeout, in seconds. Used only if Possible values: 0 (no timeout), 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 15, 20, 25, 30, 45, 60, 75, 90, 120, 150, 180, 240, 300 |
+ |
+ |
+ |
||
home_location |
The ID of the primary monitoring location for the monitor. You can find the IDs of AlertSite’s global locations here. If you use private locations, you can get their IDs by using the Get Locations operation. In the Get Monitors response, 0 means the account’s default primary location. |
+ |
+ |
+ |
+ |
+ |
http_302_is_error |
The Report redirects (HTTP 301/302) as errors option. Possible values:
|
+ |
+ |
|||
http_401_is_error |
The Report authentication challenges (HTTP 401/403) as errors option. Possible values:
|
+ |
+ |
|||
http_caching |
The Use caching - Simulates a repeat visitor option. Possible values:
|
+ |
||||
http_follow_redirects |
The Follow redirect option. Possible values:
|
+ |
||||
http_method |
HTTP method. Possible values:
Note that AlertSite API does not support getting or setting the request headers and payload. |
+ |
+ |
|||
http_version |
HTTP version: 1.0 (default) or 1.1. |
+ |
||||
id |
Read-only. The monitor ID. |
+ |
+ |
+ |
+ |
+ |
interval |
The monitoring interval, in minutes. Possible values: 1, 2, 3, 4, 5, 6, 10, 15, 20, 30, 60, 120. |
+ |
+ |
+ |
+ |
+ |
interval_fullpage |
How often to measure fullpage response time for the monitored site or transaction. Possible values: -1 (disabled), 1, 2, 3, 4, 5, 6, 10, 15, 20, 60, 120. This value must be a multiple of |
+ |
+ |
|||
ip_address |
If If |
+ |
||||
keyword_match_invert |
The Finding this keyword is an error option (or Invert match in AlertSite 1.0). Possible values:
|
+ |
||||
keyword_match_type |
Specifies whether
|
+ |
||||
keyword_string |
The word, phrase or regular expression to find on the monitored web page. Regular expressions must be specified as strings ( |
+ |
||||
locations |
An array of monitoring locations used by the monitor. Each location is specified by ID and (in the Get Monitors response) by name. You can find the IDs of AlertSite’s global locations here. If you use private locations, you can get their IDs by using the Get Locations operation. When adding or editing monitors,
{
{ |
+ |
+ |
+ |
+ |
+ |
mode |
The monitoring mode used for the monitor:
|
+ |
+ |
+ |
+ |
+ |
monitor_location_count |
The number of locations per interval when using rotated locations, or 0 if rotated locations are not used. For example, to set the Global Verify mode with rotated locations and 2 locations per interval, use:
{ To disable rotated locations, set |
+ |
+ |
+ |
+ |
+ |
name |
The monitor name. When adding or editing monitors, the name should not contain characters " ' \ . |
+ |
+ |
+ |
+ |
+ |
note |
A monitor-specific dashboard note. Up to 1000 characters, longer notes will be truncated. |
+ |
+ |
+ |
+ |
+ |
notify_on_content_change |
The Alert on content change option. Possible values:
|
+ |
+ |
|||
notify_on_error |
Whether availability alerts are enabled for this monitor. Possible values: y, n. If omitted when adding a monitor, defaults to the value specified by Enable alerts in your account settings. |
+ |
+ |
+ |
+ |
+ |
notify_on_fullpage_errors |
The Alert on page asset errors option. Used only if fullpage monitoring is enabled (that is,
|
+ |
+ |
|||
pop3_hostname |
The POP3 Server option of Roundtrip E-mail monitors. This is the address of the POP3 server that the mail will be read from. |
+ |
||||
port |
The custom port number used by the monitored site, or an empty string if a standard port is used. Typical ports are 80 for HTTP and 443 for HTTPS. |
+ |
||||
realm_userid and
realm_password |
The optional user name and password for authentication. Only used for website URL, API endpoint, FTP and email monitors. Existing passwords are returned as <hidden> for security reasons. |
+ |
+ |
|||
resolve_dns |
The Resolve DNS option. Possible values:
|
+ |
||||
script |
The contents of the DéjàClick script, Selenium JAR file or SoapUI XML project file. For DéjàClick and SoapUI monitors, this is the file contents as plain text with the JSON encoding applied. For Selenium monitors, this is the base64-encoded contents of the JAR file. See Add Monitor for examples of how this field is encoded. The Get Monitor response includes this field only if the show_scripts=1 parameter is used. |
+ |
+ |
+ |
||
site_type |
The monitor type. Possible values:
|
+ |
+ |
+ |
+ |
+ |
smtp_hostname |
The SMTP server address used by Roundtrip E-mail monitors to send the test email message. If left blank, the email is sent from the AlertSite mail server. |
+ |
||||
step_timeout |
The Browser timeout option, in seconds. Possible values: 1 to 300. |
+ |
+ |
|||
test_case |
The name of a SoapUI test case used by the monitor. Can be updated by the Edit Monitor operation. |
+ |
||||
test_suite |
The name of a SoapUI test suite used by the monitor. Can be updated by the Edit Monitor operation. |
+ |
||||
timeout |
The monitor timeout, in seconds, or the step timeout (for DéjàClick and Selenium monitor only). Possible values: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 15, 20, 25, 45, 60, 75, 90, 120, 150, 180, 240, 300. |
+ |
+ |
+ |
+ |
+ |
traceroute_on_error |
The TCP traceroute on network error option. Possible values:
|
+ |
+ |
|||
transaction_steps_allowed |
Read-only. The maximum number of steps per DéjàClick transaction, Selenium script or SoapUI test allowed by your AlertSite billing plan. The limit is 5 in AlertSite Community and Pro, and 50 on most Enterprise plans. |
+ |
+ |
+ |
||
url |
The URL or domain to monitor. |
+ |
+ |