Page 1 of 3
snmp mib checks
Posted: Tue Dec 30, 2014 12:30 pm
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?
Re: snmp mib checks
Posted: Tue Dec 30, 2014 12:43 pm
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.
Re: snmp mib checks
Posted: Tue Dec 30, 2014 12:54 pm
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
Re: snmp mib checks
Posted: Tue Dec 30, 2014 12:57 pm
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>
Re: snmp mib checks
Posted: Tue Dec 30, 2014 1:02 pm
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
Re: snmp mib checks
Posted: Tue Dec 30, 2014 1:04 pm
by tmcdonald
Did you try it with version 2 as well?
Re: snmp mib checks
Posted: Tue Dec 30, 2014 1:06 pm
by JohnFLi
I get teh same responce with v2
Re: snmp mib checks
Posted: Tue Dec 30, 2014 1:11 pm
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?
Re: snmp mib checks
Posted: Tue Dec 30, 2014 1:18 pm
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
Re: snmp mib checks
Posted: Tue Dec 30, 2014 1:47 pm
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?