Community discussions

MikroTik App
 
User avatar
jp
Long time Member
Long time Member
Topic Author
Posts: 611
Joined: Wed Mar 02, 2005 5:06 am
Location: Maine
Contact:

snmp frequency gathering

Mon Aug 04, 2008 5:00 am

We use SNMP to gather information about frequencies used on all our gear (which is in a database with location information) for spectrum management assistance.

How can I get the frequency of a MT/radio acting as an AP by polling the AP?

Here is an example on 3.11 where I can almost get it.

At the AP:
[admin@dc-bht] /interface wireless> print oid
 0 tx-rate=.1.3.6.1.4.1.14988.1.1.1.1.1.2.4 
   rx-rate=.1.3.6.1.4.1.14988.1.1.1.1.1.3.4 
   strength=.1.3.6.1.4.1.14988.1.1.1.1.1.4.4 
   ssid=.1.3.6.1.4.1.14988.1.1.1.1.1.5.4 
   bssid=.1.3.6.1.4.1.14988.1.1.1.1.1.6.4 
   frequency=.1.3.6.1.4.1.14988.1.1.1.1.1.7.4 
mocha:/usr/local/mis/mrtg # export IP=69.39.105.19
mocha:/usr/local/mis/mrtg # snmpwalk -v1 -c public  $IP .1.3.6.1.4.1.14988.1.1.1.1.1.7.4
mocha:/usr/local/mis/mrtg # 
Nothing!

Now onto the station MT.
[admin@bht-dc] > /interface wireless print oid 
 0 tx-rate=.1.3.6.1.4.1.14988.1.1.1.1.1.2.1 
   rx-rate=.1.3.6.1.4.1.14988.1.1.1.1.1.3.1 
   strength=.1.3.6.1.4.1.14988.1.1.1.1.1.4.1 
   ssid=.1.3.6.1.4.1.14988.1.1.1.1.1.5.1 
   bssid=.1.3.6.1.4.1.14988.1.1.1.1.1.6.1 
   frequency=.1.3.6.1.4.1.14988.1.1.1.1.1.7.1 

 1 tx-rate=.1.3.6.1.4.1.14988.1.1.1.1.1.2.2 
   rx-rate=.1.3.6.1.4.1.14988.1.1.1.1.1.3.2 
   strength=.1.3.6.1.4.1.14988.1.1.1.1.1.4.2 
   ssid=.1.3.6.1.4.1.14988.1.1.1.1.1.5.2 
   bssid=.1.3.6.1.4.1.14988.1.1.1.1.1.6.2 
   frequency=.1.3.6.1.4.1.14988.1.1.1.1.1.7.2 
mocha:/usr/local/mis/mrtg # export IP=69.39.116.106
mocha:/usr/local/mis/mrtg # snmpwalk -v1 -c public  $IP .1.3.6.1.4.1.14988.1.1.1.1.1.7.1
SNMPv2-SMI::enterprises.14988.1.1.1.1.1.7.1 = INTEGER: 5200
 
DieselPower
newbie
Posts: 35
Joined: Fri Feb 15, 2008 12:01 am

Re: snmp frequency gathering

Sun Jan 04, 2009 6:26 am

I am having the same problem.

This works, (routes)
snmpwalk -v1 -c public 69.131.249.115 1.3.6.1.2.1.4.24.3.0

Nothing under /interface/wireless works.
This returns nothing. (tx rate)
snmpwalk -v1 -c public 69.131.249.115 .1.3.6.1.4.1.14988.1.1.1.1.1.2.2

(yes, you are welcome to try at the IP address above)