Community discussions

MikroTik App
 
Sajad2010
just joined
Topic Author
Posts: 8
Joined: Wed Oct 14, 2020 8:33 am

channel-width and wireless-protocol from SNMP

Wed Sep 15, 2021 12:41 pm

Hello,
Can i get Channel Width and Wireless Protocol from AP with SNMP ?
Thanks,
 
User avatar
rextended
Forum Guru
Forum Guru
Posts: 11968
Joined: Tue Feb 25, 2014 12:49 pm
Location: Italy
Contact:

Re: channel-width and wireless-protocol from SNMP

Wed Sep 15, 2021 1:05 pm

The last .1 is the <wlan interface index>
You can not read by SNMP what is not present here.

terminal 6.47.10 code

/interface wireless print oid
   tx-rate=.1.3.6.1.4.1.14988.1.1.1.3.1.2.1 
   rx-rate=.1.3.6.1.4.1.14988.1.1.1.3.1.3.1 
   ssid=.1.3.6.1.4.1.14988.1.1.1.3.1.4.1
   bssid=.1.3.6.1.4.1.14988.1.1.1.3.1.5.1 
   client-count=.1.3.6.1.4.1.14988.1.1.1.3.1.6.1 
   frequency=.1.3.6.1.4.1.14988.1.1.1.3.1.7.1 
   band=.1.3.6.1.4.1.14988.1.1.1.3.1.8.1 
   noise-floor=.1.3.6.1.4.1.14988.1.1.1.3.1.9.1 
   overall-ccq=.1.3.6.1.4.1.14988.1.1.1.3.1.10.1 
   auth-client-count=.1.3.6.1.4.1.14988.1.1.1.3.1.11.1 

/interface wireless registration-table print oid
   signal-strength=.1.3.6.1.4.1.14988.1.1.1.2.1.3.8.85.49.235.147.129.1 
   tx-signal-strength=.1.3.6.1.4.1.14988.1.1.1.2.1.19.8.85.49.235.147.129.1 
   tx-bytes=.1.3.6.1.4.1.14988.1.1.1.2.1.4.8.85.49.235.147.129.1 
   rx-bytes=.1.3.6.1.4.1.14988.1.1.1.2.1.5.8.85.49.235.147.129.1 
   tx-packets=.1.3.6.1.4.1.14988.1.1.1.2.1.6.8.85.49.235.147.129.1 
   rx-packets=.1.3.6.1.4.1.14988.1.1.1.2.1.7.8.85.49.235.147.129.1 
   tx-rate=.1.3.6.1.4.1.14988.1.1.1.2.1.8.8.85.49.235.147.129.1 
   rx-rate=.1.3.6.1.4.1.14988.1.1.1.2.1.9.8.85.49.235.147.129.1 
   routeros-version=.1.3.6.1.4.1.14988.1.1.1.2.1.10.8.85.49.235.147.129.1 
   uptime=.1.3.6.1.4.1.14988.1.1.1.2.1.11.8.85.49.235.147.129.1 
   signal-to-noise=.1.3.6.1.4.1.14988.1.1.1.2.1.12.8.85.49.235.147.129.1 
   tx-signal-strength-ch0=.1.3.6.1.4.1.14988.1.1.1.2.1.13.8.85.49.235.147.129.1 
   signal-strength-ch0=.1.3.6.1.4.1.14988.1.1.1.2.1.14.8.85.49.235.147.129.1 
   tx-signal-strength-ch1=.1.3.6.1.4.1.14988.1.1.1.2.1.15.8.85.49.235.147.129.1 
   signal-strength-ch1=.1.3.6.1.4.1.14988.1.1.1.2.1.16.8.85.49.235.147.129.1 
   tx-signal-strength-ch2=.1.3.6.1.4.1.14988.1.1.1.2.1.17.8.85.49.235.147.129.1 
   signal-strength-ch2=.1.3.6.1.4.1.14988.1.1.1.2.1.18.8.85.49.235.147.129.1 
   radio-name=.1.3.6.1.4.1.14988.1.1.1.2.1.20.8.85.49.235.147.129.1 
Last edited by rextended on Wed Sep 15, 2021 8:28 pm, edited 6 times in total.
 
Sajad2010
just joined
Topic Author
Posts: 8
Joined: Wed Oct 14, 2020 8:33 am

Re: channel-width and wireless-protocol from SNMP

Wed Sep 15, 2021 1:09 pm

Thank you
But i don't see (channel width) and (wireless protocol)
Can you provide me oid of this?
 
User avatar
rextended
Forum Guru
Forum Guru
Posts: 11968
Joined: Tue Feb 25, 2014 12:49 pm
Location: Italy
Contact:

Re: channel-width and wireless-protocol from SNMP

Wed Sep 15, 2021 1:19 pm

At least you can read something like 5180/20/ac using:

band=.1.3.6.1.4.1.14988.1.1.1.3.1.8.<wlan interface index>
iso.org.dod.internet.private.enterprises.mikrotik.mikrotikExperimentalModule.mtXRouterOs.mtxrWireless.mtxrWlApTable.mtxrWlApEntry.mtxrWlApBand.<wlan interface index>

You can get it by script.

This is Scripting section, but you need that for The Dude?
 
Sajad2010
just joined
Topic Author
Posts: 8
Joined: Wed Oct 14, 2020 8:33 am

Re: channel-width and wireless-protocol from SNMP

Wed Sep 15, 2021 2:22 pm

Thanks,
Channel width is ok
any idea for wireless-protocol ?

This is Scripting section, but you need that for The Dude?
I need for zabbix

Who is online

Users browsing this forum: baragoon, ko00000000001, mtest001 and 24 guests