Passing arguments to host check commands

chris at kive.net chris at kive.net
Thu May 8 17:59:23 CEST 2003


Patrick,

Make sure you add an entry for check_host_cluster into your
checkcommands.cfg file. Your '2' would become $ARG1$, your '4' would
become $ARG2$, and your '/usr/local/nagios/etc/hostcluster.cfg' would
become $ARG3$.

I'm guessing that is where your problem lies - hope it helps!

-Chris


>I'm reading the docs on clusters and it seems to suggest that you can
>pass arguments to host check commands:
>
>> check_host_cluster!2!4!/usr/local/nagios/etc/hostcluster.cfg
>
>But when I try this I get errors from the pre-flight check stating that
>the command is not found.
>
>I checked the source and effecetively there is no argument parsing
>occuring for host commands (base/config.c:1477 vs base/config.c:1308)
>
>Is there a patch for this or something?
>
>Thanks,
>
>---------------------
>Patrick LeBoutillier
>Laval, Quebec, Canada




-------------------------------------------------------
Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara
The only event dedicated to issues related to Linux enterprise solutions
www.enterpriselinuxforum.com

_______________________________________________
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