Line-Monitoring with check_snmp on Ciscos ....
Jan-Hendrik Palic
jhp at addix.net
Mon Jan 6 09:55:06 CET 2003
On Thu, Jan 02, 2003 at 01:46:23PM +0000, Luis Duarte wrote:
>
>Nagios reports OK because the plugin returns OK!
>What you need to do is something like this:
>
>command_line $USER1$/check_snmp -H $HOSTADDRESS$ -o $ARG1$ -C $ARG2$ -r
>up
>
>the '-r up' is the key, it will return OK if it will find the string "up"
>in the response and CRITICAL otherwise.
>check all options with 'check_snmp -h'.
ah .. yes .. I overseen this .. thnx .... :)))
Regards
Jan
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
More information about the Users
mailing list