Escaping Exclamation Points

Marc Powell marc at ena.com
Fri Jun 27 14:24:55 CEST 2008


On Jun 27, 2008, at 6:42 AM, Christopher Falk wrote:

> Problem resolved.
>
> What I just ended up doing is creating a new command,  
> check_act_scheduler identical to the check_nt_service command  
> definition, and hard-coding 'Act! Scheduler' instead of $ARG1$. That  
> took care of it.

New feature in 3.x --

http://nagios.sourceforge.net/docs/3_0/whatsnew.html

Escaped command arguments - You can now pass bang (!) characters in  
your command arguments by escaping them with a backslash (\). If you  
need to include backslashes in your command arguments, they should  
also be escaped with a backslash.

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





More information about the Users mailing list