How to disable host checking

Mark Miller mmiller at resortquest.com
Thu Aug 29 17:29:29 CEST 2002


I am using Nagios 1.0b5.  I monitor several hosts that are behind firewalls
and therefore are un-pingable.  Because of this Nagios reports that the
hosts are down.  In Netsaint configs you could simply not include the
check_host_alive directive to skip ping check.  According to the docs for
Nagios, when using the new template based config for the hosts.cfg file I
should be able to leave the check_command field blank to skip any host
checking.  This fails when starting the Nagios configuration check with the
following error:

Reading configuration data...

Error: NULL variable value in object definition.
Error: Could not add object property in file
'/usr/local/nagios/etc/hosts.cfg' on line 30.

Not including the field at all results in Nagios never flagging the
connection as good which leaves the hosts perpetually grey (unchecked).
What's the best workaround for this with Nagios?  I'd like the hosts to show
up as good (green).  :)

Thanks,
Mark



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf




More information about the Users mailing list