Controllerless Networks

last person joined: yesterday 

Instant Mode - the controllerless Wi-Fi solution that's easy to set up, is loaded with security and smarts, and won't break your budget
Expand all | Collapse all

Aruba OS 6.5.4.3 SNMP OID Guide

This thread has been viewed 44 times
  • 1.  Aruba OS 6.5.4.3 SNMP OID Guide

    Posted Nov 12, 2019 03:15 AM

    Hi,

     

    I am new monitoring aruba hardware and I would like to monitor it.

     

    I am trying to monitor an AP of Aruba, model APIN0315.

     

    I am using SNMPv2 and the Aruba OS version is 6.5.4.3

     

    I would like to have the SNMP file guide with the OIDs, but in the documentation there is nothing or I dont know to find it: https://support.arubanetworks.com/Documentation/tabid/77/DMXModule/512/EntryId/26664/Default.aspx

     

    Some one can help me?

     

    Thanks.



  • 2.  RE: Aruba OS 6.5.4.3 SNMP OID Guide
    Best Answer

    EMPLOYEE
    Posted Nov 12, 2019 04:44 AM

    you need to obtain the actual MIB files, which means you need to look in software (not documentation as you have linked) and get the MIB files from there.

     

    Aruba doesn't publish MIB documentation any more, you can

    a) manually edit the files and look around inside
    b) use something like iReasoning mib browser to load the MIBs and inspect
    c) sse snmpwalk to walk the entire Aruba MIB and put it into a text file, then inspect the text file.



  • 3.  RE: Aruba OS 6.5.4.3 SNMP OID Guide

    Posted Nov 12, 2019 06:48 AM

    I have read all the lines that snmpwalk gives me, but there is no nothing that matches with cpu load or free memory.

     

    Is possible to get the OID that monitor the CPU load or the free memory from the information that snmpwalk gives me?

     

    Thanks.



  • 4.  RE: Aruba OS 6.5.4.3 SNMP OID Guide

    EMPLOYEE
    Posted Nov 12, 2019 06:56 AM

    i suspect you dont have the MIBS loaded correctly

     

    root@kali-246:/home/mibs/8.6.0.0# snmpwalk -v2c -cpublic -O0X -mALL -M. 192.168.40.100 aruba | grep -i cpu
    AI-AP-MIB::aiAPCPUUtilization[STRING: 80:8d:b7:c4:38:4e] = INTEGER: 2
    AI-AP-MIB::aiAPCPUUtilization[STRING: 80:8d:b7:cd:46:74] = INTEGER: 6

     

    root@kali-246:/home/mibs/8.6.0.0# snmpwalk -v2c -cpublic -O0X -mALL -M. 192.168.40.100 aruba | grep -i mem
    AI-AP-MIB::aiAPMemoryFree[STRING: 80:8d:b7:c4:38:4e] = INTEGER: 283140096
    AI-AP-MIB::aiAPMemoryFree[STRING: 80:8d:b7:cd:46:74] = INTEGER: 282726400
    AI-AP-MIB::aiAPTotalMemory[STRING: 80:8d:b7:c4:38:4e] = INTEGER: 490201088
    AI-AP-MIB::aiAPTotalMemory[STRING: 80:8d:b7:cd:46:74] = INTEGER: 490201088
    root@kali-246:/home/mibs/8.6.0.0#



  • 5.  RE: Aruba OS 6.5.4.3 SNMP OID Guide

    Posted Nov 12, 2019 07:12 AM

    I am executing the next command:  #snmpwalk -v 2c -c "my-publyc-key" -m ALL ARUBA-IP > aruba.txt

     

    In the file I get, there is no cpu or memory information.

     

    If you want, I can send you the file by a private message.

     

    Thanks.



  • 6.  RE: Aruba OS 6.5.4.3 SNMP OID Guide

    EMPLOYEE
    Posted Nov 12, 2019 07:17 AM

    your invocation is wrong, please use the example I posted it should work fine (assuming you have unzipped the MIBs into some directory)

     

    you can attach the file here if you want, but again, you're calling snmpwalk wrong



  • 7.  RE: Aruba OS 6.5.4.3 SNMP OID Guide

    Posted Nov 12, 2019 09:24 AM
      |   view attached

    I think that the problem is that I didnt download that MIB file.

     

    Where can I download that file? Thanks.

     

    Any way, this is my result to the snmpwalk command.

    Attachment(s)

    txt
    aruba.txt   27 KB 1 version


  • 8.  RE: Aruba OS 6.5.4.3 SNMP OID Guide

    EMPLOYEE
    Posted Nov 12, 2019 09:33 AM

    It may be that you didnt download the MIB (which is fatal), but you also invoked snmpwalk wrong; please use my example not yours (and look at other examples in the forum). You should be able to get the MIBS from the support site - if you don't have login creds then you should contact your partner (or search around on the Internet, some of the opensource NMS projects may have copies).



  • 9.  RE: Aruba OS 6.5.4.3 SNMP OID Guide

    Posted Nov 13, 2019 06:18 AM

    My aruba os version is 6.5.4.3, I need the the MIB files for that version or the last one? If I need the last one, wich is?

     

    Sorry for the late replay.



  • 10.  RE: Aruba OS 6.5.4.3 SNMP OID Guide

    EMPLOYEE
    Posted Nov 13, 2019 06:49 AM

    there's not a lot of variation in the MIB files across releases, you can use any 6.5.4.x or higher (also the memory and cpu OIDs will be constant over many many releases, you can probably use any 6.5.x)



  • 11.  RE: Aruba OS 6.5.4.3 SNMP OID Guide

    Posted Nov 13, 2019 09:08 AM
      |   view attached

    I download aruba-instant-mibs_6.5.4.3_61959.tar.gz and unzipped.

     

    What means aruba in your command? # snmpwalk -v2c -cpublic -O0X -mALL -M. 192.168.40.100 aruba | grep -i cpu

     

    I am executing the next line inside the directory aruba-instant-mibs_6.5.4.3: # snmpwalk -v2c -cmy-key -O0X -mALL -M. 10.136.64.225

     

    Output: Cannot adopt OID in ARUBA-MIB, Cannot adopt OID in WLSR-AP-MIB, Cannot adopt OID in AI-AP-MIB,... and at the end, I get the same result I send you here yesterday, in the aruba.txt file.

     

    If I execute the command piped with grep -i cpu, there are no matches.



  • 12.  RE: Aruba OS 6.5.4.3 SNMP OID Guide

    EMPLOYEE
    Posted Nov 13, 2019 09:17 AM

    you also need standard mibs file, get it and unzip in same dir then it will work. 'aruba' keyword is required to walk aruba mib, which is where the CPU and memory is



  • 13.  RE: Aruba OS 6.5.4.3 SNMP OID Guide

    Posted Nov 13, 2019 09:38 AM

    I download also standard-mibs_6.5.4.3_61959.tar.gz and unzipped in the same directory as instant. 

     

    The output:(I omited aiVirtualControllerKey.0 and aiVirtualControllerName.0)

     

    [root@essanng1 all-mibs]# snmpwalk -v2c -cmy-key -O0X -mALL -M. 10.136.64.225 aruba
    Undefined OBJECT-GROUP (snmpBasicNotificationsGroup): At line 693 in ./v2-mib.my
    MIB search path: .
    Cannot find module (IANA-ADDRESS-FAMILY-NUMBERS-MIB): At line 32 in ./LLDP-MIB.my
    Did not find 'AddressFamilyNumbers' in module #-1 (./LLDP-MIB.my)
    Did not find 'zeroDotZero' in module SNMPv2-SMI (./alarm-mib-1.my)
    AI-AP-MIB::aiVirtualControllerKey.0 = STRING: 
    AI-AP-MIB::aiVirtualControllerName.0 = STRING:  
    AI-AP-MIB::aiVirtualControllerOrganization.0 = STRING:
    AI-AP-MIB::aiVirtualControllerVersion.0 = STRING: 6.5.4.3-6.5.4.3_61959
    AI-AP-MIB::aiVirtualControllerIPAddress.0 = IpAddress: 10.136.64.200
    AI-AP-MIB::aiMasterIPAddress.0 = IpAddress: 10.136.64.201
    AI-AP-MIB::aiSSIDIndex[0] = INTEGER: 0
    AI-AP-MIB::aiSSID[0] = STRING: indfagoin2
    AI-AP-MIB::aiSSIDStatus[0] = INTEGER: enable(0)
    AI-AP-MIB::aiManagedModeSinceLastSync.0 = STRING: 1970-01-01 01:00:00

     

    [root@essanng1 all-mibs]# snmpwalk -v2c -cmy-key -O0X -mALL -M. 10.136.64.225 aruba | grep -i cpu
    Undefined OBJECT-GROUP (snmpBasicNotificationsGroup): At line 693 in ./v2-mib.my
    MIB search path: .
    Cannot find module (IANA-ADDRESS-FAMILY-NUMBERS-MIB): At line 32 in ./LLDP-MIB.my
    Did not find 'AddressFamilyNumbers' in module #-1 (./LLDP-MIB.my)
    Did not find 'zeroDotZero' in module SNMPv2-SMI (./alarm-mib-1.my)