I do the following for HSRP:
define command{
command_name check-hsrp
command_line $USER1$/check_snmp -H $HOSTADDRESS$ -P 2c -C
$ARG1$ -o SNMPv2-SMI::enterprises.9.9.106.1.2.1.1.13.$ARG2$ -s
'IpAddress: $ARG3$'
}
$ARG1$ is community
$ARG2$ is the appropriate OID suffix for the interface
$ARG3$ is normally active IP
I have not used check_ifoperstatus before, though it looks interesting.
________________________________
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of John
Duraisw
Sent: 05 February 2008 18:56
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] Check Hsrp
Hello All,
I am trying to check hsrp on 6509 with the following, and I am running
into problems. Please let me know what I am doing wrong here.
[EMAIL PROTECTED] ~]# ./check_ifoperstatus.0.7.pl -H 10.31.1.8 -C ubetcha
--hsrpgrp 10 Usage:
check_ifoperstatus.pl -H <HOSTNAME> [-C <community>] -k <ifIndex>
check_ifoperstatus.pl [-h | --help]
check_ifoperstatus.pl [-V | --version]
Thanks for your help,
-john
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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