Simple Server Monitoring with Ping.gg

It really is the world’s most simple server monitoring service

Best of all, Ping.gg is currently free! Ping.gg will ping your server constantly, with an interval of 10 seconds.

Victor, the ping.gg creator, will be releasing all the Go code on GitHub eventually, but will keep the UI/PHP pieces to himself. It sounds like HTTP response checking is also in the works:

There is a ping daemon (Go app) that is listening for a couple of redis pub/sub channels for hosts to start and stop pinging. Each host is handled by a different goroutine. When something goes up or down, it publishes the host in another 2 redis pub/sub channels.

This is what I’ll release as open source, before I do I’d like to refactor it so it’s not tightly couple with redis, but rather have an interface there, so it’s easy to change the redis pub/sub interface with, for example, HTTP calls.

Monitor a Site with Ping.gg

To monitor a site (my.example.com), issue this command:

curl ping.gg/[email protected]/my.example.com

I’ll let Victor explain how it works:

After you provide a hostname or IP and your email address, you’ll be sent an email with 3 generated URLs that you can to click to start, stop and delete your tracking. Every time you server goes down or back online you will receive a notification, which will also include the control URLs. BTW, check your spam folder… you know the drill.

Every time my.example.com is unreachable, you’ll receive an email at [email protected]. An example email is below.
ping.gg-down-email

That’s It

Issuing that curl command is all you need to do. You’ll receive an email after adding a site to monitor asking you to active the monitoring. There’s also a link in that email so you can stop or pause monitoring of a site if you wish.

Ping.gg allows 10 sites to be monitored per email address. Ping.gg considers your server/site to be down when it fails to answer 6 pings in a row.

Hoping that Victor builds this into a full fledged service with account dashboards and all, just because it’s sooo simple. The Terms of Service possibly indicate that a professional service may be available at some point:

As previously stated, this is not a professional service (not now at least) so by using this service you agree to the following:

  1. You use this service at your own risk.
  2. There is no warranty that the service will work properly or at all.
  3. Your alerts might be terminated without notice.
  4. The service can stop operating anytime without notice.

Go ahead and give Ping.gg a try, it’s been very reliable for me and I’ve had no issues with it. Keep the Terms of Service in mind, however.

Some Uptimes

uptimesI like to know how long each of my boxes have been up and running. I really don’t care so much about Windows PC’s, but I really like knowing how long my Linux boxes have been up. Notifications of uptimes are very nice, if a server goes down, I’ll get an email letting me know it’s no longer up and running.

Anyway, for the last year and a half or more I’ve been using The Uptime Project from MrEriksson. I don’t think the project is being developed or even maintained any longer, but it still works very well. All you need to do is get a username and password then download the client for your operating system.

But, I just wanted to point out that one uptime, for router.longren.org. It’s got an uptime of 155 days, almost half a year, by far the best uptime for any box I’ve personally owned. The neat thing about The Uptime Project is that it records reboots and total downtime.