i try to get informations from the RB1100AHx4 via SNMP.
I try it with the oid´s which the routerboard showing to me.
Code: Select all
[admin@NE-Router02] > system health print
voltage: 23.4V
current: 451mA
temperature: 34C
power-consumption: 10.5W
psu1-voltage: 24V
psu2-voltage: 24V
[admin@NE-Router02] > system health print oid
active-fan: .1.3.6.1.4.1.14988.1.1.3.9.0
voltage: .1.3.6.1.4.1.14988.1.1.3.8.0
temperature: .1.3.6.1.4.1.14988.1.1.3.10.0
processor-temperature: .1.3.6.1.4.1.14988.1.1.3.11.0
current: .1.3.6.1.4.1.14988.1.1.3.13.0
fan-speed: .1.3.6.1.4.1.14988.1.1.3.17.0
fan-speed2: .1.3.6.1.4.1.14988.1.1.3.18.0
power-consumption: .1.3.6.1.4.1.14988.1.1.3.12.0
psu1-state: .1.3.6.1.4.1.14988.1.1.3.15.0
psu2-state: .1.3.6.1.4.1.14988.1.1.3.16.0
[admin@NE-Router02] >
Code: Select all
:/usr/local/nagios/libexec# ./check_snmp -H 192.168.141.2 -C grolne -o .1.3.6.1.4.1.14988.1.1.3.8.0
SNMP OK - 234 | iso.3.6.1.4.1.14988.1.1.3.8.0=234
:/usr/local/nagios/libexec# ./check_snmp -H 192.168.141.2 -C grolne -o .1.3.6.1.4.1.14988.1.1.3.10.0
SNMP OK - 340 | iso.3.6.1.4.1.14988.1.1.3.10.0=340
:/usr/local/nagios/libexec# ./check_snmp -H 192.168.141.2 -C grolne -o .1.3.6.1.4.1.14988.1.1.3.15.0
External command error: Error in packet
Reason: (noSuchName) There is no such variable name in this MIB.
Failed object: iso.3.6.1.4.1.14988.1.1.3.15.0
:/usr/local/nagios/libexec# ./check_snmp -H 192.168.141.2 -C grolne -o .1.3.6.1.4.1.14988.1.1.3.15.0
External command error: Error in packet
Reason: (noSuchName) There is no such variable name in this MIB.
Failed object: iso.3.6.1.4.1.14988.1.1.3.15.0
:/usr/local/nagios/libexec# ./check_snmp -H 192.168.141.2 -C grolne -o .1.3.6.1.4.1.14988.1.1.3.12.0
SNMP OK - 104 | iso.3.6.1.4.1.14988.1.1.3.12.0=104
:/usr/local/nagios/libexec#
Thanks!
Markus