OPNexusdocs

Noticing an OPNexus outage (heartbeat)

If OPNexus fails, every alarm it would send falls silent too. An external monitor helps against this: enter under Settings › Operating settings › External monitoring and mail the ping address of such a service (healthchecks.io or self-hosted, a push monitor in Uptime Kuma, an ntfy topic). OPNexus calls it with GET after every successful check cycle of the notifications, so about once a minute. If the call stops, OPNexus has failed or can no longer reach its database; the monitor then raises the alarm. Set its grace period to a multiple of the check interval (e.g. 5 minutes).

Only https:// is allowed; local addresses, link-local and metadata services are excluded, as with the notifications. The address usually contains a secret key: after saving it is no longer displayed and never logged. Alternatively use HEARTBEAT_URL in the .env (which then takes precedence).

Disk of the OPNexus server. If the disk that OPNexus runs on fills up, the database stops and with it every alarm. The alarm "OPNexus server disk almost full" (Settings › Notifications, on by default, from 90 %) warns beforehand; the metric opnexus_server_disk_used_percent shows the fill level. It measures the file system of the Docker volumes (in a standard installation the same disk as the database).