Community discussions

MikroTik App
 
schmeltm
just joined
Topic Author
Posts: 18
Joined: Sun Jan 15, 2012 4:28 pm
Location: near Duesseldorf

RB1100AHx4 SNMP OID

Wed Jun 28, 2017 10:48 am

Hi All,

i try to get informations from the RB1100AHx4 via SNMP.
I try it with the oid´s which the routerboard showing to me.
[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] > 
See output from check_snmp ..
:/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#

Anybody who has the same problem?

Thanks!
Markus
 
jarda
Forum Guru
Forum Guru
Posts: 7756
Joined: Mon Oct 22, 2012 4:46 pm

Re: RB1100AHx4 SNMP OID

Wed Jun 28, 2017 10:54 am

Try to delete the leading dot before the first digit in the oid.
 
schmeltm
just joined
Topic Author
Posts: 18
Joined: Sun Jan 15, 2012 4:28 pm
Location: near Duesseldorf

Re: RB1100AHx4 SNMP OID

Mon Jul 03, 2017 2:48 pm

i checked it without the leading dot but get the same error.

Who is online

Users browsing this forum: Bing [Bot] and 59 guests