Feature request: Mikrotik Wireless Interface Data

Looking to capture more detail on wireless info from Mikrotik SNMP. I was hoping detailed CCQ is available in Mikrotik SNMP but I see just the overall CCQ is available on each wireless interface. We really want the CCQ on each registration table entry but that’s not available in Mikrotik SNMP info.

I dump the info below. Happy to do it. Would need some guidance on what I need to do.

I imagine first is to start with wireless interface info only.

Wireless interfaces

/interface wireless print                   
Flags: X - disabled, R - running 
 0  R name="wlan" mtu=1500 mac-address=XX:XX:XX:XX:XX:XX arp=enabled 
      interface-type=Atheros AR9300 mode=ap-bridge ssid="xxx" 
      frequency=2412 band=2ghz-b/g/n channel-width=20/40mhz-ht-above 
      scan-list=default wireless-protocol=any wds-mode=disabled 
      wds-default-bridge=none wds-ignore-ssid=no bridge-mode=enabled 
      default-authentication=yes default-forwarding=yes default-ap-tx-limit=0 
      default-client-tx-limit=0 hide-ssid=no security-profile=default 
      compression=no 

OID Information

/interface wireless print oid
 0 tx-rate=.1.3.6.1.4.1.14988.1.1.1.3.1.2.12 
   rx-rate=.1.3.6.1.4.1.14988.1.1.1.3.1.3.12 
   ssid=.1.3.6.1.4.1.14988.1.1.1.3.1.4.12 
   bssid=.1.3.6.1.4.1.14988.1.1.1.3.1.5.12 
   client-count=.1.3.6.1.4.1.14988.1.1.1.3.1.6.12 
   frequency=.1.3.6.1.4.1.14988.1.1.1.3.1.7.12 
   band=.1.3.6.1.4.1.14988.1.1.1.3.1.8.12 
   noise-floor=.1.3.6.1.4.1.14988.1.1.1.3.1.9.12 
   overall-ccq=.1.3.6.1.4.1.14988.1.1.1.3.1.10.12

Wireless registration table (this is a list of clients).

/interface wireless registration-table print
 # INTERFACE           RADIO-NAME       MAC-ADDRESS       AP  SIGNAL... TX-RATE
 0 wlan                                 xx:xx:xx:xx:xx:xx no  -51dBm... 48.0...
 1 wlan                                 xx:xx:xx:xx:xx:xx no  -77dBm... 11.0...

OID

/interface wireless registration-table print oid
 0 signal-strength=.1.3.6.1.4.1.14988.1.1.1.2.1.3.0.4.32.34.64.141.12 
   tx-signal-strength=.1.3.6.1.4.1.14988.1.1.1.2.1.19.0.4.32.34.64.141.12 
   tx-bytes=.1.3.6.1.4.1.14988.1.1.1.2.1.4.0.4.32.34.64.141.12 
   rx-bytes=.1.3.6.1.4.1.14988.1.1.1.2.1.5.0.4.32.34.64.141.12 
   tx-packets=.1.3.6.1.4.1.14988.1.1.1.2.1.6.0.4.32.34.64.141.12 
   rx-packets=.1.3.6.1.4.1.14988.1.1.1.2.1.7.0.4.32.34.64.141.12 
   tx-rate=.1.3.6.1.4.1.14988.1.1.1.2.1.8.0.4.32.34.64.141.12 
   rx-rate=.1.3.6.1.4.1.14988.1.1.1.2.1.9.0.4.32.34.64.141.12 
   routeros-version=.1.3.6.1.4.1.14988.1.1.1.2.1.10.0.4.32.34.64.141.12 
   uptime=.1.3.6.1.4.1.14988.1.1.1.2.1.11.0.4.32.34.64.141.12 
   signal-to-noise=.1.3.6.1.4.1.14988.1.1.1.2.1.12.0.4.32.34.64.141.12 
   tx-signal-strength-ch0=.1.3.6.1.4.1.14988.1.1.1.2.1.13.0.4.32.34.64.141.12 
   signal-strength-ch0=.1.3.6.1.4.1.14988.1.1.1.2.1.14.0.4.32.34.64.141.12 
   tx-signal-strength-ch1=.1.3.6.1.4.1.14988.1.1.1.2.1.15.0.4.32.34.64.141.12 
   signal-strength-ch1=.1.3.6.1.4.1.14988.1.1.1.2.1.16.0.4.32.34.64.141.12 
   tx-signal-strength-ch2=.1.3.6.1.4.1.14988.1.1.1.2.1.17.0.4.32.34.64.141.12 
   signal-strength-ch2=.1.3.6.1.4.1.14988.1.1.1.2.1.18.0.4.32.34.64.141.12 

https://github.com/librenms/librenms/issues/1232

Presently Mikrotik does not show the most sought after per client detailed information via SNMP. Only the most common (and relatively least interesting) per client information is there. Currently all this is available only via the API or SSH. I actually have a simple Bash-based script around for extracting the missing data via SSH which I can share if it could be of any help.

As to LibreNMS’s SSID information collection from Mikrotik via SNMP, there is a Mikrotik-related bug that prevents Libre from collecting all the data properly (SSID name is missing, for instance). It is related to “OID not incrementing” problem (e.g. Error: OID not increasing: mtxrWlApTxRate.23) which has been around for quite a while, and which is easily circumvented if the -Cc switch is added to snmpwalk. This is currently not so with Libre, so I would like to request that this switch be added to Mikrotik wireless module scanner.

Did you ever post your script?.. I’m trying to monitor a bunch of capsman aps.