Blank check_command in host stanza causes error

Jason Martin jhmartin at toger.us
Wed Oct 19 01:28:15 CEST 2005


On Tue, Oct 18, 2005 at 04:21:30PM -0700, prosolutions at gmx.net wrote:
> I have an IP address that I want to just ping monitor.  It seems 
> redundant to have it defined as both a "host" and a "service".  According to
> http://nagios.sourceforge.net/docs/2_0/xodtemplate.html under
> "check_command" in the hosts section "If you leave this argument blank,
> the host will not be checked - Nagios will always assume the host is
> up."  However, when I do leave it blank, I get an error "Error: Could
> not add object property in file"
What if you leave the line out entirely? That or define a dummy
checkcommand that always returns true.

-Jason Martin
-- 
This message is PGP/MIME signed.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 211 bytes
Desc: not available
URL: <https://www.monitoring-lists.org/archive/users/attachments/20051018/3f9faeb8/attachment.sig>


More information about the Users mailing list