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.