Wireless Access

Reply

Aruba stats to Graphite

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 :)


ACMX#255 | ACMP | ACCP | AWMP
www.securelink.nl
Guru Elite

Re: Aruba stats to Graphite

This is great. Thanks for sharing.


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


Tim Cappalli | Aruba Security TME
@timcappalli | timcappalli.me | ACMX #367 / ACCX #480

Re: Aruba stats to Graphite

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.


ACMX#255 | ACMP | ACCP | AWMP
www.securelink.nl
Guru Elite

Re: Aruba stats to Graphite

Gotcha. Thanks for the explanation!


Tim Cappalli | Aruba Security TME
@timcappalli | timcappalli.me | ACMX #367 / ACCX #480
Aruba

Re: Aruba stats to Graphite

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

 

 

------------------------------------------------
Systems Engineer, Northeast USA
ACCX | ACDX | ACMX

Re: Aruba stats to Graphite

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


ACMX#255 | ACMP | ACCP | AWMP
www.securelink.nl

Re: Aruba stats to Graphite

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!


ACMX#255 | ACMP | ACCP | AWMP
www.securelink.nl
Search Airheads
cancel
Showing results for 
Search instead for 
Did you mean: