[HamWAN PSDR] SNMP Assistance Requested
herbw at wiskit.com
Sun Feb 23 15:46:57 PST 2020
I had already reviewed that document (last updated "201912100000Z"), and it unfortunately was not very helpful. I had also already used snmpwalk to explore all of the available OIDs in the Mikrotik MIB. That also wasn't very helpful. Note that I am using the most recent firmware, version 6.46.3. For example:
strength (.126.96.36.199.4.1.149188.8.131.52.184.108.40.206), the value that I am most interested in, is documented in the Mikrotik MIB (MIKROTIK-MIB::mtxrWlStatStrength.1) as a 32 bit integer. The only description provided is "dBm". Based upon the OID name and the description, the best assumption I could make was that this would be the received signal strength on the wireless interface. But this variable always returns the value 1, whether or not the wireless interface is receiving a signal at all.
The Mikrotik MIB documents an OID MIKROTIK-MIB::mtxrWlRtabRadioName, a Display String concisely described as "". (That's right. You have to guess what it is.) I was hoping that this would correspond to the RADIO-NAME shown by the /interface wireless scan 0 command. But neither snmpget nor snmpwalk can even find this OID. Although it is documented, it apparently does not exist on my LHG XL HP5.
Some of the information that I'm looking for may actually be available, but because the Mikrotik MIB is so poorly documented, I may not realize that any given OID may be exactly what I'm looking for.
Since I have already spent many hours investigating this, I was hoping that someone with some practical experience could provide some suggestions.
> On Feb 22, 2020, at 9:44 PM, Bart Kus <me at bartk.us> wrote:
> RouterOS supports the following MIBs:
> https://wiki.mikrotik.com/wiki/Manual:SNMP#Management_information_base_.28MIB.29 <https://wiki.mikrotik.com/wiki/Manual:SNMP#Management_information_base_.28MIB.29>
> 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 at AA7HW-01] > /snmp print
>> enabled: yes
>> contact: #HamWAN-Support on irc.freenode.org <http://irc.freenode.org/>
>> location: 45.489139,-122.631972
>> trap-community: hamwan
>> trap-version: 1
>> trap-generators: temp-exception
>> [herbw at AA7HW-01] > /interface wireless print oid
>> 0 tx-rate=.220.127.116.11.4.1.14918.104.22.168.22.214.171.124
>> [herbw at 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 (.126.96.36.199.4.1.149188.8.131.52.184.108.40.206) 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 .220.127.116.11.4.1.14918.104.22.168.22.214.171.124
>> SNMPv2-SMI::enterprises.149126.96.36.199.188.8.131.52 = INTEGER: 1
>> $ $ snmpget -c hamwan 192.168.88.1 .184.108.40.206.4.1.149220.127.116.11.18.104.22.168
>> SNMPv2-SMI::enterprises.14922.214.171.124.126.96.36.199 = STRING: "HamWAN"
>> $ snmpget -c hamwan 192.168.88.1 .188.8.131.52.4.1.149184.108.40.206.220.127.116.11
>> SNMPv2-SMI::enterprises.14918.104.22.168.22.214.171.124 = INTEGER: 0
>> $ snmpget -c hamwan 192.168.88.1 .126.96.36.199.4.1.149188.8.131.52.184.108.40.206
>> SNMPv2-SMI::enterprises.149220.127.116.11.18.104.22.168 = ""
>> 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 at hamwan.org <mailto:PSDR at hamwan.org>
>> http://mail.hamwan.net/mailman/listinfo/psdr <http://mail.hamwan.net/mailman/listinfo/psdr>
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the PSDR