Unable to define empty check_command

Dmitry Sivachenko mitya at cavia.pp.ru
Sun Jan 8 17:38:35 CET 2006


On Sun, Jan 08, 2006 at 01:24:03PM +0100, Andreas Ericsson wrote:
> Dmitry Sivachenko wrote:
> >
> >I am unable to entirely leave check_command parameter in the case when
> >I derive this host definition from another which did use check_command.
> >
> 
> Create another template, identical in all aspects except for the lack of 
> a check_command and use that for the hosts that shouldn't have one.
> 
> >I want to be able to redefine check_command to empty value.
> >
> 
> You can not.
> 

I see. But you suggest an ugly workaround.

The ability to redefine check_command to an empty value permits to create
much more elegant config files for nagios.

BTW, it is documented.


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click




More information about the Developers mailing list