Graphing Noise Floor on Mikrotik APs

Hello,


Is there any simple way to graph the noise floor for a specified wireless interface using the dude?

Is there a OID from SNMP that i can use to graph?

try

/interface wireless print oid

. I get:

[xxx@xxx] > /interface wireless print oid
0 tx-rate=.1.3.6.1.4.1.14988.1.1.1.3.1.2.23718 rx-rate=.1.3.6.1.4.1.14988.1.1.1.3.1.3.23718
ssid=.1.3.6.1.4.1.14988.1.1.1.3.1.4.23718 bssid=.1.3.6.1.4.1.14988.1.1.1.3.1.5.23718
client-count=.1.3.6.1.4.1.14988.1.1.1.3.1.6.23718 frequency=.1.3.6.1.4.1.14988.1.1.1.3.1.7.23718
band=.1.3.6.1.4.1.14988.1.1.1.3.1.8.23718 noise-floor=> .1.3.6.1.4.1.14988.1.1.1.3.1.9.23718 >
overall-ccq=.1.3.6.1.4.1.14988.1.1.1.3.1.10.23718

1 tx-rate=.1.3.6.1.4.1.14988.1.1.1.3.1.2.23719 rx-rate=.1.3.6.1.4.1.14988.1.1.1.3.1.3.23719
ssid=.1.3.6.1.4.1.14988.1.1.1.3.1.4.23719 bssid=.1.3.6.1.4.1.14988.1.1.1.3.1.5.23719
client-count=.1.3.6.1.4.1.14988.1.1.1.3.1.6.23719 frequency=.1.3.6.1.4.1.14988.1.1.1.3.1.7.23719
band=.1.3.6.1.4.1.14988.1.1.1.3.1.8.23719 noise-floor=> .1.3.6.1.4.1.14988.1.1.1.3.1.9.23719 >
overall-ccq=.1.3.6.1.4.1.14988.1.1.1.3.1.10.23719

I have another problem with the noise floor though. When I simply add the OID to PRTG then I get an abnormally large value, e.g.: 4294967177. What do I have to do to get a “normal” value?

Do you have the MIB installed? What do you see in SNMPWalk?

It could be the MIB will tell the program that the value in an oid is a 16 bit floating point but a simple snmp walk will show the value as a 16 bit integer.
This is the only reason I could find to require installing a MIB… clue me in if I am incorrect.

Lebowski

It could be the MIB will tell the program that the value in an oid is a 16 bit floating point but a simple snmp walk will show the value as a 16 bit integer.

You are correct!

snmpwalk -mAll -v1 -cmy_community_string 192.x.x.x .1.3.6.1.4.1.14988.1.1.1.3.1.9.23719

produces

iso.3.6.1.4.1.14988.1.1.1.3.1.9.23719 = INTEGER: -116

In order to PRTG working with MikroTik, I compiled the MIBs here http://mikrotik.com/download/Mikrotik.mib with the recommended program downloaded from here: http://www.paessler.com/tools/mibimporter.

However, even just adding a single custom SNMP OID gives the same result. The PRTG GUI has options Gauge (unsigned Integer, e.g. “10”, “120”) which I can’t change, and there is a Multiplication and Division.

What is the mathematics to convert a 16 bit floating point to 16 bit integer?

UPDATE
I made a stupid mistake. You cannot change Gauge afterwards, but when you set up the sensor you can choose the correct option. Attached. :neutral_face:
Selection_027.png