Monitors
Monitors are the checks (or folders) that define what Monitoring watches and how it alerts.
Organization
- Folders — hierarchy; ACL and maintenance inherit to children
- Tags — orthogonal Bootstrap color pills; admin CRUD under Tags
- SVG badges — enable per monitor for public
/badge/(shields-style Up/Down).svg - Enable/disable per monitor; copy monitor in admin UI
- Assign workers and notify channels (ACL-filtered)
- Fail modes: notify when any / majority (≥50%) / all assigned workers fail
- Interval, timeout, re-alert cadence; optional signatures;
api_enabledfor Status API
Check types
| Type | What it does |
|---|---|
| HTTPS / HTTP | URL check: methods, body + encoding (json/form/xml/raw), Basic/Bearer/OAuth2-CC/mTLS, cache bust, status codes, redirects, headers, proxy, SSL verify. Optional response header Log |
| HTTP Keyword | Same as HTTPS plus case-sensitive body keyword (optional invert) |
| Websocket Upgrade | HTTP Upgrade handshake; success on 101 + Upgrade websocket |
| SMTP | Banner + EHLO; security none/STARTTLS/TLS |
| NTP | UDP NTP query; optional max clock offset |
| MySQL / PostgreSQL / Redis / MongoDB | Connect / ping (optional SQL query + expected value) |
| SFTP / SNMP / RADIUS / gRPC | Auth or protocol-specific probe |
| MQTT / RabbitMQ / Kafka Producer | Messaging connectivity checks |
| HTTP JSON | HTTP plus json_path and expected value/type; same optional Log response header |
| TCP | Host:port connectivity |
| UDP | UDP host:port listen probe (ICMP unreachable = down; timeout/reply = up). Not a protocol handshake (e.g. WireGuard) |
| Ping | ICMP reachability |
| Domain expiry | WHOIS/RDAP lookup of registration expiry. FAIL while days left ≤ max selected alert days (default 14…0). Chart of days remaining; default re-alert 1440 minutes |
| DNS | Query A/AAAA/CNAME/MX/TXT/NS via system or custom resolver (UDP/TCP/DoT/DoH). Match modes: exact, any, all, exact set, TXT contains/regex, MX host/priority, NXDOMAIN |
| Docker | Container status via configured Docker Engine API |
| External | Push/callback via public /api/external/{hash}/; optional Log header or ?log= / ?message= |
| node-exporter disk/memory | Prometheus exporter scrapes with % thresholds |
| Server offline | Agent heartbeat age (minutes) |
| Server CPU / memory / disk / container | Thresholds from agent metrics |
| Server net RX / TX | Bandwidth thresholds in Mbps |
| Server listening port | Agent reports that TCP/UDP port is bound on the host (any bind IP) |
Custom error text via Log
HTTPS, HTTP JSON and External can attach a human-readable message that appears in events and notifications as Log: ….
HTTPS / HTTP JSON (checked resource → worker)
The endpoint under check returns an optional response header named exactly Log. The worker copies it into response_error (prefixed with Log: , sanitized, truncated). If present, it overrides other response_error text for that check (including HTTP JSON messages). The server stores it on the monitor as external_log on FAIL and uses it in fail alerts.
HTTP/1.1 500 Internal Server Error
Log: upstream timeout on payment-apiExternal (callback → server)
On GET /api/external/{hash}/?status=ok|fail (also accepts synonyms like error/down/0 for fail), pass custom text with priority:
- HTTP request header
Log - Query
?log=… - Query
?message=…(alias)
# Header
curl -H 'Log: disk full on backup' \
'https://monitoring.example.com/api/external/<64hex>/?status=fail'
# Query parameter
curl 'https://monitoring.example.com/api/external/<64hex>/?status=fail&log=disk%20full'Without custom text, fail alerts use a default like External status: fail. The last log is kept for heartbeat-style re-alerts.