Wireless Access

 View Only
last person joined: 23 hours ago 

Access network design for branch, remote, outdoor and campus locations with Aruba access points, and mobility controllers.
Expand all | Collapse all

SNMP OID for Down APs

This thread has been viewed 24 times
  • 1.  SNMP OID for Down APs

    Posted Jan 18, 2022 04:44 PM
    I am monitoring the APs on my system with Nagios which does a simple SNMP query and deals with the output.  I was able to find the OID for currently up APs, but since that number is always changing as I add and remove APs, it isn't nearly as valuable as currently down APs.  The only documentation that I could find was for an earlier version of ArubaOS.  Version 8.6 does not seem to recognize the OID from documentation for 6.2

    Does anybody know of more current documentation or know the current OID for down APs?

    Here is what the documentation for 6.2 shows
    Number of Current APs per Controller .1.3.6.1.4.1.14823.2.2.1.1.3.1 (works)
    Number of Down APs per Controller .1.3.6.1.4.1.14823.2.2.1.1.3.4.1.6 (doesn't work)

    Thanks for any assistance.

    ------------------------------
    -Bill
    ------------------------------


  • 2.  RE: SNMP OID for Down APs

    EMPLOYEE
    Posted Jan 27, 2022 10:14 PM
    .1.3.6.1.4.1.14823.2.2.1.1.3.4.1.6 doesn't work in my lab either way (against 6.x or 8.x), you may need to use wlanAPStatus and run it through a script to produce a single number for nagios to use, e.g.
    user@k246:/home/mibs/6.2.1.x# snmpwalk -v2c -cxxxxx -O0X -mALL -M. 1.2.3.4 wlanAPStatus
    WLSX-WLAN-MIB::wlanAPStatus[STRING: 20:a6:cd:xx:xx:xx] = INTEGER: down(2)
    WLSX-WLAN-MIB::wlanAPStatus[STRING: 24:de:c6:xx:xx:xx] = INTEGER: down(2)
    WLSX-WLAN-MIB::wlanAPStatus[STRING: 6c:f3:7f:xx:xx:xx] = INTEGER: down(2)
    WLSX-WLAN-MIB::wlanAPStatus[STRING: 6c:f3:7f:xx:xx:xx] = INTEGER: down(2)
    WLSX-WLAN-MIB::wlanAPStatus[STRING: 6c:f3:7f:xx:xx:xx] = INTEGER: down(2)
    WLSX-WLAN-MIB::wlanAPStatus[STRING: 90:4c:81:xx:xx:xx] = INTEGER: down(2)
    WLSX-WLAN-MIB::wlanAPStatus[STRING: ac:a3:1e:xx:xx:xx] = INTEGER: up(1)
    
    user@k246:/home/mibs/6.2.1.x# snmpwalk -v2c -cxxxxx -O0X -mALL -M. 1.2.3.4 wlanAPStatus | grep "down" | wc -l
    6
    
    MIB translate for wlanAPStatus
    
      OID:   .1.3.6.1.4.1.14823.2.2.1.5.2.1.4.1.19
    Short:   WLSX-WLAN-MIB::wlanAPStatus
     Long:   enterprises.aruba.arubaEnterpriseMibModules.switch.wlsxEnterpriseMibModules.wlsxWlanMIB.wlsxWlanStateGroup.wlsxWlanAccessPointInfoGroup.wlsxWlanAPTable.wlsxWlanAPEntry.wlanAPStatus
    
    ​



  • 3.  RE: SNMP OID for Down APs

    Posted Feb 02, 2022 03:27 PM
    Thanks Jgoff.  Your solution seemed a little outside my nagios skill set so I attacked from a different angle and will settle for updating the snmp_check as I add and remove devices.

    Essentially, I am using the same oid to check total APs to ensure I am not approaching licensing limits and also to see if too many are down.

    define service{
            use                     generic-service ; Inherit values from a template
            host_name                Aruba_MD02  
            service_description     Total number of AP
            check_command           check_snmp!  -o 1.3.6.1.4.1.14823.2.2.1.1.3.1.0 -P 3 -L authPriv -U snmpuser -A ************* -a sha -x aes -X ************ -w 1000 -c 1025
            }
    define service{
            use                     generic-service ; Inherit values from a template
            host_name                Aruba-MD02
            service_description     Total Down APs
    		check_interval			50
            check_command           check_snmp!  -o 1.3.6.1.4.1.14823.2.2.1.1.3.1.0 -P 3 -L authPriv -U snmpuser -A ************ -a sha -x aes -X ************ -w @975:980 -c @0:975
            }​

    I have 985 APs, so I get a warning if the total APs is greater than 1000 and a different warning if the total is between 975 and 980.  (5-10 APs down)
    I get a critical if the total APs is greater than 1025 and a different critical if the total is less than 975. (more than 10 APs down)

    ------------------------------
    -Bill
    ------------------------------



  • 4.  RE: SNMP OID for Down APs

    Posted Feb 03, 2022 04:47 AM
    Perhaps someboy else want to know numbers with HA config.

    total_ha_ap: 1.3.6.1.4.1.14823.2.2.1.20.1.2.1.3.0
    standby_ha_ap: 1.3.6.1.4.1.14823.2.2.1.20.1.2.1.2.0
    active_ha_ap: 1.3.6.1.4.1.14823.2.2.1.20.1.2.1.1.0



    ------------------------------
    husnu demir
    ------------------------------



  • 5.  RE: SNMP OID for Down APs

    Posted Aug 09, 2022 05:51 AM

    Thanks, the tree last worked, but where is the complete MIBs, there must be other OID's




  • 6.  RE: SNMP OID for Down APs

    EMPLOYEE
    Posted Aug 09, 2022 06:21 AM
    https://asp.arubanetworks.com/downloads;search=aruba-mib;products=Aruba%20Mobility%20Gateways

    ------------------------------
    Herman Robers
    ------------------------
    If you have urgent issues, always contact your Aruba partner, distributor, or Aruba TAC Support. Check https://www.arubanetworks.com/support-services/contact-support/ for how to contact Aruba TAC. Any opinions expressed here are solely my own and not necessarily that of Hewlett Packard Enterprise or Aruba Networks.

    In case your problem is solved, please invest the time to post a follow-up with the information on how you solved it. Others can benefit from that.
    ------------------------------