On Fri, Mar 24, 2006 at 04:06:56PM -0600, Terry L. Inzauro wrote:
> multiple search strings.  the documentation inside the script states that 
> any perl regex can be  used to the "-p" argument....but warned to be very 
> careful....i'm gussing careful to not kill yourself in the process ;)
> 
> 
> my question to the list is: how do you quote the command so it can be run 
> by the check_by_ssh_plugin?
> "crit|warn|info|auth"'
I once had to do this, except using NRPE which forbids those
characters. I had eventually had to hack in a Base64 decoder in
the plugin and put the encoded string in the Nagios config.
Ugly.

-Jason Martin
-- 
Shell to DOS...come in, DOS...do you read...over?
This message is PGP/MIME signed.

Attachment: pgpTJYHPyztjn.pgp
Description: PGP signature

Reply via email to