Page 3 of 3

Re: snmp mib checks

Posted: Tue Dec 30, 2014 4:13 pm
by JohnFLi
The device does have a gui interface and I go in, give each sensor a name and high/low values for teh temp. checks and open/closed for the switchs.
The gui shows the current temp and if a switch is open or closed

Re: snmp mib checks

Posted: Tue Dec 30, 2014 4:59 pm
by JohnFLi
Does this help at all? THis is from doing a snmp walk from a mib browser.
its a tab delimter excel sheet

Re: snmp mib checks

Posted: Tue Dec 30, 2014 6:26 pm
by JohnFLi
I figured it out!!!

the Mib walker was able to show me the correct OID.....just had to look in the correct spot. One place removes the trailing '0' and another spot doesn't. I needed the extra '0' at the end.

Thank you for your help

Re: snmp mib checks

Posted: Tue Dec 30, 2014 6:53 pm
by JohnFLi
well, I guess it's 'Mostly' working

This should be an easy fix.
The issue is with a switch. Its snmp output is either a '0' or a '1'

If it's '0', its ok, if its '1' its bad. right now, nagios displays OK if its 1 or 0
what would be even better...... is if it is a '1', have it display CLOSED

How do I correct that?

Re: snmp mib checks

Posted: Fri Jan 02, 2015 2:32 am
by Box293
You would just need to write a simple wrapper script that detects that output and modifies it to CLOSED.

Here are some forum post examples of this:

http://support.nagios.com/forum/viewtop ... 976#p85256

http://support.nagios.com/forum/viewtop ... 327#p87260