Configuration file
Describe checks in YAML and point MONITOR_CONFIG_FILE to it. The file is applied at every start.
checks:
shop-web:
name: shop
type: http
target: https://shop.example.com
status-page: true
group: Websites
shop-db:
name: Shop database
type: tcp
target: db.internal:5432
nightly-backup:
name: Nightly backup
type: push
interval-seconds: 86400
grace-seconds: 3600
The key of each entry is the check's externalId; fields are the same as in the API, written with dashes.
The file owns its own checks: a check removed from the file is removed from Jammonic. Checks created through the API or the UI are never touched by the file, so both ways live side by side.