check_snmp output unit conversion

Mark Nipper nipsy at bitgnome.net
Fri Jul 15 18:10:29 CEST 2011


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 200000 -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
nipsy at 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 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