Community discussions

MUM Europe 2020
 
aragon
newbie
Topic Author
Posts: 25
Joined: Thu Feb 17, 2011 3:52 am
Location: Cape Town, South Africa

SNMP temperature/voltage OID missing on 450G 4.16

Thu Feb 17, 2011 4:12 am

Hi,

After a fresh boot, the SNMP temperature/voltage OIDs are missing. I have to perform an SNMP walk to make them accessible.
$ snmpget -v1 -c public 172.18.87.136 SNMPv2-SMI::enterprises.14988.1.1.3.8.0 SNMPv2-SMI::enterprises.14988.1.1.3.10.0 ; snmpwalk -v1 -c public 172.18.87.136 SNMPv2-SMI::enterprises.14988 ; snmpget -v1 -c public 172.18.87.136 SNMPv2-SMI::enterprises.14988.1.1.3.8.0 SNMPv2-SMI::enterprises.14988.1.1.3.10.0
Error in packet
Reason: (noSuchName) There is no such variable name in this MIB.
Failed object: SNMPv2-SMI::enterprises.14988.1.1.3.8.0

SNMPv2-SMI::enterprises.14988.1.1.3.9.0 = STRING: "n/a"
SNMPv2-SMI::enterprises.14988.1.1.3.10.0 = INTEGER: 520
SNMPv2-SMI::enterprises.14988.1.1.4.2.0 = Hex-STRING: 07 B2 01 01 00 01 07 00 
SNMPv2-SMI::enterprises.14988.1.1.4.3.0 = INTEGER: 5
SNMPv2-SMI::enterprises.14988.1.1.4.4.0 = STRING: "4.16"
SNMPv2-SMI::enterprises.14988.1.1.4.5.0 = INTEGER: 6
SNMPv2-SMI::enterprises.14988.1.1.6.1.0 = Gauge32: 0
SNMPv2-SMI::enterprises.14988.1.1.7.1.0 = INTEGER: 0
End of MIB
SNMPv2-SMI::enterprises.14988.1.1.3.8.0 = INTEGER: 112
SNMPv2-SMI::enterprises.14988.1.1.3.10.0 = INTEGER: 520
(software ID intentionally removed from above output)

As a side note, SNMPv2-SMI::enterprises.14988.1.1.4.2.0 seems to be invalid too... license valid to 1970/01/01?

Any workaround for above problems?
 
aragon
newbie
Topic Author
Posts: 25
Joined: Thu Feb 17, 2011 3:52 am
Location: Cape Town, South Africa

Re: SNMP temperature/voltage OID missing on 450G 4.16

Tue Mar 01, 2011 5:54 am

*bump*
 
User avatar
mishaM
Frequent Visitor
Frequent Visitor
Posts: 84
Joined: Sun Oct 25, 2009 1:48 pm
Location: Georgia

Re: SNMP temperature/voltage OID missing on 450G 4.16

Tue Mar 01, 2011 5:57 pm

I have same the problem.
 
User avatar
janisk
MikroTik Support
MikroTik Support
Posts: 6283
Joined: Tue Feb 14, 2006 9:46 am
Location: Riga, Latvia

Re: SNMP temperature/voltage OID missing on 450G 4.16

Wed Mar 02, 2011 8:54 am

1st login into router and do /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
2nd do /system heath print
     voltage: 10.9V
  temperature: 47C
3rd so correct OIDS are voltae and tempearture

voltage
$ snmpget -c public -v 1 192.168.88.1 .1.3.6.1.4.1.14988.1.1.3.8.0
iso.3.6.1.4.1.14988.1.1.3.8.0 = INTEGER: 109
temperature
$ snmpget -c public -v 1 192.168.88.1 .1.3.6.1.4.1.14988.1.1.3.10.0
iso.3.6.1.4.1.14988.1.1.3.10.0 = INTEGER: 470
about license - when 2.9 was current licensing was time based, changing to 3.0 introduced change that allowed to update till some major version as it is now, demo (no license, 24 hour use) license still use that
 
aragon
newbie
Topic Author
Posts: 25
Joined: Thu Feb 17, 2011 3:52 am
Location: Cape Town, South Africa

Re: SNMP temperature/voltage OID missing on 450G 4.16

Tue Mar 08, 2011 2:09 am

janisk, I don't understand the point of your post?

This problem still occurs with 4.17.
 
User avatar
janisk
MikroTik Support
MikroTik Support
Posts: 6283
Joined: Tue Feb 14, 2006 9:46 am
Location: Riga, Latvia

Re: SNMP temperature/voltage OID missing on 450G 4.16

Tue Mar 08, 2011 1:54 pm

point of my post is to show that using simple commands I can read named values from 450G and it is not really clear what problem you have. Can you try very same commands on your device? Can you check if you have configured SNMP on your device correctly.

edit:

values should be divided by 10 as values are reported as deka values 1V = 10dV
 
aragon
newbie
Topic Author
Posts: 25
Joined: Thu Feb 17, 2011 3:52 am
Location: Cape Town, South Africa

Re: SNMP temperature/voltage OID missing on 450G 4.16

Tue Mar 08, 2011 2:00 pm

point of my post is to show that using simple commands I can read named values from 450G and it is not really clear what problem you have.
The problem is that they're inaccessible via SNMP after a fresh boot. The OID parent needs to be walked before the actual temperature and voltage OIDs return data. Did the SNMP commands in my first post make sense?
Can you try very same commands on your device?
Those work fine.
Can you check if you have configured SNMP on your device correctly.
Yup, it is.

Please reread my original post and quote anything you don't understand.
 
User avatar
janisk
MikroTik Support
MikroTik Support
Posts: 6283
Joined: Tue Feb 14, 2006 9:46 am
Location: Riga, Latvia

Re: SNMP temperature/voltage OID missing on 450G 4.16

Tue Mar 08, 2011 2:04 pm

now when you say all the details it is perfectly clear where the problem is - health monitoring is kind of slow when router reboots and SNMP requests values in first couple of minutes you can get timeout. Good news - problem is know and acknowledged, bad news - it is not high on priority list. :(
 
aragon
newbie
Topic Author
Posts: 25
Joined: Thu Feb 17, 2011 3:52 am
Location: Cape Town, South Africa

Re: SNMP temperature/voltage OID missing on 450G 4.16

Tue Mar 08, 2011 2:09 pm

FWIW, it's not a timeout situation. The RB is responding with an SNMP error and does so indefinitely until an SNMP walk is performed.

Glad you've confirmed it as a bug - thanks. For now we've wedged an snmpwalk into our monitoring scripts.
 
lambert
Long time Member
Long time Member
Posts: 533
Joined: Fri Jul 23, 2010 1:09 am

Re: SNMP temperature/voltage OID missing on 450G 4.16

Fri May 06, 2011 2:58 am

Sorry, I didn't see this thread before posting my question about the same topic.

http://forum.mikrotik.com/viewtopic.php?f=2&t=50619

Again, it's not just a matter of waiting for the monitoring values to be populated after boot up. It is that they are sometimes not there. If it is an after power cycle, they don't show up for days without being kicked by snmpwalk.
 
User avatar
Bernardo
newbie
Posts: 27
Joined: Wed Nov 02, 2011 12:05 pm

Re: SNMP temperature/voltage OID missing on 450G 4.16

Mon Feb 06, 2012 12:11 am

After downgrading a bunch of 450G/493G back to 4.17 due to various bugs in v5.5 - 5.12, I now have exactly the same problem.
A snmpwalk resolves it till the next reboot.

Is there any workaround?

saludos
Bernardo
 
ibermi
just joined
Posts: 22
Joined: Mon Dec 13, 2010 12:26 pm

Re: SNMP temperature/voltage OID missing on 450G 4.16

Fri May 03, 2013 12:11 pm

1st login into router and do /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
2nd do /system heath print
     voltage: 10.9V
  temperature: 47C
3rd so correct OIDS are voltae and tempearture

voltage
$ snmpget -c public -v 1 192.168.88.1 .1.3.6.1.4.1.14988.1.1.3.8.0
iso.3.6.1.4.1.14988.1.1.3.8.0 = INTEGER: 109
temperature
$ snmpget -c public -v 1 192.168.88.1 .1.3.6.1.4.1.14988.1.1.3.10.0
iso.3.6.1.4.1.14988.1.1.3.10.0 = INTEGER: 470
about license - when 2.9 was current licensing was time based, changing to 3.0 introduced change that allowed to update till some major version as it is now, demo (no license, 24 hour use) license still use that
Not working temepratura and voltage, and the other RB if that works for me is a RB1100AHx2, and I have another that if it works, look at the mistake.
$snmpget -c public -v 1 192.168.23.1 .1.3.6.1.4.1.14988.1.1.3.8.0
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.8.0
$snmpget -c public -v 1 192.168.23.1 .1.3.6.1.4.1.14988.1.1.3.10.0
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.10.0
However, such good uptime:
$snmpget -c public -v 1 192.168.23.1 .1.3.6.1.2.1.1.3.0
iso.3.6.1.2.1.1.3.0 = Timeticks: (258000) 0:43:00.00
Some explanation?
miguelbatista at ibersystems.es
Experto en redes WiFi y enlaces WiFi.

Facebook: @Ibersystems
Twitter: @Ibersystems

Expert in Wireless, Hotspots, Linux and Radius Servers

Who is online

Users browsing this forum: No registered users and 5 guests