Using '!' in check_* argument

Paul Weaver paul.weaver at bbc.co.uk
Fri Mar 6 19:54:39 CET 2009


> -----Original Message-----
> From: MAD [mailto:sri.lumpa at free.fr] 
> Sent: 06 March 2009 17:41
> To: Marc Powell; Nagios Users
> Subject: Re: [Nagios-users] Using '!' in check_* argument
> 
> I'm using Nagios 3.0.6 on a CentOS 5.2
> 
> I tryed escaping the (!) with  a (\) but it didn't work. I 
> forgot to tell (and I've just realized it is probably 
> important) I use NagiosQL to create the service. Is it 
> possible that NagiosQL didn't escape the (! ) but the (\) 
> when he writes the cfg file ?

Look at the actual config file generated. You may need to escape the \
-- so you'd enter "\\\!"

--
Paul Weaver	
Systems Development Engineer
News Production Facilities, BBC News
 

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
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