Larry,<br>Thanks you very much. That's what was missing, and now I should be able to proceed.<br><br>[nagios@nmsweb ~]$ ./check_ifoperstatus.0.7.pl -H <a href="http://10.31.1.106">10.31.1.106</a> -C public -k 175 -t hsrpgrp --hsrpgrp 85<br>
OK - Interface 'Vl85' HSRP Group 85 status is 'standby' (index 175)<br> <br>Thanks,<br>-john<br><br><div class="gmail_quote">On Feb 5, 2008 2:39 PM, Larry Low <<a href="mailto:llow@telesphere.com">llow@telesphere.com</a>> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">








<div link="blue" vlink="purple" lang="EN-US">

<div>

<p><span style="font-size: 11pt;">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.</span></p>

<p><span style="font-size: 11pt;"> </span></p>

<p><span style="font-size: 11pt;">----</span></p>

<p><span style="font-size: 11pt;">Larry Low</span></p>

<p><span style="font-size: 11pt;">4150 N Drinkwater Blvd., 5th
Floor</span></p>

<p><span style="font-size: 11pt;">Scottsdale, AZ  85251</span></p>

<p><span style="font-size: 11pt;">Office: 480.385.7045</span></p>

<p><span style="font-size: 11pt;">E-mail: <a href="mailto:llow@telesphere.com" target="_blank">llow@telesphere.com</a>'</span></p>

<p><span style="font-size: 11pt;"> </span></p>

<p><span style="font-size: 11pt;">Telesphere Networks, Inc</span></p>

<p><span style="font-size: 11pt;"> </span></p>

<div style="border-style: none none none solid; border-color: -moz-use-text-color -moz-use-text-color -moz-use-text-color blue; border-width: medium medium medium 1.5pt; padding: 0in 0in 0in 4pt;">

<div>

<div style="border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; border-width: 1pt medium medium; padding: 3pt 0in 0in;">

<p><b><span style="font-size: 10pt;">From:</span></b><span style="font-size: 10pt;">
<a href="mailto:nagios-users-bounces@lists.sourceforge.net" target="_blank">nagios-users-bounces@lists.sourceforge.net</a>
[mailto:<a href="mailto:nagios-users-bounces@lists.sourceforge.net" target="_blank">nagios-users-bounces@lists.sourceforge.net</a>] <b>On Behalf Of </b>John
Duraisw<br>
<b>Sent:</b> Tuesday, February 05, 2008 10:56 AM<br>
<b>To:</b> <a href="mailto:nagios-users@lists.sourceforge.net" target="_blank">nagios-users@lists.sourceforge.net</a><br>
<b>Subject:</b> [Nagios-users] Check Hsrp</span></p>

</div>

</div><div><div></div><div class="Wj3C7c">

<p> </p>

<p style="margin-bottom: 12pt;">Hello All,<br>
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.<br>
<br>
[root@nmsweb ~]# ./check_ifoperstatus.0.7.pl -H <a href="http://10.31.1.8" target="_blank">10.31.1.8</a>
-C ubetcha --hsrpgrp
10                               
Usage:<br>
  check_ifoperstatus.pl -H <HOSTNAME> [-C <community>] -k
<ifIndex><br>
  check_ifoperstatus.pl [-h | --help]<br>
  check_ifoperstatus.pl [-V | --version]<br>
<br>
Thanks for your help,<br>
<br>
-john<br>
<br>
</p>

</div></div></div>

</div>

</div>


<br>-------------------------------------------------------------------------<br>This SF.net email is sponsored by: Microsoft<br>Defy all challenges. Microsoft(R) Visual Studio 2008.<br><a href="http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/" target="_blank">http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/</a><br>
_______________________________________________<br>Nagios-users mailing list<br><a href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a><br><a href="https://lists.sourceforge.net/lists/listinfo/nagios-users" target="_blank">https://lists.sourceforge.net/lists/listinfo/nagios-users</a><br>
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.<br>::: Messages without supporting info will risk being sent to /dev/null<br></blockquote></div><br>