Check Hsrp

Larry Low llow at telesphere.com
Tue Feb 5 20:41:30 CET 2008


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: llow at telesphere.com'

 

Telesphere Networks, Inc

 

From: Larry Low [mailto:llow at telesphere.com] 
Sent: Tuesday, February 05, 2008 12:40 PM
To: 'nagios-users at 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: llow at telesphere.com'

 

Telesphere Networks, Inc

 

From: nagios-users-bounces at lists.sourceforge.net
[mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of John
Duraisw
Sent: Tuesday, February 05, 2008 10:56 AM
To: nagios-users at 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.

[root at nmsweb ~]# ./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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20080205/b2b793bc/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
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/
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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


More information about the Users mailing list