Community discussions

MikroTik App
 
schamock
just joined
Topic Author
Posts: 10
Joined: Thu Mar 02, 2023 12:18 pm

Trouble reading temperature via SNMP in RouterOS 7.8

Sat Mar 04, 2023 11:57 am

Hi everyone,
I'm trying to read out the temperature via SNMP on a CRS309-1G-8S+ and CRS326-24G-2S+ both running RouerOS 7.8.
While reading data via SNMP is no problem at all, I can't find the temperature in the whole dataset (using snmpwalk).
I tried to explicitly fetch the oid I got with
[admin@CRS326] > system/health print oid
but it seams like this oid simply doesn't exist?!
Am I doing anything wrong here?

(Just figured out: Same problem with a CSS610-8G-2S+ running SwOS Lite 2.14)

Thanks
 
iustin
just joined
Posts: 21
Joined: Mon Mar 06, 2023 12:11 am

Re: Trouble reading temperature via SNMP in RouterOS 7.8

Mon Mar 06, 2023 1:28 am

This is strange. Same CRS309 with ROS 7.8, and:
[admin@sw] /system/health> print
Columns: NAME, VALUE, TYPE
#  NAME             VALUE  TYPE
0  cpu-temperature     29  C   
[admin@sw] /system/health> print oid
 0 name=.1.3.6.1.4.1.14988.1.1.3.100.1.2.17 value=.1.3.6.1.4.1.14988.1.1.3.100.1.3.17 
   type=.1.3.6.1.4.1.14988.1.1.3.100.1.4.17 
And yes, I can read this over SNMP.
 
schamock
just joined
Topic Author
Posts: 10
Joined: Thu Mar 02, 2023 12:18 pm

Re: Trouble reading temperature via SNMP in RouterOS 7.8

Fri Mar 17, 2023 1:40 pm

I just found out that I can read the temperature on the CRS devices when using snmpget. But snmpwalk won't output the temperature. This seams to be strange, but at least I can access the temperature now :)
On the CSS610 there seams to be no possibility. At least the same OID doesn't work.
Does anyone know if there is possibility to read the temperature from the CSS610?

Thanks

Who is online

Users browsing this forum: Majestic-12 [Bot], pmcsill, stefhapx6 and 73 guests