Skip to main content
Server Monitoring

Create or update a server-specific monitoring rule

Creates or updates a custom monitoring rule for the server. This overrides the account global rule. At least one of notifyUserIds or callbackUrl is required.

PATCH
/servers/{serverSlug}/monitoring
Authorizationstringheaderrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

serverSlugstringrequired

Slug of the server

Body

application/json

Monitoring rule to create or update

callbackUrlstring | null

HTTP/HTTPS callback URL that receives POST notifications on status changes. At least one of notifyUserIds or callbackUrl is required.

checkIntervalintegerrequired

Check interval in minutes. Allowed: 5, 10, 15, 20, 25, 30, 40, 50, 60, 120

checksenum<string>[]required

Enabled checks. httpcheck = HTTP endpoint check, pingcheck = ICMP ping check

notifyUserIdsinteger[]

Team member user IDs to email on status changes. At least one of notifyUserIds or callbackUrl is required.

Response

application/json

Server monitoring rule saved

callbackUrlstring | null

HTTP/HTTPS callback URL that receives POST notifications on status changes

checkIntervalinteger

Check interval in minutes. Ignored when scope is disabled

checksenum<string>[]

Enabled checks. httpcheck = HTTP endpoint check, pingcheck = ICMP ping check

idinteger

Monitoring rule ID

notifyUserIdsinteger[]

Team member user IDs to email on status changes

scopeenum<string>

Rule scope: global, server, or disabled

Available options: global, server, disabled
serverSlugstring | null

Server slug when scope is server or disabled; null for global rules