Monitors
Ping, port and UDP monitors
These monitors check a server without loading a web page. A port monitor opens a TCP connection, a ping monitor sends ICMP echo requests, and a UDP monitor sends one small request and waits for the answer.
On this page
Which one to use
| Type | What it checks | Up when |
|---|---|---|
| Port | A TCP service: SSH, mail, a database, a game server or your own service. | The connection opens in time. |
| Ping | That the host is on the network. | The host answers an ICMP echo request in time. |
| UDP | A service that uses UDP: DNS, NTP, a game server or your own. | An answer to our request arrives in time. |
To check what a service answers, use a website monitor, an API monitor, or a database monitor, which signs in to PostgreSQL, MySQL or MariaDB and runs a query.
The host
All three ask for a Host: a domain name such as example.com, or a public IP address. An IPv6 address works with or without brackets.
The host must be reachable from the internet. Addresses in a private network, such as localhost, 10.0.0.5 or 192.168.1.10, and names such as server.lan or db.internal are refused when you save. The address is checked again at every check, after the name is looked up, so a name that later points into a private network fails with Address leads to a private network.
Check interval and Timeout work as for website monitors. Domain warning works too: for a host with a domain name, it warns before the domain's registration ends. There is no certificate warning for these types.
Port monitors (TCP)
- On Monitors, press New monitor and choose Port.
- Type the Host and the Port, from 1 to 65535. Every port can be checked, such as
22for SSH,25or587for mail, or5432for PostgreSQL. - Choose the Check interval and the Timeout, then press Create monitor.
At every check we open a TCP connection and close it at once. Nothing is sent and nothing is read, so the service sees only a short connection. The response time is the time it took to connect.
Ping monitors
- On Monitors, press New monitor and choose Ping.
- Type the Host.
- Choose the Check interval and the Timeout, then press Create monitor.
We look the name up and take its first public IPv4 address, or its first public IPv6 address when it has no IPv4 one. We send an ICMP echo request, and another one every second, until the first answer comes or the timeout ends. The monitor is up when an answer comes, and its response time is that answer's round trip.
UDP monitors
UDP has no connection to open, so a UDP monitor sends one small request and waits for an answer to it. It is up when the answer arrives in time.
- On Monitors, press New monitor and choose UDP.
- Under Request, choose a ready-made request, or keep Custom request to send your own.
- Type the Host. With a ready-made request you can leave Port empty: its usual port is used. A custom request needs a port.
- Choose the Check interval and the Timeout, then press Create monitor.
Ready-made requests
| Request | Usual port | Up when |
|---|---|---|
| DNS question | 53 | The DNS server answers our question about the root's name servers. Any answer counts, even a refusal. |
| NTP time request | 123 | The time server replies to our time request. |
| Game server (Source engine) | 27015 | The game server answers the standard server query (A2S_INFO). A challenge reply counts too. |
| Game server (Minecraft Bedrock) | 19132 | The Minecraft Bedrock server answers the standard unconnected ping. |
The DNS and NTP requests carry a random part that the server sends back, so a stray packet is never taken for the answer. Only an answer from the address we sent the request to counts.
Your own request
- Request to send: up to 512 bytes. Under Written as, choose Text or Hex bytes. Hex is pairs of digits, with spaces if you like:
ff ff ff ff 54. - Text cannot contain a zero byte. For a binary request, use hex.
- Answer must contain is optional, up to 200 characters. When it is empty, any answer is fine. Upper and lower case count here:
OKdoes not matchok.
We read at most 2 KB of an answer and keep none of it. The monitor's page shows what is sent in its UDP request card.
When a monitor counts as down
A check fails for one of these reasons, and the dashboard shows which one:
| Reason in the dashboard | What happened |
|---|---|
| No answer in time | Port: the connection did not open within the timeout. Ping: no answer came within the timeout. |
| Connection refused or dropped | Port: the host refused or dropped the connection. UDP: the host said that nothing listens on the port. Ping: the request could not be sent. |
| Address not found (DNS) | The name could not be looked up. |
| Address leads to a private network | The name leads to an address in a private network. |
| No answer to the UDP request in time | UDP: nothing came back within the timeout. |
| Something answered, but not as expected | UDP: something came back, but it was not an answer to our request, or it did not contain your text. |
After a failed check, the monitor is checked again 30 seconds later, or sooner when the interval is shorter. Only a second failure in a row makes it Down and sends the alert. When other places are online, they check at the same moment, and the status changes only when most of them agree. One good check brings it back Up.