Property
|
Description
|
Type
|
Example
|
type |
ping | webservice
The type of the website |
String |
“type” : “webservice” |
id |
The Id of the website |
Integer |
“id” : 21 |
name |
The name of the website |
String |
“name” : “CName_check” |
description |
The description of the website |
String |
“description” : “main page check (cname)” |
serviceFolderId |
The id of the folder the website is in |
Integer |
“serviceFolderId” : 12 |
stopMonitoring |
true: monitoring is disabled for the website
false: monitoring is enabled for the website
If stopMonitoring=true, then alerting will also by default be disabled for the website |
Boolean |
“stopMonitoring” : false |
stopMonitoringbyFolder |
true: monitoring is disabled for all services in the website’s folder
false: monitoring is not disabled for all services in website‘s folder |
Boolean |
“stopMonitoringByFolder” : false |
disableAlerting |
true: alerting is disabled for the website
false: alerting is enabled for the website
If stopMonitoring=true, then alerting will also by default be disabled for the website |
Boolean |
“disableAlerting” : false |
individualSmAlertEnable |
true: an alert will be triggered if a check fails from an individual test location
false: an alert will not be triggered if a check fails from an individual test location |
Boolean |
“individualSmAlertEnable” : true |
individualAlertLevel |
warn | error | critical
The level of alert to trigger if the website fails a check from an individual test location |
String |
“individualAlertLevel” : “error” |
overallAlertLevel |
warn | error | critical
The level of alert to trigger if the website fails the number of checks specified by transition from the test locations specified by globalSmAlertCond |
String |
“overallAlertLevel” : “critical” |
alertStatus |
A status that indicates if there is currently an alert for the website, and whether or not the alert has been acknowledged. This status property has two values in the following format:
{acknowledged} – {alertLevel}, where
acknowledged: confirmed | unconfirmed
alertLevel: warn | error | critical |
String |
“alertStatus”:”none” |
alertStatusPriority |
A value used by the UI to determine how alerts should display in the tree |
Integer |
“alertStatusPriority”:100000 |
sdtStatus |
A status that indicates if there are any SDTs set for the website. This status property has three values in the following format:
“{serviceGroupSDT} – {serviceSDT} – none”, where serviceGroupSDT and serviceSDT will be either “SDT” or “none” |
String |
“sdtStatus” : “none-none-none” |
alertDisableStatus |
A status that indicates whether alerting is disabled for the website. This status property has three values in the following format:
“{serviceGroupAlertingDisabled} – {serviceAlertingDisabled} – none”, where serviceGroupAlertDisabled and serviceAlertDisabled will be either “disable” or “none” |
String |
“alertDisableStatus” : “none-none-none” |
pollingInterval |
1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10
The polling interval for the website, in units of minutes. This value indicates how often the website is checked. The minimum is 1 minute, and the maximum is 10 minutes. |
Integer |
“pollingInterval” : 1 |
transition |
1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 30 | 60
The number of checks that must fail before an alert is triggered |
Integer |
“transition” : 1 |
testLocation |
The locations from which the website is monitored. If the website is internal, this field should include Collectors. If Non-Internal, possible test locations are:
1 : US – LA
2 : US – DC
3 : US – SF
4 : Europe – Dublin
5 : Asia – Singapore
6 : Australia – Sydney
testLocation:”{all:true}” indicates that the service will be monitored from all checkpoint locations
testLocation:”{smgIds:[1,2,3]}” indicates that the service will be monitored from checkpoint locations 1, 2 and 3
testLocation:”{collectorIds:[85,90]}” indicates that the service will be monitored by Collectors 85 and 90 |
JSON Object |
“testLocation” : “{“all”:true}” |
globalSmAlertCond |
The number of test locations that checks must fail at to trigger an alert, where the alert triggered will be consistent with the value of overallAlertLevel. Possible values and corresponding number of Site Monitor locations are
0 : all
1 : half
2 : more than one
3 : any |
Integer |
“globalSmAlertCond” : 0 |
useDefaultLocationSetting |
true: The checkpoint locations configured in the website Default Settings will be used
false: The checkpoint locations specified in the testLocation will be used |
Boolean |
“useDefaultLocationSetting” : false |
useDefaultAlertSetting |
true: The alert settings configured in the website Default Settings will be used
false: Service Default Settings will not be used, and you will need to specify individualSMAlertEnable, individualAlertLevel, globalSmAlertConf, overallAlertLevel and pollingInterval |
Boolean |
“useDefaultAlertSetting” : false |
userPermission |
write | read | ack
The permission level of the user that made the API request |
String |
“userPermission” : “write” |
checkpoints |
The checkpoints from the which the website is monitored. This object should reference each location specified in testLocation in addition to an ‘Overall’ checkpoint. |
JSON Object |
“checkpoints” :[ {“id” : 98,”geoInfo” : “Overall”,”smgId” : 0}, {“id” : 102,”geoInfo” : “Asia – Singapore”,”smgId” : 5}, {“id” : 101,”geoInfo” : “Europe – Dublin”,”smgId” : 4}, {“id” : 99,”geoInfo” : “US – San Francisco”,”smgId” : 3}, {“id” : 97,”geoInfo” : “US – Washington DC”,”smgId” : 2} ] |
serviceProperties |
The properties associated with the website |
JSON Object |
“serviceProperties” : [ {“name” : “billing”,”value” : “website”}, {“name” : “team”,”value” : “TechOps”}, {“name” : “production”,”value” : “true”} ] |
isInternal |
Whether or not the website is internal |
Boolean |
“isInternal” : true |
collectors |
The collectors that are monitoring the website, if the website is internal |
JSON Object |
“collectors”:[{“id”:85,”description”:”ip-172-31-37-162.us-west-2.compute.internal”,”hostname”:”ip-172-31-37-162.us-west-2.compute.internal”,”collectorGroupId”:1,”collectorGroupName”:”@default”}] |