Community discussions

MikroTik App
 
User avatar
genesispro
Member Candidate
Member Candidate
Topic Author
Posts: 167
Joined: Fri Mar 14, 2014 12:33 pm

ccr2004 - cannot find the temperature oid

Thu Apr 22, 2021 12:14 pm

does anyone know the oid values to monitor the CCR2004 temperatures?
iso.3.6.1.4.1.14988.1.1.3.10.0 is not working for this model
Mikrotik Rulez
 
User avatar
Lifz
Frequent Visitor
Frequent Visitor
Posts: 55
Joined: Tue Feb 26, 2013 1:05 pm

Re: ccr2004 - cannot find the temperature oid

Thu Apr 22, 2021 1:03 pm

The temperature value is provided by SFP modules. If your device does not have attached SFP modules that can provide temperature values, it won't be shown in health, and you will not be able to use OID .1.3.6.1.4.1.14988.1.1.3.10.0
 
User avatar
genesispro
Member Candidate
Member Candidate
Topic Author
Posts: 167
Joined: Fri Mar 14, 2014 12:33 pm

Re: ccr2004 - cannot find the temperature oid

Thu Apr 22, 2021 4:49 pm

I have sfp modules and I can see in system health several motherboard cpu and plain temperature readings.
The following are the ones that I can see related to temperature in System-Health:
board-temperature1
board-temperature2
cpu-temperature
temperature
Mikrotik Rulez
 
User avatar
rextended
Forum Guru
Forum Guru
Posts: 3218
Joined: Tue Feb 25, 2014 12:49 pm
Location: Capalbio, Tuscany, Italy

Re: ccr2004 - cannot find the temperature oid

Thu Apr 22, 2021 5:10 pm

I have sfp modules and I can see in system health several motherboard cpu and plain temperature readings.
The following are the ones that I can see related to temperature in System-Health:
board-temperature1
board-temperature2
cpu-temperature
temperature
What version of RouterOS you have?
I'm Italian, not English. Sorry for my imperfect grammar.
 
User avatar
rextended
Forum Guru
Forum Guru
Posts: 3218
Joined: Tue Feb 25, 2014 12:49 pm
Location: Capalbio, Tuscany, Italy

Re: ccr2004 - cannot find the temperature oid

Thu Apr 22, 2021 5:13 pm

On 6.46.8 and 6.47.9

RouterBOARD Temperature
iso.org.dod.internet.private.enterprises.mikrotik.mikrotikExperimentalModule.mtXRouterOs.mtxrHealth.mtxrHlTemperature.0
(1.3.6.1.4.1.14988.1.1.3.10.0)

Processor Temperature
iso.org.dod.internet.private.enterprises.mikrotik.mikrotikExperimentalModule.mtXRouterOs.mtxrHealth.mtxrHlProcessorTemperature.0
(1.3.6.1.4.1.14988.1.1.3.11.0)

/sys healt print oid

iso.org.dod.internet.private.enterprises.mikrotik.mikrotikExperimentalModule.mtXRouterOs.mtxrOptical.mtxrOpticalTable.mtxrOpticalTableEntry.mtxrOpticalTemperature.X
(1.3.6.1.4.1.14988.1.1.19.1.1.6.X)
x = interface number
Temperature of SFP module (if provided)
I'm Italian, not English. Sorry for my imperfect grammar.
 
User avatar
genesispro
Member Candidate
Member Candidate
Topic Author
Posts: 167
Joined: Fri Mar 14, 2014 12:33 pm

Re: ccr2004 - cannot find the temperature oid

Thu Apr 22, 2021 6:54 pm

system health oid returns

temperature: .1.3.6.1.4.1.14988.1.1.3.10.0
cpu-temperature: .1.3.6.1.4.1.14988.1.1.3.11.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
fan1-speed: .1.3.6.1.4.1.14988.1.1.3.17.0
fan2-speed: .1.3.6.1.4.1.14988.1.1.3.18.0
but none of them return anything in the dude or snmp walk

I ended up using [ros_command("/system health print")] for now to show the values
Mikrotik Rulez
 
User avatar
rextended
Forum Guru
Forum Guru
Posts: 3218
Joined: Tue Feb 25, 2014 12:49 pm
Location: Capalbio, Tuscany, Italy

Re: ccr2004 - cannot find the temperature oid

Fri Apr 23, 2021 1:47 am

system health oid returns

temperature: .1.3.6.1.4.1.14988.1.1.3.10.0
cpu-temperature: .1.3.6.1.4.1.14988.1.1.3.11.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
fan1-speed: .1.3.6.1.4.1.14988.1.1.3.17.0
fan2-speed: .1.3.6.1.4.1.14988.1.1.3.18.0
but none of them return anything in the dude or snmp walk

I ended up using [ros_command("/system health print")] for now to show the values


ros_command(":put [/system health get value-name=temperature]")
I'm Italian, not English. Sorry for my imperfect grammar.
 
User avatar
genesispro
Member Candidate
Member Candidate
Topic Author
Posts: 167
Joined: Fri Mar 14, 2014 12:33 pm

Re: ccr2004 - cannot find the temperature oid

Fri Apr 23, 2021 10:54 am

yes I know I could limit the value, thank you anyway.
At least this way I will be showing all values.
I will use the first option to trigger an event
Mikrotik Rulez

Who is online

Users browsing this forum: No registered users and 11 guests