Monitoring, Management & Location Tracking

 View Only
last person joined: one year ago 

Articles relating to existing and legacy HPE Aruba Networking products and solutions including AirWave, Meridian Apps, ALE, Central / HPE Aruba Networking Central, and UXI / HPE Aruba Networking User Experience Insight

Determine which controllers aren't configured to send AMON data such as channel utilization 

Jun 29, 2014 11:29 PM

The following one-line command retrieves all of the controllers that haven't been configured to send AMON data. It does so by first looking at all of the APs that have channel utilization. From this list, it looks up the controllers for those APs since those are the controllers that have AMON data coming in. Finally, it searches the database for the controllers not in this list and prints out those controllers in CSV format. It saves this list of controllers to /tmp/controllers_without_channel_util.txt

# ls /var/airwave/rrd/channel_utilization/ | xargs -IFOO perl -e 'use Mercury::RRD::SSID::Utility qw(rrdtool_decode); print rrdtool_decode("FOO") . "
";' | xargs -IFOO /opt/airwave/pgsql/bin/psql -Uairwave airwave --no-align --tuples-only -c "select controller_id from ap where lan_mac = 'FOO'" | sort | uniq | tr "
" "," | sed 's/,$//' | xargs -IFOO /opt/airwave/pgsql/bin/psql -Uairwave airwave --no-align --field-separator , -c "select id,apparent_ip,name,lan_mac,type,version from ap where controls_aps = 1 and id not in (FOO)" > /tmp/controllers_without_channel_util.txt

Caveats:
- This command does not discriminate against vendors so it could contain non-AMON supporting devices in the output list.
- This command could report false positive Aruba controllers if AMON data is enabled but no AMON data has been sent. This is unlikely unless there are no APs for that controller.
- Please follow all best practices about supported AOS versions before enabling AMON data.

Statistics
0 Favorited
0 Views
0 Files
0 Shares
0 Downloads

Related Entries and Links

No Related Resource entered.