Community discussions

MikroTik App
 
kgninfos
Member
Member
Topic Author
Posts: 387
Joined: Thu Jun 21, 2012 7:34 pm
Location: Earth
Contact:

Openwrt wifi clients signal SNMP

Mon Feb 16, 2015 11:47 am

Can any one tell me what config to use in snmpd.conf of openwrt so that it will display the connections stations (Registration table) signal noice etc in dude
 
lebowski
Forum Guru
Forum Guru
Posts: 1619
Joined: Wed Aug 27, 2008 5:17 pm

Re: Openwrt wifi clients signal SNMP

Tue Feb 17, 2015 10:53 pm

I doubt there is anything built-in that does what you want. openwrt might not even populate the values into the table. Lets first assume that the values of username and signal level for each client is listed in snmp in openwrt.

First setup SNMP on the device, if you can use snmpwalk to examine the information base then you can start looking through the OIDs. If it exists you will see a section that has just usernames and another section that has just signal level. They will be related by the last digit in the oid.

For example IF oid 1.3.6.1.1.419.34.4.2.1 is the username of the first user connected the signal level could be 1.3.6.1.1.419.34.7.2.1.
You might be able to put the array of information in a device label such that username and signal would be side by side.

[(oid_column"1.3.6.1.1.419.34.4.2")) ][oid_column("1.3.6.1.1.419.34.7.2")]
(I doubt this would display correctly, you will need to try some varations)

You can make a total users label like so...
Total Users: [array_size(oid_column("1.3.6.1.1.419.34.4.2"",10,0))]
The array_size just counts the total columns since oid_column returns the entire column. (They happen to be rows but who is counting)

Once again for any of this to work openwrt has to actually populate many oids with clients and signal levels. The above oids are examples and are not really the locations that contain the data that you are looking for.

Lebwoski

Note; The comma10 comma 0 in the last example specify how to cache the result.
 
MikrotikOdessa
just joined
Posts: 23
Joined: Wed Feb 14, 2018 11:14 am

Re: Openwrt wifi clients signal SNMP

Sat Sep 15, 2018 1:43 pm

There are no any OIDs in the OpenWRT v.18.06 according to wireless clients, their MACs, RSSI, SNR, etc.

You can monitor only wlan interfaces global data like octets, errors, etc.

Who is online

Users browsing this forum: No registered users and 18 guests