How to disable check-host-alive

Daniel Bareiro daniel-listas at gmx.net
Sat Dec 1 22:21:44 CET 2007


Hi all!

I read the following from the Nagios manual:

check_command: [...] If you leave this argument blank, the host will
not be checked - Nagios will always assume the host is up. This is
useful if you are monitoring printers or other devices that are
frequently turned off.

I want to use it for my Nagios server (Nagios 3). In addition to
check-host alive is no sense in the Nagios server, my check-host-alive
command checks the NRPE daemon is listening. But leaving empty
check_command in the host definition to generate an error for me.

Error: Host check command '(null)' specified for host 'sparky' is not
defined anywhere!

I'm missing something from the documentation?

Thanks in advance.

Regards,
Daniel
-- 
Daniel Bareiro - System Administrator
Fingerprint: BFB3 08D6 B4D1 31B2 72B9  29CE 6696 BF1B 14E6 1D37
Powered by Debian GNU/Linux Etch - Linux user #188.598
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <https://www.monitoring-lists.org/archive/users/attachments/20071201/bb54a295/attachment.sig>
-------------- next part --------------
-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
-------------- next part --------------
_______________________________________________
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