Ad Widget

Collapse

Low-level discovery of Ubiquiti Airfiber/Wave AP stations - UI-AF60-MIB

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • troffasky
    Senior Member
    • Jul 2008
    • 565

    #1

    Low-level discovery of Ubiquiti Airfiber/Wave AP stations - UI-AF60-MIB

    To get actual RF stats of client devices on Ubiquiti Wave APs, you need to discover them from the AP:

    Numeric:

    Code:
    .1.3.6.1.4.1.41112.1.11.1.3.1.1.228.56.131.106.168.247.1 = Hex-STRING: E4 38 83 6A A8 F7
    .1.3.6.1.4.1.41112.1.11.1.3.1.2.228.56.131.106.168.247.1 = STRING: main                  
    .1.3.6.1.4.1.41112.1.11.1.3.1.3.228.56.131.106.168.247.1 = INTEGER: -67                  
    .1.3.6.1.4.1.41112.1.11.1.3.1.4.228.56.131.106.168.247.1 = INTEGER: 11                  
    .1.3.6.1.4.1.41112.1.11.1.3.1.5.228.56.131.106.168.247.1 = INTEGER: 8 X                  
    .1.3.6.1.4.1.41112.1.11.1.3.1.6.228.56.131.106.168.247.1 = INTEGER: 7 X                  
    .1.3.6.1.4.1.41112.1.11.1.3.1.7.228.56.131.106.168.247.1 = INTEGER: 808500 Kbps          
    .1.3.6.1.4.1.41112.1.11.1.3.1.8.228.56.131.106.168.247.1 = INTEGER: 673750 Kbps
    With MIB:

    Code:
    UI-AF60-MIB::af60StaMac.'.8.j..'.1 = Hex-STRING: E4 38 83 6A A8 F7
    UI-AF60-MIB::af60StaActiveLink.'.8.j..'.1 = STRING: main
    UI-AF60-MIB::af60StaRSSI.'.8.j..'.1 = INTEGER: -67
    UI-AF60-MIB::af60StaSNR.'.8.j..'.1 = INTEGER: 12
    UI-AF60-MIB::af60StaTxMCS.'.8.j..'.1 = INTEGER: 9 X
    UI-AF60-MIB::af60StaRxMCS.'.8.j..'.1 = INTEGER: 7 X
    UI-AF60-MIB::af60StaTxCapacity.'.8.j..'.1 = INTEGER: 875875 Kbps
    UI-AF60-MIB::af60StaRxCapacity.'.8.j..'.1 = INTEGER: 673750 Kbps​
    I am guessing that "228.56.131.106.168.247" is some decimal representation of "E4 38 83 6A A8 F7"? So how to represent this in an LLD rule?
  • troffasky
    Senior Member
    • Jul 2008
    • 565

    #2
    If I walk from here:

    .1.3.6.1.4.1.41112.1.11.1.3.1

    I get the above output, but it responds with all the ".228.56.131.106.168.247.1" it in [this looks like the station MAC]. So how do I make an item prototype which accounts for this extra string in the OID?

    Comment

    • troffasky
      Senior Member
      • Jul 2008
      • 565

      #3
      Please give a short description what your pull request is for DO NOT DELETE THE UNDERLYING TEXT Please note Please read this information carefully. You can run ./lnms dev:check to check your code ...


      There is a commit to LibreNMS to handle this exact thing but how to translate this into Zabbix LLD?

      Comment

      • troffasky
        Senior Member
        • Jul 2008
        • 565

        #4
        Never mind....I was over-thinking this. The many extra numbers in the OID aren't a problem:



        Click image for larger version

Name:	ksnip_20240612-144717.png
Views:	428
Size:	56.9 KB
ID:	485503

        Comment

        Working...