Using $ in password

Jason Little jlittle at mintcommerce.com
Tue Dec 12 21:09:44 CET 2006


He defined a new command in checkcommands.cfg.

# 'check_httpp' command definition
define command{
        command_name    check_httpp
        command_line    $USER1$/check_http -p $ARG1$ -I $ARG2$ -t 120 -a
$ARG3$
        }

The original check_http command in the file has only basic options enabled.



-----Original Message-----
From: nagios-users-bounces at lists.sourceforge.net
[mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Andy
Shellam (Mailing Lists)
Sent: Tuesday, December 12, 2006 3:03 PM
To: Nagios Users mailinglist
Subject: Re: [Nagios-users] Using $ in password

Also have you noticed the typo?  Or is check_httpp a proper plugin on your
system?

check_command check_httpp!61002!192.168.1.4!:'33$$77'

as opposed to

check_command check_http!61002!192.168.1.4!:'33$$77'



Andrew Cruse wrote:
> Kareem Mahgoub wrote:
>   
>> Thanks for all who replied to me, but unfortunately the three 
>> solutions didn't work. Kindly if anyone has other ideas, post it.
>> Regards
>> ----- Original Message -----
>> From: <Jason.Shein at iovate.com>
>> To: <nagios-users at lists.sourceforge.net>
>> Sent: Tuesday, December 12, 2006 9:28 PM
>> Subject: Re: [Nagios-users] Using $ in password
>>
>>
>>     
>>> Normally, doubling the $ sign and eclosing the statement in single 
>>> quotes works fine.
>>>
>>>         check_command check_httpp!61002!192.168.1.4!:'33$$77'
>>>
>>>       
>
> Not to be facetious, but...change the password? :-)
>
> Andrew
>
>
> ----------------------------------------------------------------------
> --- Take Surveys. Earn Cash. Influence the Future of IT Join 
> SourceForge.net's Techsay panel and you'll get the chance to share 
> your opinions on IT & business topics through brief surveys - and earn 
> cash 
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEV
> DEV _______________________________________________
> 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
>
> !DSPAM:37,457f087b30868171099482!
>
>
>   


--
Andy Shellam
NetServe Support Team

the Mail Network
"an alternative in a standardised world"

p: +44 (0) 121 288 0832/0839
m: +44 (0) 7818 000834


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's
Techsay panel and you'll get the chance to share your opinions on IT &
business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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