Re: [Nagios-users] check_snmp output unit conversion

2011-07-15 Thread Mark Nipper
On 14 Jul 2011, Mark Nipper wrote:
 $ check_snmp -H 172.16.74.130 -P 1 -C public -o 
 .1.3.6.1.4.1.318.1.1.1.2.2.3.0 -w 20 -c 205000
 SNMP WARNING - *204000* | iso.3.6.1.4.1.318.1.1.1.2.2.3.0=204000 

To answer my own stupid question, the obvious form should
look something like:
---
$ check_snmp -H 172.16.74.130 -P 1 -C public -o .1.3.6.1.4.1.318.1.1.1.2.2.3.0 
-w 205000: -c 203000:
SNMP WARNING - *204000* | iso.3.6.1.4.1.318.1.1.1.2.2.3.0=204000 

Having said that, there's definitely an issue with
thresholds on at least some of the 1.4.15 packages available out
there as RPM's (like the current EPEL one), so make sure you're
not affected or you might be missing alerts.

And I'm still curious why the timetick to minute
conversion gets dropped in that output.  Anyone have a suggestion
for that?

-- 
Mark Nipper
ni...@bitgnome.net (XMPP)
+1 979 575 3193
-
I love deadlines. I like the whooshing sound they make as
they fly by.
 -- Douglas Adams

--
AppSumo Presents a FREE Video for the SourceForge Community by Eric 
Ries, the creator of the Lean Startup Methodology on Lean Startup 
Secrets Revealed. This video shows you how to validate your ideas, 
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev
___
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_snmp output unit conversion

2011-07-14 Thread Mark Nipper
On 31 Mar 2011, cas...@activenetwerx.com wrote:
 Well, I'm using 1.4.15 from rpmforge on rhel and it works, what can I say:)

I'm using the EPEL version of the same packages and it's
not working in any way that I can divine.  I ran across this
post:
---
http://permalink.gmane.org/gmane.network.nagios.plugins/4971

basically indicating that some of the 1.4.15 packages are
definitely broken.  I've installed the latest version listed in
that thread which is from 29 Apr 2011, which seems to partially
work, but maybe not in any useful way.

Some examples:
---
$ check_snmp -H 172.16.74.130 -P 1 -C public -o .1.3.6.1.4.1.318.1.1.1.2.2.3.0
SNMP OK - Timeticks: (204000) 0:34:00.00 | 
$ check_snmp -H 172.16.74.130 -P 1 -C public -o .1.3.6.1.4.1.318.1.1.1.2.2.3.0 
-w 203999 
SNMP WARNING - *204000* | iso.3.6.1.4.1.318.1.1.1.2.2.3.0=204000 
$ check_snmp -H 172.16.74.130 -P 1 -C public -o .1.3.6.1.4.1.318.1.1.1.2.2.3.0 
-w 204001
SNMP OK - 204000 | iso.3.6.1.4.1.318.1.1.1.2.2.3.0=204000 
$ check_snmp -H 172.16.74.130 -P 1 -C public -o .1.3.6.1.4.1.318.1.1.1.2.2.3.0 
-w 20 -c 205000
SNMP WARNING - *204000* | iso.3.6.1.4.1.318.1.1.1.2.2.3.0=204000 
---

So, am I to conclude that things haven't entirely been
fixed even in this latest release of 1.4.15?  And why does
specifying thresholds stop the unit conversion in the output?

My primary concern is that the threshold values seem to
be inverted and that there is no logical way to specify your own
thresholds based on this.

-- 
Mark Nipper
ni...@bitgnome.net (XMPP)
+1 979 575 3193
-
Objective journalism is one of the main reasons American
politics has been allowed to be so corrupt for so long.  You
can't be objective about Nixon.
 -- Hunter S. Thompson in an interview for The Atlantic

--
AppSumo Presents a FREE Video for the SourceForge Community by Eric 
Ries, the creator of the Lean Startup Methodology on Lean Startup 
Secrets Revealed. This video shows you how to validate your ideas, 
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev
___
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