You need to use -t hsrp as well. Note it will return ok on standby and
active and only critical on other states. I did this on purpose as it was
to be used in conjunction with trap processing.
----
Larry Low
4150 N Drinkwater Blvd., 5th Floor
Scottsdale, AZ 85251
Office: 480.385.7045
E-mail: [EMAIL PROTECTED]'
Telesphere Networks, Inc
From: Larry Low [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 05, 2008 12:40 PM
To: 'nagios-users@lists.sourceforge.net'
Subject: RE: [Nagios-users] Check Hsrp
You need to specify an interface by the ifIndex. HSRP groups are per
interface. I haven't tested the HSRP portion of the code very extensively
so let me know if you run into any more problems.
----
Larry Low
4150 N Drinkwater Blvd., 5th Floor
Scottsdale, AZ 85251
Office: 480.385.7045
E-mail: [EMAIL PROTECTED]'
Telesphere Networks, Inc
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of John
Duraisw
Sent: Tuesday, February 05, 2008 10:56 AM
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