Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am looking for a tool to check my internet connection (by pinging something and/or retrieving a web page) and when the connection is lost to execute some command (sending an e-mail, resetting my router, sending a SMS).

It would be nice if it also creates reports/graphs on how well the connection is doing but I am not interested in bandwidth monitoring.

I can make something myself using bash or perl but I was wondering if there are existing tools to do this. I could not find one.

share|improve this question
I hope that email you want to send will be internal. I don't like your chances of it reaching a remote destination if your Internet connection is down. – John Gardeniers May 12 '11 at 8:08
up vote 0 down vote accepted

I don't know of one tool to do it all, but ..

Smokeping will do some nice graphs. And you can setup nagios to do the connection monitoring and then setup an event handler to execute your command(s) on failure.

share|improve this answer
Smokeping looks good for the graphs but for the monitoring I just use some perl. That was quicker than installing and learning how to configure nagios. – rve May 14 '11 at 7:07

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.