On Feb 18, 2010, at 5:04 AM, Paul WILLIS PSE 55499 wrote:

> Clearly that whereas bash only needs $ and ` escaping within inverted commas 
> nagios must have a larger list, including I would guess either the ; or the :

Nope, not really. \, ! and $ are the only characters that may need escaping, 
depending on where they are used. With the exception of $MACRO$ substitutions, 
nagios just takes your raw command_line and passes it to the shell for 
execution. You never posted your command definition but I'd guess that you 
didn't have proper quoting or something like that.

--
Marc
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs 
proactively, and fine-tune applications for parallel performance. 
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Nagios-users mailing list
[email protected]
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

Reply via email to