Aruba Mobility Controller templates
Moderators: Developers, Moderators
Aruba Mobility Controller templates
Aruba MC templates, tested on Aruba OS 5.0 only (may work on 3.x)
Four templates and one data query included in the zip file below.
Some of the included stats are :
- CPU (up to 32 cpus)
- Memory
- Registered APs
- Associated Stations
- Average Users per AP
- Total Users
- Users by Authentication method (802.1x, captive portal etc)
cheers,
N!
This graph may need some explanation. The Unauth/Disassoc stat is calculated by a CDEF. It is the different between 'Total' and the sum of the other stats. What this figure turns out to be mean is 2 things: it is the sum of the unauthenticated users (those in "logon" type roles), and authenticated users who are no longer in the station table - i.e. those who've just disassociated for some reason. Apparently users hang around for a while in the user table even when they've left the station table in case they come back. The other stats all represent active,authenticated users.
Four templates and one data query included in the zip file below.
Some of the included stats are :
- CPU (up to 32 cpus)
- Memory
- Registered APs
- Associated Stations
- Average Users per AP
- Total Users
- Users by Authentication method (802.1x, captive portal etc)
cheers,
N!
This graph may need some explanation. The Unauth/Disassoc stat is calculated by a CDEF. It is the different between 'Total' and the sum of the other stats. What this figure turns out to be mean is 2 things: it is the sum of the unauthenticated users (those in "logon" type roles), and authenticated users who are no longer in the station table - i.e. those who've just disassociated for some reason. Apparently users hang around for a while in the user table even when they've left the station table in case they come back. The other stats all represent active,authenticated users.
- Attachments
-
- aruba_templates(niobe).zip
- templates
- (113.47 KiB) Downloaded 2530 times
Aruba MC: http://forums.cacti.net/viewtopic.php?f=12&t=42282
Bind 9.6 stats: http://forums.cacti.net/viewtopic.php?f ... 18&start=0
Cisco VLAN Stats: forums.cacti.net/viewtopic.php?t=26800
DHCPD stats: http://forums.cacti.net/viewtopic.php?f ... 5&p=208792
Enterasys CPU: http://forums.cacti.net/viewtopic.php?f=12&t=42279
F5 BigIP v10: http://forums.cacti.net/viewtopic.php?f=12&t=47429
Re: Aruba Mobility Controller templates
I cannot get the CPU or User template to work.. any Caveats?
Re: Aruba Mobility Controller templates
this is the error i get in the user graph:
RRDTool Says:
ERROR: invalid rpn expression in: f,,-
and this is the error i get with the CPU:
RRDTool Says:
ERROR: opening '/var/lib/cacti/rra/aruba_800_aruba_cpu_load_795.rrd': No such file or directory
RRDTool Says:
ERROR: invalid rpn expression in: f,,-
and this is the error i get with the CPU:
RRDTool Says:
ERROR: opening '/var/lib/cacti/rra/aruba_800_aruba_cpu_load_795.rrd': No such file or directory
Re: Aruba Mobility Controller templates
looks like i fixed the user stats.. your cdef was circular it was f minus the CDEF.. thus i just set the CDEF to this: f,a,-,b,-,c,-,d,-,e,- and it started graphing
Re: Aruba Mobility Controller templates
Thanks jplevel, I have noticed that when making the graphs the data items may be added/deleted and this can break the CDEF for users doing a fresh install
Aruba MC: http://forums.cacti.net/viewtopic.php?f=12&t=42282
Bind 9.6 stats: http://forums.cacti.net/viewtopic.php?f ... 18&start=0
Cisco VLAN Stats: forums.cacti.net/viewtopic.php?t=26800
DHCPD stats: http://forums.cacti.net/viewtopic.php?f ... 5&p=208792
Enterasys CPU: http://forums.cacti.net/viewtopic.php?f=12&t=42279
F5 BigIP v10: http://forums.cacti.net/viewtopic.php?f=12&t=47429
Re: Aruba Mobility Controller templates
Hello, this template is very useful for me.
But I can't create graph of CPU load, others seems to be working fine (I fixed CDEF as above).
When I create cpu load graph, three fields are requested. And I don't know what should I set.
・Output Type ID
・Index Value
・Index Type
Can you kindly suggest values for this? Should I install Aruba-MIB to determine cpu index ?
My aruba controller is Aruba3400(OS Version 5.0.3.0), and no multiple CPU.
Thank you.
But I can't create graph of CPU load, others seems to be working fine (I fixed CDEF as above).
When I create cpu load graph, three fields are requested. And I don't know what should I set.
・Output Type ID
・Index Value
・Index Type
Can you kindly suggest values for this? Should I install Aruba-MIB to determine cpu index ?
My aruba controller is Aruba3400(OS Version 5.0.3.0), and no multiple CPU.
Thank you.
Re: Aruba Mobility Controller templates
Something is wrong here - you shouldn't be prompted for indices, that is what the data query is for.
Have you added the data query to your host or added the graph by mistake?
Have you added the data query to your host or added the graph by mistake?
Aruba MC: http://forums.cacti.net/viewtopic.php?f=12&t=42282
Bind 9.6 stats: http://forums.cacti.net/viewtopic.php?f ... 18&start=0
Cisco VLAN Stats: forums.cacti.net/viewtopic.php?t=26800
DHCPD stats: http://forums.cacti.net/viewtopic.php?f ... 5&p=208792
Enterasys CPU: http://forums.cacti.net/viewtopic.php?f=12&t=42279
F5 BigIP v10: http://forums.cacti.net/viewtopic.php?f=12&t=47429
Re: Aruba Mobility Controller templates
I created a data query from arbua_cpu.xml with type "Get SNMP Data (Indexed)".
And I added the query to "Associated Data Queries" of the aruba device.
And the query found 1 Supervisor Card and 11 NPs by reload.
But I can't create cpu graph from template...
What should I do next? I'm not good at using cacti templates.
Thank you.
And I added the query to "Associated Data Queries" of the aruba device.
And the query found 1 Supervisor Card and 11 NPs by reload.
But I can't create cpu graph from template...
What should I do next? I'm not good at using cacti templates.
Thank you.
Re: Aruba Mobility Controller templates
Honestly, it's hard to say. Data queries based graphs have cost me more time with cacti than anything else. They are complex and hard to debug *sigh*
That said, let's have a go..
Your query sounds like it's working ok, but can you post the output of the 'verbose query' from the device page.
Also what cacti version?
That said, let's have a go..
Your query sounds like it's working ok, but can you post the output of the 'verbose query' from the device page.
Also what cacti version?
Aruba MC: http://forums.cacti.net/viewtopic.php?f=12&t=42282
Bind 9.6 stats: http://forums.cacti.net/viewtopic.php?f ... 18&start=0
Cisco VLAN Stats: forums.cacti.net/viewtopic.php?t=26800
DHCPD stats: http://forums.cacti.net/viewtopic.php?f ... 5&p=208792
Enterasys CPU: http://forums.cacti.net/viewtopic.php?f=12&t=42279
F5 BigIP v10: http://forums.cacti.net/viewtopic.php?f=12&t=47429
Re: Aruba Mobility Controller templates
Though I'm not sure that whether if I can describe my thought correctly,
did you include Data Query definitions (hash_04xxxx) in your template? (I can't find..)
Like this:
Data Queries
Data Queries - Associated Graph/Data Templates
// But sorry, I can't verify it because I don't have Aruba device..
did you include Data Query definitions (hash_04xxxx) in your template? (I can't find..)
Like this:
Code: Select all
<cacti>
<hash_040021...>
<name>Aruba CPU Load</name>
<description>Collect Aruba CPU Indices and Load</description>
<xml_path><path_cacti>/resource/snmp_queries/aruba_cpu.xml</xml_path>
<data_input_id>hash_030021...</data_input_id>
<graphs>
<hash_110021...>
<name>Aruba - CPU Load</name>
<graph_template_id>hash_000021...</graph_template_id>
<rrd>
<item_000>
<snmp_field_name>arubaCpuLoad</snmp_field_name>
<data_template_id>hash_010021...</data_template_id>
<data_template_rrd_id>hash_080021...</data_template_rrd_id>
</item_000>
</rrd>
<sv_graph>
<hash_120021...>
<field_name>title</field_name>
<sequence>1</sequence>
<text>|host_description| - Aruba - |query_arubaCpuDesc| Load</text>
</hash_120021...>
</sv_graph>
<sv_data_source>
<hash_130021...>
<field_name>name</field_name>
<data_template_id>hash_010021...</data_template_id>
<sequence>1</sequence>
<text>|host_description| - Aruba - |query_arubaCpuDesc| Load</text>
</hash_130021...>
</sv_data_source>
</hash_110021...>
</graphs>
</hash_040021...>
</cacti>
Data Queries - Associated Graph/Data Templates
// But sorry, I can't verify it because I don't have Aruba device..
Re: Aruba Mobility Controller templates
Hello, this is verbose output of data query.
And my cacti version is 0.8.7g.
+ Running data query [10].
+ Found type = '3' [snmp query].
+ Found data query XML file at '/usr/share/cacti/resource/aruba_cpu.xml'
+ XML file parsed ok.
+ Executing SNMP walk for list of indexes @ '.1.3.6.1.4.1.14823.2.2.1.1.1.9.1.3'
+ Index found at OID: '1.3.6.1.4.1.14823.2.2.1.1.1.9.1.3.1' value: '14'
+ Index found at OID: '1.3.6.1.4.1.14823.2.2.1.1.1.9.1.3.4' value: '0'
+ Index found at OID: '1.3.6.1.4.1.14823.2.2.1.1.1.9.1.3.5' value: '0'
+ Index found at OID: '1.3.6.1.4.1.14823.2.2.1.1.1.9.1.3.6' value: '0'
+ Index found at OID: '1.3.6.1.4.1.14823.2.2.1.1.1.9.1.3.7' value: '0'
+ Index found at OID: '1.3.6.1.4.1.14823.2.2.1.1.1.9.1.3.8' value: '0'
+ Index found at OID: '1.3.6.1.4.1.14823.2.2.1.1.1.9.1.3.9' value: '0'
+ Index found at OID: '1.3.6.1.4.1.14823.2.2.1.1.1.9.1.3.10' value: '0'
+ Index found at OID: '1.3.6.1.4.1.14823.2.2.1.1.1.9.1.3.11' value: '0'
+ Index found at OID: '1.3.6.1.4.1.14823.2.2.1.1.1.9.1.3.12' value: '0'
+ Index found at OID: '1.3.6.1.4.1.14823.2.2.1.1.1.9.1.3.13' value: '0'
+ Index found at OID: '1.3.6.1.4.1.14823.2.2.1.1.1.9.1.3.14' value: '0'
+ Index found at OID: '1.3.6.1.4.1.14823.2.2.1.1.1.9.1.3.15' value: '0'
+ index_parse at OID: '1.3.6.1.4.1.14823.2.2.1.1.1.9.1.3.1' results: '1'
+ index_parse at OID: '1.3.6.1.4.1.14823.2.2.1.1.1.9.1.3.4' results: '4'
+ index_parse at OID: '1.3.6.1.4.1.14823.2.2.1.1.1.9.1.3.5' results: '5'
+ index_parse at OID: '1.3.6.1.4.1.14823.2.2.1.1.1.9.1.3.6' results: '6'
+ index_parse at OID: '1.3.6.1.4.1.14823.2.2.1.1.1.9.1.3.7' results: '7'
+ index_parse at OID: '1.3.6.1.4.1.14823.2.2.1.1.1.9.1.3.8' results: '8'
+ index_parse at OID: '1.3.6.1.4.1.14823.2.2.1.1.1.9.1.3.9' results: '9'
+ index_parse at OID: '1.3.6.1.4.1.14823.2.2.1.1.1.9.1.3.10' results: '10'
+ index_parse at OID: '1.3.6.1.4.1.14823.2.2.1.1.1.9.1.3.11' results: '11'
+ index_parse at OID: '1.3.6.1.4.1.14823.2.2.1.1.1.9.1.3.12' results: '12'
+ index_parse at OID: '1.3.6.1.4.1.14823.2.2.1.1.1.9.1.3.13' results: '13'
+ index_parse at OID: '1.3.6.1.4.1.14823.2.2.1.1.1.9.1.3.14' results: '14'
+ index_parse at OID: '1.3.6.1.4.1.14823.2.2.1.1.1.9.1.3.15' results: '15'
+ Inserting index data for field 'arubaCpuIndex' [value='1']
+ Inserting index data for field 'arubaCpuIndex' [value='4']
+ Inserting index data for field 'arubaCpuIndex' [value='5']
+ Inserting index data for field 'arubaCpuIndex' [value='6']
+ Inserting index data for field 'arubaCpuIndex' [value='7']
+ Inserting index data for field 'arubaCpuIndex' [value='8']
+ Inserting index data for field 'arubaCpuIndex' [value='9']
+ Inserting index data for field 'arubaCpuIndex' [value='10']
+ Inserting index data for field 'arubaCpuIndex' [value='11']
+ Inserting index data for field 'arubaCpuIndex' [value='12']
+ Inserting index data for field 'arubaCpuIndex' [value='13']
+ Inserting index data for field 'arubaCpuIndex' [value='14']
+ Inserting index data for field 'arubaCpuIndex' [value='15']
+ Located input field 'arubaCpuDesc' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.4.1.14823.2.2.1.1.1.9.1.2'
+ Found item [arubaCpuDesc='Supervisor Card CPU'] index: 1 [from value]
+ Found item [arubaCpuDesc='Network Processor CPU4'] index: 4 [from value]
+ Found item [arubaCpuDesc='Network Processor CPU5'] index: 5 [from value]
+ Found item [arubaCpuDesc='Network Processor CPU6'] index: 6 [from value]
+ Found item [arubaCpuDesc='Network Processor CPU7'] index: 7 [from value]
+ Found item [arubaCpuDesc='Network Processor CPU8'] index: 8 [from value]
+ Found item [arubaCpuDesc='Network Processor CPU9'] index: 9 [from value]
+ Found item [arubaCpuDesc='Network Processor CPU10'] index: 10 [from value]
+ Found item [arubaCpuDesc='Network Processor CPU11'] index: 11 [from value]
+ Found item [arubaCpuDesc='Network Processor CPU12'] index: 12 [from value]
+ Found item [arubaCpuDesc='Network Processor CPU13'] index: 13 [from value]
+ Found item [arubaCpuDesc='Network Processor CPU14'] index: 14 [from value]
+ Found item [arubaCpuDesc='Network Processor CPU15'] index: 15 [from value]
+ Found data query XML file at '/usr/share/cacti/resource/aruba_cpu.xml'
+ Found data query XML file at '/usr/share/cacti/resource/aruba_cpu.xml'
+ Found data query XML file at '/usr/share/cacti/resource/aruba_cpu.xml'
I attach screen shots of 'device view' and 'Data Queries view'.
Thank you.
And my cacti version is 0.8.7g.
+ Running data query [10].
+ Found type = '3' [snmp query].
+ Found data query XML file at '/usr/share/cacti/resource/aruba_cpu.xml'
+ XML file parsed ok.
+ Executing SNMP walk for list of indexes @ '.1.3.6.1.4.1.14823.2.2.1.1.1.9.1.3'
+ Index found at OID: '1.3.6.1.4.1.14823.2.2.1.1.1.9.1.3.1' value: '14'
+ Index found at OID: '1.3.6.1.4.1.14823.2.2.1.1.1.9.1.3.4' value: '0'
+ Index found at OID: '1.3.6.1.4.1.14823.2.2.1.1.1.9.1.3.5' value: '0'
+ Index found at OID: '1.3.6.1.4.1.14823.2.2.1.1.1.9.1.3.6' value: '0'
+ Index found at OID: '1.3.6.1.4.1.14823.2.2.1.1.1.9.1.3.7' value: '0'
+ Index found at OID: '1.3.6.1.4.1.14823.2.2.1.1.1.9.1.3.8' value: '0'
+ Index found at OID: '1.3.6.1.4.1.14823.2.2.1.1.1.9.1.3.9' value: '0'
+ Index found at OID: '1.3.6.1.4.1.14823.2.2.1.1.1.9.1.3.10' value: '0'
+ Index found at OID: '1.3.6.1.4.1.14823.2.2.1.1.1.9.1.3.11' value: '0'
+ Index found at OID: '1.3.6.1.4.1.14823.2.2.1.1.1.9.1.3.12' value: '0'
+ Index found at OID: '1.3.6.1.4.1.14823.2.2.1.1.1.9.1.3.13' value: '0'
+ Index found at OID: '1.3.6.1.4.1.14823.2.2.1.1.1.9.1.3.14' value: '0'
+ Index found at OID: '1.3.6.1.4.1.14823.2.2.1.1.1.9.1.3.15' value: '0'
+ index_parse at OID: '1.3.6.1.4.1.14823.2.2.1.1.1.9.1.3.1' results: '1'
+ index_parse at OID: '1.3.6.1.4.1.14823.2.2.1.1.1.9.1.3.4' results: '4'
+ index_parse at OID: '1.3.6.1.4.1.14823.2.2.1.1.1.9.1.3.5' results: '5'
+ index_parse at OID: '1.3.6.1.4.1.14823.2.2.1.1.1.9.1.3.6' results: '6'
+ index_parse at OID: '1.3.6.1.4.1.14823.2.2.1.1.1.9.1.3.7' results: '7'
+ index_parse at OID: '1.3.6.1.4.1.14823.2.2.1.1.1.9.1.3.8' results: '8'
+ index_parse at OID: '1.3.6.1.4.1.14823.2.2.1.1.1.9.1.3.9' results: '9'
+ index_parse at OID: '1.3.6.1.4.1.14823.2.2.1.1.1.9.1.3.10' results: '10'
+ index_parse at OID: '1.3.6.1.4.1.14823.2.2.1.1.1.9.1.3.11' results: '11'
+ index_parse at OID: '1.3.6.1.4.1.14823.2.2.1.1.1.9.1.3.12' results: '12'
+ index_parse at OID: '1.3.6.1.4.1.14823.2.2.1.1.1.9.1.3.13' results: '13'
+ index_parse at OID: '1.3.6.1.4.1.14823.2.2.1.1.1.9.1.3.14' results: '14'
+ index_parse at OID: '1.3.6.1.4.1.14823.2.2.1.1.1.9.1.3.15' results: '15'
+ Inserting index data for field 'arubaCpuIndex' [value='1']
+ Inserting index data for field 'arubaCpuIndex' [value='4']
+ Inserting index data for field 'arubaCpuIndex' [value='5']
+ Inserting index data for field 'arubaCpuIndex' [value='6']
+ Inserting index data for field 'arubaCpuIndex' [value='7']
+ Inserting index data for field 'arubaCpuIndex' [value='8']
+ Inserting index data for field 'arubaCpuIndex' [value='9']
+ Inserting index data for field 'arubaCpuIndex' [value='10']
+ Inserting index data for field 'arubaCpuIndex' [value='11']
+ Inserting index data for field 'arubaCpuIndex' [value='12']
+ Inserting index data for field 'arubaCpuIndex' [value='13']
+ Inserting index data for field 'arubaCpuIndex' [value='14']
+ Inserting index data for field 'arubaCpuIndex' [value='15']
+ Located input field 'arubaCpuDesc' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.4.1.14823.2.2.1.1.1.9.1.2'
+ Found item [arubaCpuDesc='Supervisor Card CPU'] index: 1 [from value]
+ Found item [arubaCpuDesc='Network Processor CPU4'] index: 4 [from value]
+ Found item [arubaCpuDesc='Network Processor CPU5'] index: 5 [from value]
+ Found item [arubaCpuDesc='Network Processor CPU6'] index: 6 [from value]
+ Found item [arubaCpuDesc='Network Processor CPU7'] index: 7 [from value]
+ Found item [arubaCpuDesc='Network Processor CPU8'] index: 8 [from value]
+ Found item [arubaCpuDesc='Network Processor CPU9'] index: 9 [from value]
+ Found item [arubaCpuDesc='Network Processor CPU10'] index: 10 [from value]
+ Found item [arubaCpuDesc='Network Processor CPU11'] index: 11 [from value]
+ Found item [arubaCpuDesc='Network Processor CPU12'] index: 12 [from value]
+ Found item [arubaCpuDesc='Network Processor CPU13'] index: 13 [from value]
+ Found item [arubaCpuDesc='Network Processor CPU14'] index: 14 [from value]
+ Found item [arubaCpuDesc='Network Processor CPU15'] index: 15 [from value]
+ Found data query XML file at '/usr/share/cacti/resource/aruba_cpu.xml'
+ Found data query XML file at '/usr/share/cacti/resource/aruba_cpu.xml'
+ Found data query XML file at '/usr/share/cacti/resource/aruba_cpu.xml'
I attach screen shots of 'device view' and 'Data Queries view'.
Thank you.
- Attachments
-
- ScreenClip2.png (155.55 KiB) Viewed 19176 times
-
- ScreenClip.png (103.06 KiB) Viewed 19176 times
Re: Aruba Mobility Controller templates
There's the problem - there should be an associated graph template under the data query "Aruba - cpu load"
You can manually add it if it still exists. The screen should like below after adding.
You can manually add it if it still exists. The screen should like below after adding.
- Attachments
-
- associated graph template
- Capture.PNG (47.82 KiB) Viewed 19170 times
Aruba MC: http://forums.cacti.net/viewtopic.php?f=12&t=42282
Bind 9.6 stats: http://forums.cacti.net/viewtopic.php?f ... 18&start=0
Cisco VLAN Stats: forums.cacti.net/viewtopic.php?t=26800
DHCPD stats: http://forums.cacti.net/viewtopic.php?f ... 5&p=208792
Enterasys CPU: http://forums.cacti.net/viewtopic.php?f=12&t=42279
F5 BigIP v10: http://forums.cacti.net/viewtopic.php?f=12&t=47429
Re: Aruba Mobility Controller templates
Thank you very much, niobe. Finally I got cpu load graphs with your advise
When I associated the query with the graph template, 'Suggested Values' are empty.
Though I did not manually set them, cpu load graphs were created.
When I associated the query with the graph template, 'Suggested Values' are empty.
Though I did not manually set them, cpu load graphs were created.
Re: Aruba Mobility Controller templates
When trying to import the cacti_graph_template_aruba_-_user_stats.xml I receive the following message, Cacti version 0.8.8.
Notice: Only variable references should be returned by reference in /var/www/html/cacti-0.8.8/lib/import.php on line 689
Fatal error: Unsupported operand types in /var/www/html/cacti-0.8.8/lib/import.php on line 86
cacti.log has one line parse_xml_hash ERROR wrong hash format.
Any ideas ??
Notice: Only variable references should be returned by reference in /var/www/html/cacti-0.8.8/lib/import.php on line 689
Fatal error: Unsupported operand types in /var/www/html/cacti-0.8.8/lib/import.php on line 86
cacti.log has one line parse_xml_hash ERROR wrong hash format.
Any ideas ??
Re: Aruba Mobility Controller templates
Maybe incompatibility with 0.88? These were developed on 0.87g.
Aruba MC: http://forums.cacti.net/viewtopic.php?f=12&t=42282
Bind 9.6 stats: http://forums.cacti.net/viewtopic.php?f ... 18&start=0
Cisco VLAN Stats: forums.cacti.net/viewtopic.php?t=26800
DHCPD stats: http://forums.cacti.net/viewtopic.php?f ... 5&p=208792
Enterasys CPU: http://forums.cacti.net/viewtopic.php?f=12&t=42279
F5 BigIP v10: http://forums.cacti.net/viewtopic.php?f=12&t=47429
Who is online
Users browsing this forum: No registered users and 4 guests