Ok, thanks for the feedback. So it may be device- or model-specific. I have 
gone back and tested on more devices. My two original devices that kickedthis 
off, are both Rocket Prism 5AC Gen2 | XC.v8.6.2, and are not responding 
properly.

I have found several Rocket 5AC Prism running 8.5.x  that are. Also I have 
found one Rocket Prism 5AC Gen2 | XC.v8.5.12 that responds correctly.

Either I'm unlucky or there's an issue with Rocket Prism 5AC Gen2 | XC.v8.6.2.

Thanks again!

--dan



From: ubnt_users-boun...@wispa.org <ubnt_users-boun...@wispa.org> On Behalf Of 
Sam Tetherow
Sent: Tuesday, December 03, 2019 10:37 AM
To: ubnt_users@wispa.org
Subject: Re: [Ubnt_users] Ubiquiti SNMP for AirOS8?


Yes it is supported along with later releases of V6

http://www.oid-info.com/cgi-bin/display?nb=41112&f=1.3.6.1.4.1.41112.1&a=display<http://www.oid-info.com/cgi-bin/display?nb=41112&f=1.3.6.1.4.1&a=display>

Not all OIDs are available on all devices.  It depends on the hardware, and 
settings for the radio.  For instance you will not have 1.3.6.1.4.1.41112.1.3 
on anything other than airFiber. 1.3.6.1.4.1.41112.4 is ubntAirMax so it won't 
show up on radios that are not running airMax.  Since I don't know what type of 
radio you are querying I can't tell you why you are not getting the 
channelwidth with the last query you listed but my guess would be the radio is 
has airMax turned off, is an airFiber, or LTU.

Depending on what you are wanting the data in I have found parsing the 
status.cgi page to be a lot easier (and faster depending on what you are 
looking for) than pulling the SNMP data.  For instance hitting the status page 
is faster than pulling the full walk and parsing it.  Plus it is easier to 
parse since you are getting it back in a json format so tying data together for 
interfaces or stations is a lot less work.



Sam Tetherow
Sandhills Wireless


On 12/3/19 9:46 AM, Dan - LTI Support via Ubnt_users wrote:
Ok, so /CLEARLY/ Ubiquiti doesn't want us using their 'community' website since 
it's absolutely useless, so I'll pose my question here.

Is SNMP even remotely supported at this point in airos8? I have downloaded the 
MIB bundle for 8.6.2 and loaded UBNT-AirMAX-MIB with this metadata:

    REVISION "201710030000Z"
    DESCRIPTION "ubntAirMAX revision"
    ::= { ubntMIB 4 }



This MIB imports from bundled UBNT-MIB with this metadata:

    REVISION "201402270000Z"
    DESCRIPTION "Split revision"
    ::= { ubnt 1 }

    -- 
--------------------------------------------------------------------------------
    --                         Ubiquiti Networks Root
    -- 
--------------------------------------------------------------------------------

    ubnt OBJECT IDENTIFIER ::= { enterprises 41112 }



...and tried to get/walk but cannot get any vendor-specific information.

$ snmpwalk -v 1 -c public 10.195.5.10 1.3.6.1.2.1.1.3.0
iso.3.6.1.2.1.1.3.0 = Timeticks: (24323800) 2 days, 19:33:58.00
$ snmpwalk -v 1 -c public 10.195.5.1
0 1.3.6.1.4.1.41112
End of MIB
$



Even querying known-good OIDs from previous versions returns nothing:

$ snmpget -v 1 -c public 10.195.5.10 1.3.6.1.4.1.41112.1.4.5.1.14.1
Error in packet
Reason: (noSuchName) There is no such variable name in this MIB.
Failed object: iso.3.6.1.4.1.41112.1.4.5.1.14.1
$



Does anyone have any SNMP working on current AirOS8?

--dan



_______________________________________________

Ubnt_users mailing list

Ubnt_users@wispa.org<mailto:Ubnt_users@wispa.org>

http://lists.wispa.org/mailman/listinfo/ubnt_users
_______________________________________________
Ubnt_users mailing list
Ubnt_users@wispa.org
http://lists.wispa.org/mailman/listinfo/ubnt_users

Reply via email to