snmp mib checks

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
User avatar
JohnFLi
Posts: 559
Joined: Mon Jun 17, 2013 3:11 pm

Re: snmp mib checks

Post 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
Everybody is somebody else’s weirdo
User avatar
JohnFLi
Posts: 559
Joined: Mon Jun 17, 2013 3:11 pm

Re: snmp mib checks

Post by JohnFLi »

Does this help at all? THis is from doing a snmp walk from a mib browser.
its a tab delimter excel sheet
You do not have the required permissions to view the files attached to this post.
Everybody is somebody else’s weirdo
User avatar
JohnFLi
Posts: 559
Joined: Mon Jun 17, 2013 3:11 pm

Re: snmp mib checks

Post 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
Everybody is somebody else’s weirdo
User avatar
JohnFLi
Posts: 559
Joined: Mon Jun 17, 2013 3:11 pm

Re: snmp mib checks

Post 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?
Everybody is somebody else’s weirdo
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: snmp mib checks

Post 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
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked