Community discussions

MikroTik App
 
raingalls
newbie
Topic Author
Posts: 44
Joined: Thu Mar 04, 2010 12:02 am

Need OID For Temperature To Monitor Via SNMP

Sat Jul 10, 2010 8:45 pm

In Winbox, going to system, health, gives a readout of the "CPU Temperature." Are there any other temperature readings available for monitoring and if so where do you find them and Winbox and what are the OID's for all the temperature readings available for monitor via MRTG SNMP data graphing?
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 26318
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia

Re: Need OID For Temperature To Monitor Via SNMP

Mon Jul 12, 2010 10:26 am

This is how you can find the OIDs:
[admin@normis] /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
 
raingalls
newbie
Topic Author
Posts: 44
Joined: Thu Mar 04, 2010 12:02 am

Re: Need OID For Temperature To Monitor Via SNMP

Fri Jul 16, 2010 2:25 am

ah. that is totally freakin' sweet, Normis. super helpful. thanks, man. kudos to the firmware engineers for including that little tid bit of usefulness.
 
abouelrim
just joined
Posts: 16
Joined: Mon Apr 02, 2012 3:54 pm

Re: Need OID For Temperature To Monitor Via SNMP

Tue Jun 16, 2015 9:14 pm

Dear Members,

please can anyone tell me how to use this function on dude ?
 
naven
just joined
Posts: 6
Joined: Sat Jan 18, 2014 3:04 pm
Contact:

Re: Need OID For Temperature To Monitor Via SNMP

Sat Nov 14, 2015 2:48 pm

Dear Members,

please can anyone tell me how to use this function on dude ?

Topic seems pretty old, still question is unanswered so here it comes.

In device appearance add something like:

[Device.Name]
IP: [Device.FirstAddress]
[device_performance()][Device.ServicesDown]Uptime: [oid("1.3.6.1.2.1.1.3.0")]
Temperature: [oid("1.3.6.1.4.1.14988.1.1.3.10.0")/10] °C

There are 2 oids- first one is uptime and the second one is temperature divided by 10.
This is because output of oid is an integer and it cannot handle floating point number and it's for example 340 instead of 34.0.
 
abouelrim
just joined
Posts: 16
Joined: Mon Apr 02, 2012 3:54 pm

Re: Need OID For Temperature To Monitor Via SNMP

Mon Sep 26, 2016 12:33 pm

Thank You for your reply
 
MikrotikOdessa
just joined
Posts: 23
Joined: Wed Feb 14, 2018 11:14 am

Re: Need OID For Temperature To Monitor Via SNMP

Tue Mar 13, 2018 10:29 pm

For RB750Gr3 (6.41.3)
Temperature: [oid("1.3.6.1.4.1.14988.1.1.3.10.0")] °C
shows real temperature (32°C)

But for RB750G (6.41.3)
Temperature: [oid("1.3.6.1.4.1.14988.1.1.3.10.0")] °C
shows nothing (empty value)

Why?
 
lesnikov
just joined
Posts: 17
Joined: Tue Jul 15, 2014 9:33 pm
Location: Slovenia

Re: Need OID For Temperature To Monitor Via SNMP

Fri Mar 16, 2018 9:55 pm

For RB750Gr3 (6.41.3)
Temperature: [oid("1.3.6.1.4.1.14988.1.1.3.10.0")] °C
shows real temperature (32°C)

But for RB750G (6.41.3)
Temperature: [oid("1.3.6.1.4.1.14988.1.1.3.10.0")] °C
shows nothing (empty value)

Why?
If I remember correctly RB750G doesn't have temperature/voltage sensor.

Check with /system health print
 
JB172
Member
Member
Posts: 304
Joined: Fri Jul 24, 2015 3:12 pm
Location: AWMN

Re: Need OID For Temperature To Monitor Via SNMP

Fri Mar 16, 2018 11:57 pm

If I remember correctly RB750G doesn't have temperature/voltage sensor.
You are right.
 
jvilca
just joined
Posts: 1
Joined: Fri Feb 23, 2018 4:58 pm

Re: Need OID For Temperature To Monitor Via SNMP

Wed Jun 13, 2018 12:22 am

Hi everybody, I have a problem when I try to get the voltage value from 750GL router using the snmp protocol.

The terminal of 750GL show the OIDs of system health:
[admin@MikroTik] > 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

When I use the command snmpGet I get the following:
D:\SNMP>snmpGet -v:1 -c:public -r:192.168.3.1 -o:.1.3.6.1.4.1.14988.1.1.3.8.0
SnmpGet v1.01 - Copyright (C) 2009 SnmpSoft Company
[ More useful network tools on http://www.snmpsoft.com ]

%Failed to get value of SNMP variable. Variable does not exist (noSuchName(2))

However when I use other OID the request is succesful:

D:\SNMP>snmpGet -v:1 -c:public -r:192.168.3.1 -o:.1.3.6.1.2.1.2.2.1.2.1
SnmpGet v1.01 - Copyright (C) 2009 SnmpSoft Company
[ More useful network tools on http://www.snmpsoft.com ]

Is it possible to get the voltage value from 750GL and how?.

Thanks in advance.
 
User avatar
erebusodora
Frequent Visitor
Frequent Visitor
Posts: 84
Joined: Mon Jan 23, 2012 3:46 pm
Location: Bulgaria

Re: Need OID For Temperature To Monitor Via SNMP

Fri Sep 30, 2022 1:30 pm

This is how you can find the OIDs:
[admin@normis] /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
Normis whre is the board temperature OID in CCR1016-12G ?. Not show in system/health> print oid

Who is online

Users browsing this forum: Guntis, mogiretony, voytecky and 104 guests