A ping monitor checks that a server or network device is reachable. It sends an ICMP echo request, the basic “are you there?” message that the ping command uses, and checks that the host answers. Use it for servers, routers, load balancers and VPN gateways. It does not tell you whether a website or other service on that machine works.
Add a ping monitor
Section titled “Add a ping monitor”-
Open Monitors in the sidebar and select New monitor.
-
Choose the Ping tab.
-
In Host, enter a hostname (a server’s name, such as
edge.example.com) or an IP address (its numeric address, such as203.0.113.10). Enter the host only, withouthttps://or a path. -
In Name, enter what your team calls the machine, for example “Edge router, Frankfurt”.
-
Open Advanced settings if you want to change Check every and Locations. See Create a monitor.
-
Under Test first, select Run test to confirm the host answers from a location.
-
Select Create monitor.
-
Open the monitor’s Notifications tab and choose who gets alerted. A new monitor alerts nobody until you do.
-
Select Save changes.
Set up alerts for the monitor covers each alert setting.
The monitor shows Pending until its first check reports, then Up if the host answers. Host takes up to 253 characters.
How a ping check works
Section titled “How a ping check works”Each check sends ICMP echo requests from one of the monitor’s locations, taking turns through the locations you selected. The check passes if the host replies. The response time is the average round-trip time of the replies: how long a message takes to reach the host and come back.
A ping monitor has no other settings, and you can’t change the packet count. As for every monitor type, StatusCheck re-checks a failure from another location before it marks the monitor Down. See Locations and confirmation.
When to use a port or HTTP(s) monitor instead
Section titled “When to use a port or HTTP(s) monitor instead”A host can answer pings while the service on it is down, and it can drop pings while the service works. Choose the monitor that tests what your users depend on:
| If you need to know | Use |
|---|---|
| The machine or device is reachable on the network | Ping |
| A service is accepting connections on a port, such as a database or mail server | Port |
| A website or API answers correctly | HTTP(s) |
A common setup is a ping monitor on the host and an HTTP(s) or port monitor on the service. When both go down, the machine or its network is the problem. When only the service monitor goes down, look at the application.
Troubleshooting
Section titled “Troubleshooting”The monitor always shows down, but the server is fine. The host, its firewall or your cloud provider’s security rules block ping. In your cloud provider or firewall, look for inbound rules (sometimes called a security group) and allow ICMP. If you cannot change them, use a port monitor on a port the server has open.
Some checks fail from one location only. A network path between that location and your host may be failing. StatusCheck marks a monitor down only when a second location confirms the failure, so one location’s problem does not alert you. Open the Logs tab and filter by Failed to see which locations fail.
Related
Section titled “Related”- Port monitors check a specific service on the host.
- Locations and confirmation explains rotation and confirmation.
- Read a monitor’s uptime and response times shows response time by location.
- DNS monitors check that a hostname resolves to the address you expect.