nagios and check_snmp

Eric Marquez ebm at swervinghead.com
Thu Jan 8 03:56:07 CET 2009


I have a question and I need to understanding around the
IF-MIB::ifOutOctets.x mib.  Here's what I'm doing...

I have nagios setup with check_snmp I want it to do this
 check_snmp --oid="IF-MIB::ifInOctets.235" -P 2c -l  -C 'community'  -H
switch.example.com

it returns back the following value.
OK - 2840686911 | IF-MIB::ifInOctets.235=2840686911c;;;;

I need to set a warning and critical alert at a certain level.
what does 2840686911 represent bits per second?

I need nagios to start warning at 75 Mbs and go critical at 95 Mbs.  I can't
get a handle on what the ifInOctets is telling me about the interface.  Can
somebody straighten me out.

Thanks in advance.
ebm
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20090107/5fa10ac7/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
-------------- next part --------------
_______________________________________________
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