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

snmp mib checks

Post by JohnFLi »

I have a RoomAlert 3E and NagiosXI
I uploaded the MIBS for that device.
I want to have Nagios alert for temperature, and another one of it's sensors to alert on a open, or closed sensor reading.

But I have no idea how to do this.

Any guides that could help?
Everybody is somebody else’s weirdo
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: snmp mib checks

Post by tmcdonald »

Under Configure -> Monitoring Wizard, there is the SNMP Walk Wizard that should help you discover the available OIDs on the sensor. Run that against the device and take a look at the returned listings. The short names should give an indication as to the function.
Former Nagios employee
User avatar
JohnFLi
Posts: 559
Joined: Mon Jun 17, 2013 3:11 pm

Re: snmp mib checks

Post by JohnFLi »

I get this message "No results were returned from a scan of the device."

I check logging on the device and I dont see that nagios is even trying
Everybody is somebody else’s weirdo
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: snmp mib checks

Post by abrist »

Lets just force a walk right from the cli:
V1:

Code: Select all

snmpwalk -v1 -c <community> <device ip>
V2c:

Code: Select all

snmpwalk -v2c -c <community> <device ip>
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
User avatar
JohnFLi
Posts: 559
Joined: Mon Jun 17, 2013 3:11 pm

Re: snmp mib checks

Post by JohnFLi »

the results from teh cli says
[root@localhost snmp]# snmpwalk -v1 -c public 10.100.3.131
Timeout: No Response from 10.100.3.131
but on the log file for the device, I see that it did get some action from Nagios.
02/06/36 22:33:15: SNMP Request
From 10.100.5.65 Community: public
SNMP Connection ALLOWED


That ip address is the nagios machine
You do not have the required permissions to view the files attached to this post.
Last edited by JohnFLi on Tue Dec 30, 2014 1:04 pm, edited 1 time in total.
Everybody is somebody else’s weirdo
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: snmp mib checks

Post by tmcdonald »

Did you try it with version 2 as well?
Former Nagios employee
User avatar
JohnFLi
Posts: 559
Joined: Mon Jun 17, 2013 3:11 pm

Re: snmp mib checks

Post by JohnFLi »

I get teh same responce with v2
Everybody is somebody else’s weirdo
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: snmp mib checks

Post by tmcdonald »

Does the remote sensor have some sort of access control list in place that would block responses back to the Nagios machine? Or perhaps a firewall in-between the two?
Former Nagios employee
User avatar
JohnFLi
Posts: 559
Joined: Mon Jun 17, 2013 3:11 pm

Re: snmp mib checks

Post by JohnFLi »

I have teh ip address of the Nagios machine in the devices list to send traps to.
and teh devices log shows that nagios did get to it, it sorta looks like the response isn't getting to nagios
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 »

Ok, I gave up on that device, I have another RoomAlert device I need to check. The snmp walk does work just fine.

I see many,many entries....

Now what do I do?
You do not have the required permissions to view the files attached to this post.
Everybody is somebody else’s weirdo
Locked