Using $ in password

Kareem Mahgoub kmahgoub at gmail.com
Tue Dec 12 20:10:49 CET 2006


Dear All,

I have a simple question. What should I do to include the character $ as one
of the password characters in the check command?

Here are some required information:

1- OS FC 5

2- kernel 2.6.18-1

3- Nagios version 2.5

4- The command definition

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

define service{
        use                             generic-service
        host_name                       XXXX
        service_description             YYY
        contact_groups                  ZZZ
        check_command                   check_httpp!61002!192.168.1.4!:33$77
        }
When I execute the command manually it works.

Any help will be much appreciated

Regards


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