Sorry confusing nagios and mimedefang. D'oh -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jason Little Sent: Tuesday, December 12, 2006 3:02 PM To: nagios-users@lists.sourceforge.net; [EMAIL PROTECTED] Subject: Re: [Nagios-users] Using $ in password
Wouldn't a delimiter work just fine this is just a big perl script passing an argument to a smaller perl script right? check_command check_httpp!61002!192.168.1.4!:33\$77 -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kareem Mahgoub Sent: Tuesday, December 12, 2006 2:50 PM To: nagios-users@lists.sourceforge.net; [EMAIL PROTECTED] Subject: Re: [Nagios-users] Using $ in password 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: <[EMAIL PROTECTED]> To: <nagios-users@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' > > ____________________________________________________________________________ ___ > > Jason Shein > Network Administrator - Linux Systems > Iovate Health Sciences Inc. > 5100 Spectrum Way > Mississauga, ON L4W 5S2 > ( 905 ) - 678 - 3119 x 3136 > 1 - 888 - 334 - 4448, x 3136 (toll-free) > [EMAIL PROTECTED] > > Customer Service. Collaboration. Innovation. Efficiency. > Iovate's Information Technology Team > > ____________________________________________________________________________ ___ > > CONFIDENTIALITY NOTICE: > THIS ELECTRONIC MAIL TRANSMISSION IS PRIVILEGED AND CONFIDENTIAL AND > IS INTENDED ONLY FOR THE REVIEW OF THE PARTY TO WHOM IT IS ADDRESSED. > THE INFORMATION CONTAINED IN THIS E-MAIL IS CONFIDENTIAL AND IS > DISCLOSED TO YOU UNDER THE EXPRESS UNDERSTANDING THAT YOU WILL NOT > DISCLOSE IT OR ITS CONTENTS TO ANY THIRD PARTY WITHOUT THE EXPRESS > WRITTEN CONSENT OF AN AUTHORIZED OFFICER OF IOVATE HEALTH SCIENCES > SERVICES INC. IF YOU HAVE RECEIVED THIS TRANSMISSION IN ERROR, PLEASE > IMMEDIATELY RETURN IT TO THE SENDER. > ____________________________________________________________________________ ___ > > > > "Kareem Mahgoub" <[EMAIL PROTECTED]> > Sent by: [EMAIL PROTECTED] > 12/12/2006 02:10 PM > > To > <nagios-users@lists.sourceforge.net> > cc > > Subject > [Nagios-users] Using $ in password > > > > > > > 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=DEV > DEV _______________________________________________ > Nagios-users mailing list > Nagios-users@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=DEV > DEV _______________________________________________ > Nagios-users mailing list > Nagios-users@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@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@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@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