Community discussions

MikroTik App
 
novelty22
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 64
Joined: Fri Feb 12, 2010 1:57 pm

SNMP OID for signal strength on PTP links

Thu May 17, 2018 5:40 pm

Hi,

Why do identical pieces of hardware on the same firmware version and in the same wireless mode (station-bridge) have different OID's for signal strength?
I can see the first part of the OID's are identical, but the numbers after the 1.3.6.1.4.1.14988.1.1.1.2.1.3 seem almost randomized.
How are these decided? Maybe based off a serial number or MAC Address? Are these going to change if I have to swap out the units causing me to need to re-create any graphs?

E.g.
Unit 1
/interface wireless> registration-table print oid
 0 signal-strength=.1.3.6.1.4.1.14988.1.1.1.2.1.3.108.59.107.117.141.153.2 
Unit 2
/interface wireless> registration-table print oid
 0 signal-strength=.1.3.6.1.4.1.14988.1.1.1.2.1.3.76.94.12.124.6.8.2 
 
sup5
Member
Member
Posts: 359
Joined: Sat Jul 10, 2010 12:37 am

Re: SNMP OID for signal strength on PTP links

Thu May 17, 2018 8:39 pm

108.59.107.117.141.153
6C:3B:6B:75:8D:99

76.94.12.124.6.8
4C:5E:0C:7C:06:08

simply a DEC <-> HEX conversion.

But I agree with you: There should be some kind of generic OID for PTP-links, because monitoring them is a PITA right now!

Anyhow, you can try to change the MAC-Address of the WiFi-Interfaces:

Device1:
set [ find default-name=wlan1 ] mac-address=00:00:00:00:00:01
/interface wireless registration-table> print oid
0 signal-strength=.1.3.6.1.4.1.14988.1.1.1.2.1.3.0.0.0.0.0.2.2

Device2:
set [ find default-name=wlan1 ] mac-address=00:00:00:00:00:02
/interface wireless registration-table> print oid
0 signal-strength=.1.3.6.1.4.1.14988.1.1.1.2.1.3.0.0.0.0.0.1.2
 
Onlineallthetime
just joined
Posts: 12
Joined: Fri Apr 20, 2018 3:52 am

Re: SNMP OID for signal strength on PTP links

Fri Sep 20, 2019 3:02 am

i don´t believe that the MAC address is part of an OID, because i made the test with 2 identical devices (DiscLite5), the same firmware, the same configuration and they're conected in the same AP.
When i print their OID's i get:
Device A: 1.3.6.1.4.1.14988.1.1.1.2.1.3.108.59.107.111.166.36.1
Device B: 1.3.6.1.4.1.14988.1.1.1.2.1.3.108.59.107.111.166.36.2

The last number is the only different and their MAC's address are too diferent. Also i changed their MAC address and the OID doesn´t change.
I'm looking for the parameter that change a OID because im trying to monitoring about 200 mikrotik devices and i don´t want to made many variables for each OID of those devices (i use the dude client to monitoring them).

Oh!, i almost forget it, When you connect your device to another APP with different frequency, the OID changes

Who is online

Users browsing this forum: anastasis, BoraHorza, michalhosna and 31 guests