Arno Lehmann wrote:
Hello,

On 3/24/2006 8:08 PM, Terry L. Inzauro wrote:
Arno Lehmann wrote:
...
indeed i did.  sometime you can't see the trees through the forest ;)
...
sorry for the rookie mistake.

Been there, done that. Most of us here, I guess...

Arno


so battle #2. i am trying to figure out how to make check_log2.pl have 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?

/usr/nagios/libexec/check_by_ssh -H testcase -C '/opt/nagios/libexec/check_log2.pl -l 
/var/log/messages -s /tmp/seekfile -p "crit|warn|info|auth"'
Could not open pipe: /usr/bin/ssh testcase '/opt/nagios/libexec/check_log2.pl -l 
/var/log/messages -s /tmp/seekfile -p "crit|warn|info|auth"'
[EMAIL PROTECTED] ~ $





-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Nagios-users mailing list
Nagios-users@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

Reply via email to