Create a monitor

Скоуп write:monitors. Организация — из токена (поле org в теле не нужно). type: http|tcp|dns|tls|heartbeat|wp|domain|links|rkn|mail_loop|mail_dns|safebrowsing|cloak.

post/api/v1/monitors

Request

  • Base URL: https://app.pingvera.com
  • URL: https://app.pingvera.com/api/v1/monitors
  • Auth: HTTP bearer

Request body

typestring required
namestring required
targetstring

URL/host:port/hostname depending on type; not needed for heartbeat

interval_sinteger

0 = server's per-type default

configobject

per-type check options

fail_thresholdinteger
resolve_grace_sinteger

окно подтверждения восстановления, сек; 0 = глобальный дефолт сервера

degraded_latency_msinteger
tagsstring[]
sitestring

site public_id to attach to (optional)

Response

Created — {monitor: {...}}

Changes

No recorded changes to this operation across all 1 revision of this API.