Passing arguments to host check commands

Jason Lancaster jlancaster at affinity.com
Thu May 8 18:41:24 CEST 2003


This was a major limitation in my environment as well. It can be fixed by
creating a specific check command for your host in your checkcommands.cfg
but that is about all you can do. If anyone has a fix to this I'd also be
very interested.

-Jason
----- Original Message ----- 
From: "Patrick LeBoutillier" <patrick_leboutillier at hotmail.com>
To: <nagios-users at lists.sourceforge.net>
Sent: Thursday, May 08, 2003 10:45
Subject: [Nagios-users] Passing arguments to host check commands


> 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
>



-------------------------------------------------------
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