|
|||||||||||
|
Re: [Nagiosplug-help] check_by_ssh question
From: Olivier 'Babar' Raginel <nagios(at)babar.us>
Date: Tue Jun 26 2007 - 07:41:10 EDT
No you didn't.
You put the simple quotes around the parameter, the -q. I said the -C. So do something like: check_ssh_log!/var/log/youmail/login.log!/home/nagios/$HOSTADDRESS$.var.log.login.server.seek!"No ManagedConnections available within configured blocking timeout"
/home/nagios/.ssh/id_dsa -C '$USER9$/check_log -F $ARG1$ -O $ARG2$ -q
$ARG3$'
Or in fact:
/home/nagios/.ssh/id_dsa -C '$USER9$/check_log -F $ARG1$ -O $ARG2$ -q "$ARG3$"' Should do the trick. Cheers, -- Babar. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagiosplug-help mailing list Nagiosplug-help@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagiosplug-help ::: Please include plugins version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/nullReceived on Tue Jun 26 07:42:02 2007 This archive was generated by hypermail 2.1.8 : Tue Jun 26 2007 - 07:50:03 EDT |
||||||||||
|
|||||||||||