The recommended nagios plugin to use to monitor a router with a public ip

nagiosopenwrt

I have a Linksys WRT54GL router that is running openwrt. I have a primary internet connection and a secondary connection which works as a failover connection when our primary link goes down. Both connections have public ips.

I now want to monitor both connections using nagios such that I can be notified when either of them goes down. Im also using pnp4nagios for graphing which I also intend to find out outage stats of each connection.

Now my question is, what nagios plugin do you recommend to use to monitor these connections. Is there such a plugin ideal for such a scenario, and how do you go about it?

Best Answer

I would use the check_http script, strangely enough. Have it make an http request every N minutes to something that you are relatively sure will be up (google, facebook, yahoo). If you don't want it to complain when DNS is not working, use the remote server's IP instead of the DNS name.

Related Topic