Passa al contenuto principale

ServerMonitoring

Server monitoring service of the account, with the host it checks and its settings

server_monitoring_idintegerrequired
purchase_monitoring_idinteger | nullnullablerequired

Id of the purchase of the monitoring service (GET /api/v3/purchases/{purchase_id})

purchase_server_idinteger | nullnullablerequired

Id of the purchase of the monitored server (GET /api/v3/purchases/{purchase_id}); null when the monitoring checks a hostname or an IP address

service_namestring | nullnullablerequired

Name of the service of the monitoring purchase

purchase_namestring | nullnullablerequired

Name of the object of the monitoring purchase, usually the monitored hostname or IP address

purchase_status_codestring | nullnullablerequired

Status code of the monitoring purchase, for example ACTIVE_V2 or NEW_V2 (not active yet)

monitoring_keystring | nullnullablerequired

Host checked by the monitoring: the hostname of the monitored server, or the hostname or IP address given

is_server_monitoredbooleanrequired

Whether the monitoring checks a server, given by its purchase (purchase_server_id) or by its hostname

is_ip_monitoredbooleanrequired

Whether the monitoring checks an IP address

is_external_device_monitoredbooleanrequired

Whether the monitoring checks an external device, given by hostname or IP address instead of a server or an IP address of the account

monitoring_host_enabledbooleanrequired

Whether the monitoring of the host is enabled

monitoring_typestring | nullnullablerequired

Type of the monitoring: default (Base) or plus (Managed), which can also run the automatic actions of the probes

probe_limitinteger | nullnullablerequired

Maximum number of probes of the monitoring, counting the probes with advanced_item

severity_levelstring | nullnullablerequired

Severity of the problems detected by the probes: default, high or disaster

email_notificationstring | nullnullablerequired

Default email address for the notifications of the probes; each probe has its own (notification_email)

sms_notificationstring | nullnullablerequired

Default phone number for the SMS notifications of the probes; each probe has its own (notification_sms)

ServerMonitoring
{
"server_monitoring_id": 0,
"purchase_monitoring_id": 0,
"purchase_server_id": 0,
"service_name": "string",
"purchase_name": "string",
"purchase_status_code": "string",
"monitoring_key": "string",
"is_server_monitored": true,
"is_ip_monitored": true,
"is_external_device_monitored": true,
"monitoring_host_enabled": true,
"monitoring_type": "string",
"probe_limit": 0,
"severity_level": "string",
"email_notification": "string",
"sms_notification": "string"
}