I am trying to build a system that will go through all my MTs, select the ones with wireless interfaces (which I can do by looking for ieee80211 interfaces in .1.3.6.1.2.1.2.2.1.3), then start graphing signal strength levels. On stations (is there a way to determine if it’s a station or AP/bridge?), the .1.3.6.1.4.1.14988.1.1.1.1.1.4.interfacenumber works fine, but doesn’t seem to work on AP/bridge, so I must use the reg table.
What does the last two fields in the oid refer to (211.8) here?
It seems to be different on every router.
interface wireless registration-table> print oid
0 strength=.1.3.6.1.4.1.14988.1.1.1.2.1.3.0.21.109.16.6.211.8
tx-bytes=.1.3.6.1.4.1.14988.1.1.1.2.1.4.0.21.109.16.6.211.8
on another router:
interface wireless registration-table> print oid
0 strength=.1.3.6.1.4.1.14988.1.1.1.2.1.3.0.21.109.16.62.20.2
tx-bytes=.1.3.6.1.4.1.14988.1.1.1.2.1.4.0.21.109.16.62.20.2
On a ptp link, I can get the signal leve for instance by dropping off all the stuff that varies between registration table oids on different MTs regardless of that random number. I don’t have an ptmp setups to see how that would work.
jp@mocha:~> snmpwalk -v1 -Oqn -cpublic 10.0.13.9 \ .1.3.6.1.4.1.14988.1.1.1.2.1.3
.1.3.6.1.4.1.14988.1.1.1.2.1.3.0.21.109.16.62.20.2 -80
jp@mocha:~> snmpwalk -v1 -Oqn -cpublic 10.0.13.9 \ .1.3.6.1.4.1.14988.1.1.1.2.1
.1.3.6.1.4.1.14988.1.1.1.2.1.3.0.21.109.16.62.20.2 -81
.1.3.6.1.4.1.14988.1.1.1.2.1.4.0.21.109.16.62.20.2 1102056692
.1.3.6.1.4.1.14988.1.1.1.2.1.5.0.21.109.16.62.20.2 2176753064
.1.3.6.1.4.1.14988.1.1.1.2.1.6.0.21.109.16.62.20.2 85009428
.1.3.6.1.4.1.14988.1.1.1.2.1.7.0.21.109.16.62.20.2 100169111
.1.3.6.1.4.1.14988.1.1.1.2.1.8.0.21.109.16.62.20.2 24000000
.1.3.6.1.4.1.14988.1.1.1.2.1.9.0.21.109.16.62.20.2 18000000