[Nagios-users] $OUTPUT$ as shell script parameter

nagios at mm.quex.org nagios at mm.quex.org
Wed Sep 15 02:52:16 CEST 2004


On Tue, Sep 14, 2004 at 12:10:55PM -0700, Jason Martin wrote:

> Try surrounding the output macro with single quotes, ex
> '$OUTPUT$'. The shell won't evaluate special characters inside
> the single-quotes.

Has there be any thought toward making the macro values available
via environment variables?  This would be good for commands that want
to be "intelligent" and have access to all the available information
(for which writing the commands out and parsing all the arguments is a
bit tedious), and also solves the problem of having to strip certain
characters from command output and user comments for fear of
inadvertently executing them.


-------------------------------------------------------
This SF.Net email is sponsored by: thawte's Crypto Challenge Vl
Crack the code and win a Sony DCRHC40 MiniDV Digital Handycam
Camcorder. More prizes in the weekly Lunch Hour Challenge.
Sign up NOW http://ad.doubleclick.net/clk;10740251;10262165;m




More information about the Users mailing list