check_http issues...

Victor Lanza vicjalan at gmail.com
Mon Jun 9 20:48:22 CEST 2008


Hi all,

Sooo I upgraded from 3.0.1 to 3.0.2 in the hopes that the fix for the extra
$ would be fixed in it but it doesn't seem to be.

I've set up the commands with the escapes like so:

check_command           check_http_arg!admin:'123$45\!'
check_command           check_http_arg!admin:'123\$45\!'

and in both instances I get the following while debugging:

check_command           check_http_arg!admin:'123$45\!$'

-----Original Message-----
From: nagios-users-bounces at lists.sourceforge.net
[mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Marc Powell
Sent: Thursday, June 05, 2008 3:58 PM
To: nagios Mailinglist
Subject: Re: [Nagios-users] check_http issues...


On Jun 5, 2008, at 2:49 PM, Victor Lanza wrote:

> I'm using Nagios 3.0.1 with Plugins 1.4.11
>
> Ahhhhh..
>
> Well on another note if I were to use this password, where would I  
> need to
> put the escape character?
>
> The password is: 123$45!

If the debian supplied patch works as expected to handle the inclusion  
of the extra '$' then it should be as simple as changing your  
service{} check_command to be --

check_command           check_http_arg!admin:'123$45\!'

I expect the $ to be ok as-is since the shell will see that enclosed  
in single-quotes an won't treat it as a shell variable.

--
Marc

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
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


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
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