nMon1 Help
DE Sign in Sign up for free
Help Status pages

Export and import (JSON/YAML)

Under Export / Import you download all monitors with their alerts and the contacts as YAML or JSON. Use the file as a backup, to move to another installation or account, or keep it in git. References are names in the file (e.g. contacts: [Ops]), not internal numbers. Monitoring data and incidents are not included, neither are the secret keys of heartbeat checks.

For the import choose the file and the target group. nMon first checks the file and shows what will be created, updated or skipped and which entries have errors. Only Import now changes anything. Objects with the same name are skipped or, if you choose so, updated. Alerts are only added, never deleted. Plan limits and permissions apply as for changes by hand, and every import is in the audit trail.

Example:

contacts:
  - name: Ops
    email: ops@example.com
websites:
  - name: Shop
    url: https://shop.example.com
    check_interval: 60
    alerts:
      - type: responsecode
        comparison: "!="
        limit: "200"
        occurrences: 2
        contacts: [Ops]
Didn't find an answer? Open a support ticket