Monitors

Every monitor type — HTTP, TCP, DNS, databases, infrastructure protocols, heartbeats, agents — plus grouping and ordering.

Monitor types

Type What it checks
http / https HTTP status code, latency, optional body/keyword matching
ping / icmp ICMP echo reachability
tcp TCP port connectability
udp UDP port reachability
dns DNS records (A, AAAA, CNAME, MX, NS, TXT, SRV) with optional expected value and custom resolver
smtp / pop3 / imap / telnet Mail and legacy service checks — real credential login optional
postgres / mysql / redis Database connection checks
ftp / ftps FTP connect + real login — plain, AUTH TLS or implicit TLS (port 990)
sftp SSH auth (password or private key) plus a real directory listing
ssh Real SSH authentication — catches fail2ban lockouts, broken PAM, expired keys
dnsbl IP against mail blocklists (Spamhaus, SpamCop, Barracuda, UCEPROTECT + custom zones)
ssl TLS certificate validity, full chain incl. intermediates, configurable warn_days
domain Domain expiry via WHOIS with days-remaining
heartbeat Reverse check — your job pings us, silence means down
agent Metrics from a Uptriva agent on your server
api Push-based API monitoring — see API Monitoring
game_server Game server query or push metrics — see Game Server Monitoring
composite Synthetic parent — derives status from several child monitors

ftp, sftp, ssh and dnsbl run on the pinger network — agent execution is not yet supported for them.

Agent-executed monitor types

These types speak native protocols and are executed by your agents — they monitor what external probes cannot reach:

Type What it checks
rabbitmq RabbitMQ node/queue health via the management API
kafka Kafka broker connectivity and topic state
mqtt MQTT broker connect + optional topic publish/subscribe round-trip

Credentials for agent-executed checks (MQTT/Kafka/RabbitMQ logins) are stored encrypted, never returned in monitor list responses, and redacted for team members without settings-management permission.

Groups and ordering

Monitors can be grouped (monitor_groups) and both groups and the monitors inside them have an explicit display order. The order you set in the dashboard is the order shown on the public status page:

PUT /api/v1/uptime/monitors/order
{ "monitors": [ { "id": "<uuid>", "order": 0 }, ... ] }

PUT /api/v1/uptime/groups/order
{ "status_page_id": "<uuid>", "groups": [ { "id": "<uuid>", "order": 0 }, ... ] }

Both update every row inside a single transaction — partial updates never leave a scrambled order — and invalidate the public status page cache immediately. New monitors are appended at the end of their group automatically.

HTTP monitors

HTTP monitors support:

  • Method selection (GET, POST, PUT, DELETE, PATCH, HEAD, OPTIONS), custom headers and request body
  • Expected status code (expected_status) and body matching (contains, exact, regex, not_contains, json_path — e.g. data.status==ok or bare path existence)
  • Keyword checks via expected_keywords
  • Redirect following (follow_redirects) and TLS verification (verify_ssl)
  • Latency threshold (latency_threshold_ms) — beyond it a monitor reports degraded

Protocol and credential checks

Several types accept a settings object with connection details:

{ "username": "deploy", "password": "…", "private_key": "-----BEGIN…", "tls_mode": "starttls", "port": 587 }
  • username / password — enables a real login for smtp, imap, pop3, ftp, sftp, ssh. Without credentials, mail checks keep their classic greeting/port behavior — existing monitors keep working unchanged.
  • private_key — PEM key for sftp/ssh instead of a password.
  • tls_mode — plain, starttls or tls (implicit) for mail and FTP.
  • port — override the default port for the protocol.

DNS, SSL, domain and DNSBL monitors have their own settings:

{ "record_type": "MX", "expected": "mail.example.com", "resolver": "9.9.9.9" }
{ "warn_days": 14 }
{ "dnsbl_zones": "zen.spamhaus.org,bl.spamcop.net" }
  • record_type + expected — DNS checks can require a specific record value; a mismatch marks the monitor down (detects hijacks and broken migrations).
  • warn_days — SSL certificate and domain-expiry warning threshold (default 30 days).
  • dnsbl_zones — comma-separated blocklist zones; defaults cover Spamhaus ZEN, SpamCop, Barracuda and UCEPROTECT.

Failure and recovery detection

Monitors do not flip on a single failed check:

  • failure_threshold — consecutive failed checks required before a monitor is marked down (1–20)
  • recovery_threshold — consecutive successful checks required before it recovers (1–20)
  • degraded_timeout_seconds — heartbeat-style timeout for push monitors
  • Outages require regional quorum — a single checker's view is never enough to declare a global outage, which prevents false alarms from network paths or individual regions

Network path data

A monitor can be linked to a SmokePing target via a connection in the Connection Hub — latency, loss and jitter series for the path appear next to the monitor's availability, and the link can raise alerts on RTT or loss thresholds (alert_rtt_ms, alert_loss_pct).

Intervals and tiers

The minimum check interval depends on your plan: Free plans check every 300s, paid plans down to 30s. Per-tier limits are listed on the pricing page.

Heartbeat monitors

For cron jobs and scheduled tasks: create a heartbeat monitor, then call its push URL from your job:

POST https://api.uptriva.com/api/v1/uptime/heartbeat/<monitor_id>
Authorization: Bearer <heartbeat_token>

If no heartbeat arrives within expected_interval seconds, the monitor goes down.