RedHat 8.0 snmp

Karl DeBisschop karl at debisschop.net
Thu Mar 6 12:33:21 CET 2003


On Thu, 2003-03-06 at 05:04, Francesc Guasch wrote:
> Francesc Guasch wrote:
>
> I downloaded the latest tgz plugins and it doesn't crash.
> Anyway I always get returned 0K of net load. I'm using the
> apan plugins and after debugging it I found this check:
> 
> #check_snmp -H SERVER -o .1.3.6.1.2.1.2.2.1.10.2 .1.3.6.1.2.1.2.2.1.16.2
> SNMP OK - 0

You need to specify warning/critical thresholds. If you don't, and
check_snmp successfully gets the result you asked for, it assumes
everything is OK.

> I'm new to snmp so I've been reading for a while. I've found
> a lot of information about it and I'm overwhelmed.
> 
> I don't know if I need any MIB just for check the net
> usage. Anyway I read I maybe need it, so I got this:
> 
>    ftp://ftp.cisco.com/pub/mibs/v1/OLD-CISCO-INTERFACES-MIB.my
> 
> but now I see my net-snmp package doesn't have any .my file.

You can use the numbers without the MIB. 

--
Karl




-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger 
for complex code. Debugging C/C++ programs can leave you feeling lost and 
disoriented. TotalView can help you find your way. Available on major UNIX 
and Linux platforms. Try it free. www.etnus.com
_______________________________________________
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