Blank check_command in host stanza causes error

Marc Powell marc at ena.com
Wed Oct 19 06:39:10 CEST 2005



> -----Original Message-----
> From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-
> admin at lists.sourceforge.net] On Behalf Of prosolutions at gmx.net
> Sent: Tuesday, October 18, 2005 6:22 PM
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] Blank check_command in host stanza causes
error
> 
> 
> 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"

The wording is confusing. Remove the line entirely; don't specify
'check_command' at all.

--
Marc


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
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