Check Hsrp

Giles Coochey gcoochey at sapphire.gi
Wed Feb 6 09:42:53 CET 2008


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: nagios-users-bounces at lists.sourceforge.net
[mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of John
Duraisw
Sent: 05 February 2008 18:56
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/20080206/5444449c/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