Hello,
I am trying to monitor board temperatures on mikrotik devices.
I added custom OIDs for some of the switches but I’d rather have those values auto discovered.
Thats why I tried to put the proper OIDs into the discovery yaml files.
I tried this:
in routeros.yaml you find the lines
oid: mtxrHlTemperature
num_oid: '.1.3.6.1.4.1.14988.1.1.3.10.{{ $index }}'
index: 0
divisor: 10
descr: 'Temperature {{ $index }}'
low_limit: -40
low_warn_limit: -35
warn_limit: 65
high_limit: 70
which I tried to replace with
oid: SNMPv2-SMI::enterprises.14988.1.1.3.100.1.3.51
num_oid: ‘.1.3.6.1.4.1.14988.1.1.3.100.1.3.51’
descr: ‘System board’
low_limit: -40
low_warn_limit: -35
warn_limit: 65
high_limit: 70
This is also the SNMP value that is working fine as a custom OID.
How do I get a proper auto discovery for those values?
Cheers
nosy