Wireless Access

last person joined: 23 hours ago 

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

Aruba stats to Graphite

This thread has been viewed 0 times
  • 1.  Aruba stats to Graphite

    Posted Jan 04, 2015 05:01 PM

    Hi all,

     

    Graphite ( http://graphite.wikidot.com/ ) with Graphite-web is pretty awesome when it comes to easy composition of graphs. We've been using Graphite at several conferences, like at 31C3 ( http://events.ccc.de/ ).

     

    Some example graphs from 31C3:

     

    31c3_assoc_locations.png

     

    31c3_5ghz_util_saal1.png

     

    For more info about the infrastructure at 31C3 see this video: http://media.ccc.de/browse/congress/2014/31c3_-_6557_-_en_-_saal_g_-_201412301600_-_31c3_infrastructure_review_-_leon.html#video

     

     

    I've published the PHP script which gathers this data on Github: https://github.com/bitlair/aruba/blob/master/aruba_snmp_stats.php

     

    Currently only Aruba controllers are supported. Data gathering happens via SNMP. You will need SNMP support in PHP for this script to work.

     

    It is advised to create a 1 minute cronjob which executes the PHP script. You should increase MAX_UPDATES_PER_SECOND in carbon.conf if you have a lots of APs.

     

    AirWave should also have most of the data that is gathered in this script, however, AirWave doesn't have any easy means of comparing metrics in custom graphs.

     

    Let me know if this is script is useful for you guys :)



  • 2.  RE: Aruba stats to Graphite

    EMPLOYEE
    Posted Jan 04, 2015 05:04 PM

    This is great. Thanks for sharing.


    Does this script (or Graphite I guess) support SNMPv3?



  • 3.  RE: Aruba stats to Graphite

    Posted Jan 04, 2015 05:12 PM

    Graphite (graphing) with Carbon (storage backend) doesn't do any data-gathering. You will need to write your own scripts or use collectors (like Collectd) to add data in Carbon.

     

    I choose to create a script for the data-gathering because I needed to relate lots of metrics back to radio's, AP's, ESSID's, etc.

     

    The script currently uses SNMPv2, but SNMPv3 support can be added if this is useful.



  • 4.  RE: Aruba stats to Graphite

    EMPLOYEE
    Posted Jan 04, 2015 05:13 PM

    Gotcha. Thanks for the explanation!



  • 5.  RE: Aruba stats to Graphite

    Posted Jan 04, 2015 07:22 PM

    Thanks for sharing the script.


    For those that may read this and like working with Graphite, ClearPass (6.3 and higher) has Graphite functionality built-in to graph CPPM specific data/performance points.

     

    A technote is published on this topic:

    http://support.arubanetworks.com/Documentation/tabid/77/DMXModule/512/Command/Core_Download/Default.aspx?EntryId=13488

     

     



  • 6.  RE: Aruba stats to Graphite

    Posted Jan 05, 2015 03:58 AM

    @ clembo: are there any plans to integrate Graphite in AirWave?



  • 7.  RE: Aruba stats to Graphite

    Posted Jan 06, 2016 05:23 PM

    I've commited an update to the script, see: https://github.com/bitlair/aruba/

     

    Updates:

    - Metrics for each CPU core (useful for monitoring datapath CPUs)

    - Metrics for each authentication server (like RADIUS servers)

    - Metric for the number of active datapath sessions (uses new CLI script since ArubaOS does not expose this via SNMP)

     

    Also, a while back I've made a script to gather metrics from a Cisco WLC, see https://github.com/bitlair/cisco_wlc for this script.

     

    Enjoy!