How to disable host checking
Wilcox, Chris
wilcoxc at troycorp.com
Thu Aug 29 17:47:32 CEST 2002
Just remove the entire check_command line from each host in the hosts.cfg
file
Reload and away you go.
Chris.
-----Original Message-----
From: Mark Miller [mailto:mmiller at resortquest.com]
Sent: Thursday, August 29, 2002 11:29 AM
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] How to disable host checking
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
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20020829/4d5e1bb1/attachment.html>
More information about the Users
mailing list