Skip to content

Single server

Monitoring and alerts

The built-in checks, alerts by email, push or webhook, and connecting an external monitor that you host.

The built-in checks

The service checks its own instance every minute and displays the result in Administration › Health:

AreaChecks
servicesmail engine, PostgreSQL, Valkey cache, antivirus, storage
mailsending queue (size, age), deferred and rejected sends, rejections on receipt
disksdata, PostgreSQL, backups (warning at 80%, critical at 90%)
certificatesweb and mail, every hour (warning 21 days, critical 7 days before expiry)
reputationblacklists (DNSBL) every hour, for every outbound IP and every domain, DNS records, DMARC reports
backupsage of the latest (26 h), restore test (8 days), off-server copy, secrets written down off the server, maintenance agent

Thresholds are set in Health › Alert thresholds.

Blacklists

The following are queried: Barracuda, SpamCop, Mailspike, PSBL, UCEPROTECT level 1, SURBL, and Spamhaus ZEN and DBL, which require a free DQS key from Spamhaus, to be entered on the Health page.

The alerts

An incident opens one alert, repeated every 24 hours while it lasts, then a back-to-normal notice. Destinations (Health › Alert destinations):

  1. email to the super administrators (through your own server);
  2. push notification in the browser or the installed app;
  3. webhook: JSON, or Slack or Discord format.

External monitoring

A complete server outage prevents the server from warning you. Have it monitored from the outside, preferably by a tool you host elsewhere, free, such as Uptime Kuma:

  • GET https://mail.example.com/api/health: public, responds {"status":"ok"} or 503;
  • GET https://mail.example.com/api/health/details with Authorization: Bearer <token> (token created in Health › External monitor): details of each check, 503 if one is critical.
Shell
curl -fsS https://mail.example.com/api/health
curl -fsS -H "Authorization: Bearer $VOAARO_HEALTH_TOKEN" https://mail.example.com/api/health/details

An online monitoring service (free or paid) does the job as a fallback, with the same addresses.

Esc