Re: [Nagios-users] Monitoring temperatures on Cisco equipment

2011-01-27 Thread C. Bensend

> I think you misunderstand.  Those two plugins return WARNING or CRITICAL
> if
> one of the two things occur:
>
> 1) If the ciscoEnvMonTemperatureState is not "normal".
> 2) If the passed -w and -c values are less
> than ciscoEnvMonTemperatureStatusValue.
>
> What I'm asking is why #2 is _required_.  I can understand it as an
> optional
> check if you want to override the device's defaults, but not as mandatory
> behavior.  Cisco devices are smart and know when they're warm or hot.
>  That's the purpose of the ciscoEnvMonTemperatureState.  I'm just trying
> to
> find out why folks feel that overriding Cisco's defaults is necessary
> behavior.

While I don't have any insider knowledge into *why* it is the way
it is, I'll take a guess - most third-party plugins come into
existence because they satisfied someone's specific needs.  Perhaps
the original author needed to further narrow the range of good-vs-bad,
who knows?

I'd say modify it to your needs.  :)

Benny  (yes, *that* Benny, hi Jeffrey)


-- 
"Hairy ape nads."-- Colleen, playing Neverwinter Nights



--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
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] Monitoring temperatures on Cisco equipment

2011-01-27 Thread Jeffrey Watts
Thanks Gerald, that's exactly what I was looking for!

Jeffrey.

On Thu, Jan 27, 2011 at 3:51 AM, Ortner, Gerald wrote:

>  Hi,
>
>
>
> We use 
> check_cisco_envmonto
>  monitor our Cisco equipment. It’s using the  ciscoEnvMonState value
> only.
>
> I don’t know if the thresholds are available through snmp,  but you can
> view them by entering  “show environment alarm thresholds” on the device.
>
>
>
> gerald
>
>
>
--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d___
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] Monitoring temperatures on Cisco equipment

2011-01-27 Thread Jeffrey Watts
I think you misunderstand.  Those two plugins return WARNING or CRITICAL if
one of the two things occur:

1) If the ciscoEnvMonTemperatureState is not "normal".
2) If the passed -w and -c values are less
than ciscoEnvMonTemperatureStatusValue.

What I'm asking is why #2 is _required_.  I can understand it as an optional
check if you want to override the device's defaults, but not as mandatory
behavior.  Cisco devices are smart and know when they're warm or hot.
 That's the purpose of the ciscoEnvMonTemperatureState.  I'm just trying to
find out why folks feel that overriding Cisco's defaults is necessary
behavior.

Thanks,
Jeffrey.

On Thu, Jan 27, 2011 at 3:05 AM,  wrote:

>
> I maybe misunderstanding you here but isn’t the whole point of running
> Nagios checks to return Normal, Warning or Critical, so you can alert
> agents them?
> What would be the point in just returning the value and doing nothing with
> it?
>
> Regards,
> Rithcie
>
>
--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d___
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] Monitoring temperatures on Cisco equipment

2011-01-27 Thread Ortner, Gerald
Hi,

We use 
check_cisco_envmon<https://www.monitoringexchange.org/inventory/Check-Plugins/Network/Cisco/check_cisco_envmon>
 to monitor our Cisco equipment. It's using the  ciscoEnvMonState value 
only.
I don't know if the thresholds are available through snmp,  but you can view 
them by entering  "show environment alarm thresholds" on the device.

gerald



Von: Jeffrey Watts [mailto:jeffrey.w.wa...@gmail.com]
Gesendet: Mittwoch, 26. Jänner 2011 21:47
An: Nagios Users List
Betreff: [Nagios-users] Monitoring temperatures on Cisco equipment

I'm looking to monitor temperature on some various Cisco equipment (2821, 3750, 
4948, 6509, etc).  I've looked at the 
check_catalyst_temp.pl<http://check_catalyst_temp.pl> and check_env_stats.py 
plugins, which both look in .1.3.6.1.4.1.9.9.13.1.  I see and understand the 
basic mechanisms of these checks.

What I don't understand is why both require warning and critical thresholds.  
From what I can tell, both walk ciscoEnvMonTemperatureStatusDescr, check 
ciscoEnvMonTemperatureState (and alert accordingly) AND also check 
ciscoEnvMonTemperatureStatusValue to see if it's out of the warning and 
critical thresholds specified on the command line.  I understand why one would 
want to be able to set custom thresholds (that would override "normal" and 
"warning" states).  What I don't understand is why are they required?  Is there 
a reason, or is it just an oversight?  I don't have much experience monitoring 
network equipment, so I'm wondering if there's a reason for it.

On that same note, does anyone know where those thresholds are stored?  I see 
in the same OID that there is ciscoEnvMonTemperatureThreshold, but that's an 
absolute upper bound before a forced shutdown occurs.  I'm assuming that the 
thresholds for "warning" and "critical" ciscoEnvMonTemperatureState must be 
stored somewhere else.  Does anyone know where that is?

Unless there's a good reason for requiring -w and -c, I'll probably change one 
of the plugins to not require them.

Thanks in advance,
Jeffrey.


OOe. Gesundheits- und Spitals-AG
Techcenter, Hafenstrasse 47-51, 4020 Linz DVR 2107870, ATU 51928204, 
Firmenbuchgericht: Landesgericht Linz, FN 210146 p
--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d___
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] Monitoring temperatures on Cisco equipment

2011-01-27 Thread mail
On Wed, Jan 26, 2011 at 8:47 PM, Jeffrey Watts
 wrote:
> I'm looking to monitor temperature on some various Cisco equipment (2821,
> 3750, 4948, 6509, etc).  I've looked at the check_catalyst_temp.pl and
> check_env_stats.py plugins, which both look in .1.3.6.1.4.1.9.9.13.1.  I see
> and understand the basic mechanisms of these checks.
> What I don't understand is why both require warning and critical thresholds.
>  From what I can tell, both walk ciscoEnvMonTemperatureStatusDescr,
> check ciscoEnvMonTemperatureState (and alert accordingly) AND also
> check ciscoEnvMonTemperatureStatusValue to see if it's out of the warning
> and critical thresholds specified on the command line.  I understand why one
> would want to be able to set custom thresholds (that would override "normal"
> and "warning" states).  What I don't understand is why are they required?
>  Is there a reason, or is it just an oversight?  I don't have much
> experience monitoring network equipment, so I'm wondering if there's a
> reason for it.
> On that same note, does anyone know where those thresholds are stored?  I
> see in the same OID that there is ciscoEnvMonTemperatureThreshold, but
> that's an absolute upper bound before a forced shutdown occurs.  I'm
> assuming that the thresholds for "warning" and
> "critical" ciscoEnvMonTemperatureState must be stored somewhere else.  Does
> anyone know where that is?
> Unless there's a good reason for requiring -w and -c, I'll probably change
> one of the plugins to not require them.
> Thanks in advance,
> Jeffrey.


I maybe misunderstanding you here but isn’t the whole point of running
Nagios checks to return Normal, Warning or Critical, so you can alert
agents them?
What would be the point in just returning the value and doing nothing with it?

Regards,
Rithcie



> --
> Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
> Finally, a world-class log management solution at an even better price-free!
> Download using promo code Free_Logger_4_Dev2Dev. Offer expires
> February 28th, so secure your free ArcSight Logger TODAY!
> http://p.sf.net/sfu/arcsight-sfd2d
> ___
> 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
>

--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
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] Monitoring temperatures on Cisco equipment

2011-01-26 Thread Jeffrey Watts
I'm looking to monitor temperature on some various Cisco equipment (2821,
3750, 4948, 6509, etc).  I've looked at the check_catalyst_temp.pl and
check_env_stats.py plugins, which both look in .1.3.6.1.4.1.9.9.13.1.  I see
and understand the basic mechanisms of these checks.

What I don't understand is why both require warning and critical thresholds.
 From what I can tell, both walk ciscoEnvMonTemperatureStatusDescr, check
ciscoEnvMonTemperatureState (and alert accordingly) AND also check
ciscoEnvMonTemperatureStatusValue
to see if it's out of the warning and critical thresholds specified on the
command line.  I understand why one would want to be able to set custom
thresholds (that would override "normal" and "warning" states).  What I
don't understand is why are they required?  Is there a reason, or is it just
an oversight?  I don't have much experience monitoring network equipment, so
I'm wondering if there's a reason for it.

On that same note, does anyone know where those thresholds are stored?  I
see in the same OID that there is ciscoEnvMonTemperatureThreshold, but
that's an absolute upper bound before a forced shutdown occurs.  I'm
assuming that the thresholds for "warning" and "critical"
ciscoEnvMonTemperatureState
must be stored somewhere else.  Does anyone know where that is?

Unless there's a good reason for requiring -w and -c, I'll probably change
one of the plugins to not require them.

Thanks in advance,
Jeffrey.
--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d___
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