[Nagiosplug-help] check_by_ssh question

Olivier 'Babar' Raginel nagios at babar.us
Sat Jun 23 11:11:34 CEST 2007


On Fri, Jun 22, 2007 at 03:13:32PM -0700, Robert Cole wrote:
> Found my problem with the missing $ on the in of $ARG3$ but now it seems 
> to match on just the word "No"
> 
> Here is a current config:
> check_ssh_log!/var/log/youmail/login.log!/home/nagios/$HOSTADDRESS$.var.log.login.server.seek!"No 
> ManagedConnections available within configured blocking timeout"

Either remove the "" here, I think they're useless if not harmful.

>        command_line    $USER1$/check_by_ssh -H $HOSTADDRESS$ -i 
> /home/nagios/.ssh/id_dsa -C "$USER9$/check_log -F $ARG1$ -O $ARG2$ -q 
> \$ARG3$\"
> Any ideas? And thank you so much for your help!

Or as said in my previous email, use '':

-O $ARG2$ -q '$ARG3$'
Maybe even both :)

Godd luck,

-- 
Babar




More information about the Help mailing list