[solved] Gaps in graph more frequent as devices are added

Post support questions that relate to the Windows 2003/2000/XP operating systems.

Moderators: Developers, Moderators

Post Reply
johnoliveira
Posts: 5
Joined: Mon Feb 09, 2009 6:55 pm

[solved] Gaps in graph more frequent as devices are added

Post by johnoliveira »

I am running Cacti (Nated) on W2003S in a VM enviroment behind a cisco firewall. Currently we poll less than a 1000 hosts but growing by the day. I forsee 5000 plus hosts very near future.

The graphs have random breaks in data. It may be one to 5 polls missing at a time in sequence randomly thru the hosts.

We graphed the local host cpu, mem etc and they all look good. Nothing seems to be taxed. We have try both pollers and have had the best results with cmd. My specs are below. Could the fix be a simple as adding memory (limit)?

I have provided a sample graph ..

Cacti Version 0.8.7b
Cacti OS win32
SNMP Version net-snmp
RRDTool Version RRDTool 1.2.x
Hosts 830
Graphs 7017
Data Sources Script/Command: 26
SNMP: 728
SNMP Query: 6332
Script Query: 2
Script - Script Server (PHP): 256
Script Query - Script Server: 4
Total: 7348
Poller Information
Interval 300
Type cmd.php
Items Action[0]: 13282
Action[1]: 30
Action[2]: 264
Total: 13576
Concurrent Processes 8
Max Threads 15
PHP Servers 1
Script Timeout 25
Max OID 10
Last Run Statistics Time:194.4903 Method:cmd.php Processes:8 Threads:N/A Hosts:831 HostsPerProcess:104 DataSources:13576 RRDsProcessed:4749
PHP Version 5.2.5
PHP OS WINNT
PHP uname Windows NT xxxxxxxxxxxxxx 5.2 build 3790
PHP SNMP Installed
max_execution_time 30
memory_limit 128M
It is highly suggested that you alter you php.ini memory_limit to 232M or higher. This suggested memory value is calculated based on the number of data source present and is only to be used as a suggestion, actual values may vary system to system based on requirements.
Attachments
csamp.JPG
csamp.JPG (33.91 KiB) Viewed 2939 times
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

A snapshot of your Cacti log file is more relevant to understand the crux of this problem.

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Any reason why you haven't raised the php memory_limit per the suggestion?
johnoliveira
Posts: 5
Joined: Mon Feb 09, 2009 6:55 pm

Post by johnoliveira »

No not really. However we shall give that a whirl.
johnoliveira
Posts: 5
Joined: Mon Feb 09, 2009 6:55 pm

Post by johnoliveira »

Followup Problem solved.

Turned out that when I polled the return data amount was much larger than I thought. 100mps switch could not handle 90 meg of data all at once. So went to a gig on gig pipe.

Thanks
drewshin99
Posts: 24
Joined: Thu Jan 22, 2009 5:06 pm

Post by drewshin99 »

seems like a awfully high amount of traffic...i have 1300 hosts with 25000 datasources and it uses about 100Kbytes/sec of traffic at most.
johnoliveira
Posts: 5
Joined: Mon Feb 09, 2009 6:55 pm

Post by johnoliveira »

I am just at 20000 cpe's. Will be adding alot more. Or at least my peeps will be keying them in. Thanks
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests