RouterOS supports the following MIBs: https://wiki.mikrotik.com/wiki/Manual:SNMP#Management_information_base_.28MI... --Bart On 2/22/2020 4:59 PM, Herb Weiner wrote:
I would like to use SNMP to facilitate aiming a Node. In order to work on this project, I have setup a Node (LHG XL HP5) and Sector (5SHPn) for testing purposes.
The following shows the status of my Node:
[herbw@AA7HW-01] > /snmp print enabled: yes contact: #HamWAN-Support on irc.freenode.org <http://irc.freenode.org> location: 45.489139,-122.631972 engine-id: trap-target: trap-community: hamwan trap-version: 1 trap-generators: temp-exception [herbw@AA7HW-01] > /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 band=.1.3.6.1.4.1.14988.1.1.1.1.1.8.1 auth-client-count=.1.3.6.1.4.1.14988.1.1.1.3.1.11.1 [herbw@AA7HW-01] > /interface wireless scan 0 Flags: A - active, P - privacy, R - routeros-network, N - nstreme, T - tdma, W - wds, B - bridge ADDRESS SSID CHANNEL SIG NF SNR RADIO-NAME ROUTEROS-VERSION A RT B 4C:5E:0C:89:3F:57 HamWAN 5880/5/an -28 -124 96 K7ICY-Tolliver -- [Q quit|D dump|C-z pause]
Based upon the above, I would assume that if I query the signal strength (.1.3.6.1.4.1.14988.1.1.1.1.1.4.1) using snmpget, I would obtain a value of approximately -28 (the signal strength varies a bit from the instantaneous value of -28 reported above). However, although I am able to obtain the SSID using snmpget, I am unable to obtain the signal strength, frequency or band:
$ snmpget -c hamwan 192.168.88.1 .1.3.6.1.4.1.14988.1.1.1.1.1.4.1 SNMPv2-SMI::enterprises.14988.1.1.1.1.1.4.1 = INTEGER: 1 $ $ snmpget -c hamwan 192.168.88.1 .1.3.6.1.4.1.14988.1.1.1.1.1.5.1 SNMPv2-SMI::enterprises.14988.1.1.1.1.1.5.1 = STRING: "HamWAN" $ snmpget -c hamwan 192.168.88.1 .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: 0 $ snmpget -c hamwan 192.168.88.1 .1.3.6.1.4.1.14988.1.1.1.1.1.8.1 SNMPv2-SMI::enterprises.14988.1.1.1.1.1.8.1 = "" $
Also, is it possible to obtain the Noise Floor (NF), Signal to Noise Ratio (SNR), or Radio Name from my Node using SNMP? These are all reported by the /interface wireless scan 0.
Thanks for any assistance you can provide.
Herb, AA7HW
_______________________________________________ PSDR mailing list PSDR@hamwan.org http://mail.hamwan.net/mailman/listinfo/psdr