Plugin works interactively but not in Nagios
Patrick LeBoutillier
patrick_leboutillier at hotmail.com
Mon May 12 18:53:25 CEST 2003
Jeff,
Create your own plugin, just shell script that does something like:
echo $* >> /tmp/toto
/usr/local/nagios/libexec/check_http $*
and place it instead of check_http (either on the file system or in the
command config file.).
Then you will be able to see what args are passed and what's going on.
Patrick
---------------------
Patrick LeBoutillier
Laval, Quebec, Canada
----- Original Message -----
From: "Jeff Mercer" <mercer at btitelecom.net>
To: "Tom DE BLENDE" <Tom.DeBlende at dhl.com>
Cc: <nagios-users at lists.sourceforge.net>
Sent: Monday, May 12, 2003 12:07 PM
Subject: Re: [Nagios-users] Plugin works interactively but not in Nagios
> On Mon, 12 May 2003, Tom DE BLENDE wrote:
> >Try this instead:
> >
> >$USER1$/check_http -S -I $HOSTADDRESS$ -p $ARG1$ -a "$ARG2$"
> >
> >check_https!6666!user:pass
>
> Hmmm, worth a try.
>
> But no luck, I get the same error. :(
>
>
___________-------------============================-------------___________
> / Jeff Mercer <mercer at btitelecom.net>
\
> | Systems Administrator - BTInet
|
>
>
>
> -------------------------------------------------------
> 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