Linux – internet connection monitor

connectionlinuxnetwork-monitoring

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.

Best Answer

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.

Related Topic