How to check Internet access and/or DNS?

Steve Shipway s.shipway at auckland.ac.nz
Wed Jan 25 04:34:34 CET 2006


So many different ways to do this.  We do it thusly.

1) Set up a host for your border router.
2) Within this, sefine a number of http check services that try to collect
web pages from popular internet sites ( google, microsoft, ibm...).  Disable
notifications on them.
3) Use check_summary (from nagiosexchange.org) to define a service which is
OK if any of the http check services are OK, and critical if they are all
down.

Now, the check_summary service will go critical if and only if *all* the
http checks are failing, which would indicate a loss of Internet
connectivity somewhere beyond your border router.  You can even add a final
check to ping a known IP address on the internet to this in case your
external DNS fails.

Steve




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list