Aerohive wireless template for user-count, cpu, memory

Templates, scripts for templates, scripts and requests for templates.

Moderators: Developers, Moderators

ddunlap123
Posts: 28
Joined: Fri May 15, 2015 7:08 pm

Aerohive wireless template for user-count, cpu, memory

Post by ddunlap123 »

The attached zip file contains Cacti host template for Aerohive cpu, memory, user tracking by radio
This was tested on Cacti version = 0.8.8.b on Centos 6.6
Attachments
CPU screenshot
CPU screenshot
cpu.png (76.03 KiB) Viewed 6364 times
Memory screenshot
Memory screenshot
memory.png (38.01 KiB) Viewed 6364 times
Clients screenshot
Clients screenshot
clients.png (47.26 KiB) Viewed 6364 times
aerohive.zip
(129.17 KiB) Downloaded 460 times
ddunlap123
Posts: 28
Joined: Fri May 15, 2015 7:08 pm

Re: Aerohive wireless template for user-count, cpu, memory

Post by ddunlap123 »

Corrections made to memory horizontal scale legend (K->M) and additional memory values graphed (3->7).
Attachments
aerohive.zip
(176.42 KiB) Downloaded 356 times
aeromem7.png
aeromem7.png (49.9 KiB) Viewed 6296 times
User avatar
dust2k
Cacti User
Posts: 101
Joined: Sun Dec 04, 2005 3:14 am

Re: Aerohive wireless template for user-count, cpu, memory

Post by dust2k »

nice templates and script! I have already put into my production environment, just one more question: is it possible to have user count on each SSID If I have multiple SSIDs?
This is just the beginning!
ddunlap123
Posts: 28
Joined: Fri May 15, 2015 7:08 pm

Re: Aerohive wireless template for user-count, cpu, memory

Post by ddunlap123 »

I fixed up the script to do users by radio/SSID but would like it tested (not sure how Cacti handles possible 'null' counts). Can you shoot me an email (information in readme in zip) to get the script?
User avatar
dust2k
Cacti User
Posts: 101
Joined: Sun Dec 04, 2005 3:14 am

Re: Aerohive wireless template for user-count, cpu, memory

Post by dust2k »

Thanks for prompt response, I will drop you an email in short time to get updated script, I found one thing is the graph show there is one user during this weekend, but actually no one at all is in office, but I haven't get on Hivemanager to check there is actually a user or not, will let you know once I checked up.
This is just the beginning!
ddunlap123
Posts: 28
Joined: Fri May 15, 2015 7:08 pm

Re: Aerohive wireless template for user-count, cpu, memory

Post by ddunlap123 »

The script to get a user count by SSID/radio is working. This and instructions are included in the updated zip file.
Attachments
aerohive.zip
9/1/2015 users/SSID/radio addition
(930.21 KiB) Downloaded 473 times
ddunlap123
Posts: 28
Joined: Fri May 15, 2015 7:08 pm

Re: Aerohive wireless template for user-count, cpu, memory

Post by ddunlap123 »

The attached template is for Aerohive radio % busy (and other traffic metrics) as reported via snmp.
ddunlap123
Posts: 28
Joined: Fri May 15, 2015 7:08 pm

Re: Aerohive wireless template for user-count, cpu, memory

Post by ddunlap123 »

And the file.
aerointer.zip
(382.07 KiB) Downloaded 500 times
tka113
Posts: 7
Joined: Wed May 24, 2023 10:08 pm

Re: Aerohive wireless template for user-count, cpu, memory

Post by tka113 »

hi, i use the template aerointer.zip but the graphs is empty and do not any infomation, my cacti version is 1.2.21 and i can not import aerointer.xml into cacti
tka113
Posts: 7
Joined: Wed May 24, 2023 10:08 pm

Re: Aerohive wireless template for user-count, cpu, memory

Post by tka113 »

ddunlap123 wrote: Mon Sep 14, 2015 3:38 pm And the file.aerointer.zip
hi, i use the template aerointer.zip but the graphs is empty and do not any infomation, my cacti version is 1.2.21 and i can not import aerointer.xml into cacti, can you help me?
ddunlap123
Posts: 28
Joined: Fri May 15, 2015 7:08 pm

Re: Aerohive wireless template for user-count, cpu, memory

Post by ddunlap123 »

I've not tried the xml import on the later Cacti version you're on. It worked for me on Cacti 0.8.8.b. Are you able to import other xml files into Cacti? If you build your own xml file (Thomas Urban's Cacti beginner's guide is a good reference) for something other than Aerohive, does that work?
tka113
Posts: 7
Joined: Wed May 24, 2023 10:08 pm

Re: Aerohive wireless template for user-count, cpu, memory

Post by tka113 »

ddunlap123 wrote: Thu May 25, 2023 7:44 am I've not tried the xml import on the later Cacti version you're on. It worked for me on Cacti 0.8.8.b. Are you able to import other xml files into Cacti? If you build your own xml file (Thomas Urban's Cacti beginner's guide is a good reference) for something other than Aerohive, does that work?
all the .xml file is working well, except the aerointer.xml file
i don't understand how aerointer.xml file works, i can not import it, but when i put it in /usr/share/cacti/resource/snmp_queries/ and run the verbose query of AeroInterDQ on the GUI, it said like below


Total: 0.000000, Delta: 0.000000, Found data query XML file at '/usr/share/cacti/resource/snmp_queries/aerointer.xml'
Total: 0.010000, Delta: 0.000000, Running Data Query [34].
Total: 0.010000, Delta: 0.000000, Found Type = '3' [SNMP Query].
Total: 0.010000, Delta: 0.000000, XML file parsed ok.
Total: 0.010000, Delta: 0.000000, Auto Bulk Walk Size Selected.
Total: 0.020000, Delta: 0.010000, Tested Bulk Walk Size 1 with a response of 0.0142.
Total: 0.030000, Delta: 0.010000, Tested Bulk Walk Size 5 with a response of 0.0085.
Total: 0.040000, Delta: 0.000000, Tested Bulk Walk Size 10 with a response of 0.0036.
Total: 0.040000, Delta: 0.000000, Tested Bulk Walk Size 15 with a response of 0.0025.
Total: 0.040000, Delta: 0.000000, Tested Bulk Walk Size 20 with a response of 0.0033.
Total: 0.040000, Delta: 0.000000, Bulk Walk Size selected was 15.
Total: 0.040000, Delta: 0.000000, <oid_num_indexes> missing in XML file, 'Index Count Changed' emulated by counting oid_index entries
Total: 0.040000, Delta: 0.000000, Executing SNMP walk for list of indexes @ '.1.3.6.1.2.1.2.2.1.1' Index Count: 11
Total: 0.040000, Delta: 0.000000, Index found at OID: '.1.3.6.1.2.1.2.2.1.1.1' value: '1'
Total: 0.040000, Delta: 0.000000, Index found at OID: '.1.3.6.1.2.1.2.2.1.1.2' value: '2'
Total: 0.040000, Delta: 0.000000, Index found at OID: '.1.3.6.1.2.1.2.2.1.1.3' value: '3'
Total: 0.040000, Delta: 0.000000, Index found at OID: '.1.3.6.1.2.1.2.2.1.1.5' value: '5'
Total: 0.040000, Delta: 0.000000, Index found at OID: '.1.3.6.1.2.1.2.2.1.1.6' value: '6'
Total: 0.040000, Delta: 0.000000, Index found at OID: '.1.3.6.1.2.1.2.2.1.1.9' value: '9'
Total: 0.040000, Delta: 0.000000, Index found at OID: '.1.3.6.1.2.1.2.2.1.1.10' value: '10'
Total: 0.040000, Delta: 0.000000, Index found at OID: '.1.3.6.1.2.1.2.2.1.1.11' value: '11'
Total: 0.040000, Delta: 0.000000, Index found at OID: '.1.3.6.1.2.1.2.2.1.1.12' value: '12'
Total: 0.040000, Delta: 0.000000, Index found at OID: '.1.3.6.1.2.1.2.2.1.1.13' value: '13'
Total: 0.040000, Delta: 0.000000, Index found at OID: '.1.3.6.1.2.1.2.2.1.1.14' value: '14'
Total: 0.040000, Delta: 0.000000, Filtering list of indexes @ '.1.3.6.1.2.1.2.2.1.1' Index Count: 11
Total: 0.040000, Delta: 0.000000, Filtered Index found at OID: '.1.3.6.1.2.1.2.2.1.1.1' value: '.1'
Total: 0.040000, Delta: 0.000000, Filtered Index found at OID: '.1.3.6.1.2.1.2.2.1.1.2' value: '.2'
Total: 0.040000, Delta: 0.000000, Filtered Index found at OID: '.1.3.6.1.2.1.2.2.1.1.3' value: '.3'
Total: 0.040000, Delta: 0.000000, Filtered Index found at OID: '.1.3.6.1.2.1.2.2.1.1.5' value: '.5'
Total: 0.040000, Delta: 0.000000, Filtered Index found at OID: '.1.3.6.1.2.1.2.2.1.1.6' value: '.6'
Total: 0.040000, Delta: 0.000000, Filtered Index found at OID: '.1.3.6.1.2.1.2.2.1.1.9' value: '.9'
Total: 0.040000, Delta: 0.000000, Filtered Index found at OID: '.1.3.6.1.2.1.2.2.1.1.10' value: '.10'
Total: 0.040000, Delta: 0.000000, Filtered Index found at OID: '.1.3.6.1.2.1.2.2.1.1.11' value: '.11'
Total: 0.040000, Delta: 0.000000, Filtered Index found at OID: '.1.3.6.1.2.1.2.2.1.1.12' value: '.12'
Total: 0.040000, Delta: 0.000000, Filtered Index found at OID: '.1.3.6.1.2.1.2.2.1.1.13' value: '.13'
Total: 0.040000, Delta: 0.000000, Filtered Index found at OID: '.1.3.6.1.2.1.2.2.1.1.14' value: '.14


https://drive.google.com/file/d/1iK9eWW ... share_link
https://drive.google.com/file/d/1Xw5IkE ... share_link
I can the the interfaces of APs show up, but when i create a graph, for example %busy, nothing has been shown. Did i do anything wrong?
Image
Image
ddunlap123
Posts: 28
Joined: Fri May 15, 2015 7:08 pm

Re: Aerohive wireless template for user-count, cpu, memory

Post by ddunlap123 »

Did you look at the aerointer.odt file in with the zip?

In the one zip file - aerohive.zip - there is a file aerointer.odt which shows the snmp query which is run to get radio variables.

If you do an snmpwalk of an AP on:
.1.3.6.1.4.1.26928.1.1.1.2.1.3.1.
are there results returned?

If there are no results returned, this is not a Cacti problem - you would need to try snmpwalk of other variables to see if you have a general problem, community string problem, AP problem, mib support problem, etc.

If results ARE returned but graphs do not work, you would want to check the Cacti book - Cacti Beginner's Guide -
Author Thomas Urban - to see about turning on debugs and what files to look at for graphing problems.
tka113
Posts: 7
Joined: Wed May 24, 2023 10:08 pm

Re: Aerohive wireless template for user-count, cpu, memory

Post by tka113 »

ddunlap123 wrote: Mon May 29, 2023 7:08 pm Did you look at the aerointer.odt file in with the zip?

In the one zip file - aerohive.zip - there is a file aerointer.odt which shows the snmp query which is run to get radio variables.

If you do an snmpwalk of an AP on:
.1.3.6.1.4.1.26928.1.1.1.2.1.3.1.
are there results returned?

If there are no results returned, this is not a Cacti problem - you would need to try snmpwalk of other variables to see if you have a general problem, community string problem, AP problem, mib support problem, etc.

If results ARE returned but graphs do not work, you would want to check the Cacti book - Cacti Beginner's Guide -
Author Thomas Urban - to see about turning on debugs and what files to look at for graphing problems.
i've tried to walk the oid value and the results all returned
let met see the guide to fix this problem
tka113
Posts: 7
Joined: Wed May 24, 2023 10:08 pm

Re: Aerohive wireless template for user-count, cpu, memory

Post by tka113 »

ddunlap123 wrote: Mon May 29, 2023 7:08 pm Did you look at the aerointer.odt file in with the zip?

In the one zip file - aerohive.zip - there is a file aerointer.odt which shows the snmp query which is run to get radio variables.

If you do an snmpwalk of an AP on:
.1.3.6.1.4.1.26928.1.1.1.2.1.3.1.
are there results returned?

If there are no results returned, this is not a Cacti problem - you would need to try snmpwalk of other variables to see if you have a general problem, community string problem, AP problem, mib support problem, etc.

If results ARE returned but graphs do not work, you would want to check the Cacti book - Cacti Beginner's Guide -
Author Thomas Urban - to see about turning on debugs and what files to look at for graphing problems.
i think i have found the problem but don't know how to fix this
i viewed the poller cache and see something strange that have two dots in the oid when poller

SNMP Version: 2, Community: xxxxxxx, OID: .1.3.6.1.4.1.26928.1.1.1.2.1.3.1.23..5
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest