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

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

Post by ddunlap123 »

Yes, I see that - the two dots:
.1.3.6.1.4.1.26928.1.1.1.2.1.3.1.23..5

So you're not seeing that happen with other equipment you're polling in the network?
And the debug file shows that Cacti is having an issue with the two dots?
And when you run the straight query from the CLI, you're not seeing the dots?

I've not seen this happen before but with >300 downloads of the zip file, perhaps this is Cacti version-specific...
User avatar
macan
Cacti Guru User
Posts: 1137
Joined: Tue Mar 18, 2008 2:30 am
Location: Czech

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

Post by macan »

try rebuild poller cache
Let the Cacti grow!
tka113
Posts: 7
Joined: Wed May 24, 2023 10:08 pm

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

Post by tka113 »

tka113 wrote: Mon May 29, 2023 11:33 pm
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
problem solved by modified the line <oid_index_parse>OID/REGEXP:^.{20}(.*)</oid_index_parse> to <oid_index_parse>OID/REGEXP:^.{20,21}(.*)</oid_index_parse>
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: Sat Jun 13, 2015 1:33 pm 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
can you help me? i use this script to monitor the cpu, memory of 90 APs, using poller spine (4procs/4threads), 5mins polling interval, after the poller run i received this log

poller run-time:
14:02:23 - SYSTEM STATS: Time:140.2924 Method:spine Processes:4 Threads:4 Hosts:87 HostsPerProcess:22 DataSources:432 RRDsProcessed:344


error appeared on randomly devices (about 20 to 22 devices per polling)
14:00:44 SPINE: Poller[Main Poller] PID[12365] PT[139801882621696] Device[xxx1] DS[|host| - Aerohive Memory] Graphs[xxx1 - AerohiveMemory] ERROR: Empty result [ip-xxx2]: '/usr/bin/expect /var/lib/cacti/scripts/moremem.exp '1ip-xxx' mypassword'

14:00:43 - SPINE: Poller[Main Poller] PID[12369] PT[140591593682688] Device[xxx2] DS[AerohiveCPU] Graphs[xxx2 - AerohiveCPU] ERROR: Empty result [ip-xxx2]: '/usr/bin/expect /var/lib/cacti/scripts/cpu.exp 'xxx2' mypassword'
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests