Re: [Nagios-users] Check Hsrp

2008-02-06 Thread John Duraisw
Larry,
Thanks you very much. That's what was missing, and now I should be able to
proceed.

[EMAIL PROTECTED] ~]$ ./check_ifoperstatus.0.7.pl -H 10.31.1.106 -C public -k
175 -t hsrpgrp --hsrpgrp 85
OK - Interface 'Vl85' HSRP Group 85 status is 'standby' (index 175)

Thanks,
-john

On Feb 5, 2008 2:39 PM, Larry Low <[EMAIL PROTECTED]> wrote:

>  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 10Usage:
>   check_ifoperstatus.pl -H  [-C ] -k 
>   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/vse012070mrt/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
>
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/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

Re: [Nagios-users] Check Hsrp

2008-02-06 Thread Giles Coochey
I do the following for HSRP:

 

define command{

command_namecheck-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 10Usage:
  check_ifoperstatus.pl -H  [-C ] -k 
  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/vse012070mrt/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

Re: [Nagios-users] Check Hsrp {Disarmed} {Fraud?}

2008-02-05 Thread Marc Powell


> -Original Message-
> From: [EMAIL PROTECTED] [mailto:nagios-users-
> [EMAIL PROTECTED] On Behalf Of John Duraisw
> Sent: Tuesday, February 05, 2008 11:56 AM
> To: nagios-users@lists.sourceforge.net
> Subject: [Nagios-users] Check Hsrp {Disarmed} {Fraud?}
> 
> 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 10Usage:
>   check_ifoperstatus.pl -H  [-C ] -k 
>   check_ifoperstatus.pl [-h | --help]
>   check_ifoperstatus.pl [-V | --version]

I've tried googling for the plugin (check_ifoperstatus.0.7.pl) to guess
where you got it but there's only one result returned --

Gmane -- Mail To News And Back Again
check_ifoperstatus.0.7.pl -H 10.31.1.8 -C ubetcha --hsrpgrp 10 Usage:
check_ifoperstatus.pl -H  [-C ] -k  ...
article.gmane.org/gmane.network.nagios.user/52314 - 2 hours ago -
Similar pages - Note this

You should always say where you obtained non-standard plugins to be sure
that you're getting help with the plugin you're using. If it's this
plugin
(http://www.nagiosexchange.org/Networking.53.0.html?&tx_netnagext_pi1[p_
view]=1099), it looks like you might need to add a '-t hsrpgrp' based on
the --help.

--
Marc

p.s. You shouldn't test your plugins as root but rather as the nagios
user. Most plugin problems are related to user permissions. You wouldn't
see that testing as root.

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/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


Re: [Nagios-users] Check Hsrp

2008-02-05 Thread Larry Low
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 10Usage:
  check_ifoperstatus.pl -H  [-C ] -k 
  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/vse012070mrt/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

Re: [Nagios-users] Check Hsrp

2008-02-05 Thread Larry Low
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 10Usage:
  check_ifoperstatus.pl -H  [-C ] -k 
  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/vse012070mrt/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

[Nagios-users] Check Hsrp

2008-02-05 Thread John Duraisw
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 10Usage:
  check_ifoperstatus.pl -H  [-C ] -k 
  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/vse012070mrt/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