check_log2.pl perl module

Jason Martin jhmartin at toger.us
Fri Mar 24 23:10:47 CET 2006


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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 213 bytes
Desc: not available
URL: <https://www.monitoring-lists.org/archive/users/attachments/20060324/3d0d2f08/attachment.sig>


More information about the Users mailing list