Ad blocker detected: Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by disabling your ad blocker on our website.
SYSTEM STATS: Time:289.9115 Method:cmd.php Processes:1 Threads:N/A Hosts:17 HostsPerProcess:17 DataSources:535 RRDsProcessed:414
Now, according to http://www.cacti.net/spine_info.php , I understand that I should use spine, cause I'm almost at the 300s threshold.
I checked the download page and the latest spine version available is 0.8.7c. I have 0.8.7d cacti installed.
Q1: am I correct when I say that I should install spine (Time:289.9115") ?
Q2: will 0.8.7c spine work with 0.8.7d cacti?
Looking at your stats, I wouldn't go for Spine just yet. I would, however, increase the number of pollers, as I'm sure your system can do more than just one.
Try this first. Spine 0.8.7c will work with he "d" version of Cacti.
Cacti Version 0.8.8b Cacti OS Ubuntu LTS RRDTool Version RRDTool 1.4.7 Poller Information Type SPINE 0.8.8b
Many thanks for your suggestion! It worked - I noticed some improvements.
I increased number of pollers to 4 and also increased memory_limit in php.ini from 16 to 32M.
It was a great increase in performance, indeed.
But now I added a few more device - there are 29 now (17 before changes) and TIME is again close to limit:
SYSTEM STATS: Time:284.6405 Method:cmd.php Processes:4 Threads:N/A Hosts:29 HostsPerProcess:8 DataSources:938 RRDsProcessed:715
I intend to increase again the number of parallel pollers.
My questions is: how many pollers can I create? Would a number of 10, for instance, be supported?
You must have some very slow running scripts. In that case, I typically collect the data asynchronously and set it aside, then the poller simply grabs the local data. Much faster. What scripts are running so slow? What are they doing?
TheWitness
True understanding begins only when we realize how little we truly understand...
just to give a quick possible (!) explanation: the machine that hosts cacti is off-site : somewhere in eastern Europe and the monitored machines are in US...there's a major network delay , more then 200 ms to each monitored device....I think that could cause such big TIME values...If I'm wrong, please correct me.....The plan is that once I have a nice working cacti installation I'll migrate it on-site - hopefully performance will be improved...this is just to give you a quick answer (don't know if the correct one).
I didn't install plugin arch, I'll take a look later if things become worse...I just have a few dozens hosts to add...and of course lots of config/tuning,cause the env is very heterogeneous: all sorts of Win, Solaris, HP-UX, Linux, AIX...
I installed PA and polperf plugin, defined time and cycles in Settings. In Poller Performance there's nothing displayed (should I wait until ALL cycles are done??).
Here are some repetitive errors that might be interesting (from cacti.log):
03/27/2009 09:16:50 PM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'1146', SQL:"SELECT name, file, function FROM plugin_hooks WHERE status = 1 AND hook = 'poller_on_demand'"
03/27/2009 09:16:50 PM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'1146', SQL:"SELECT name, file, function FROM plugin_hooks WHERE status = 1 AND hook = 'poller_output'"
Your cacti log needs to be in DEBUG before POLLPERF will see anything. Let this happen for a couple of passes, then place your log back to LOW. Leaving it in DEBUG for a long period of time will kill the disk space on your server.
Cacti Version 0.8.8b Cacti OS Ubuntu LTS RRDTool Version RRDTool 1.4.7 Poller Information Type SPINE 0.8.8b
I'm pretty sure the plugin set DEBUG log level automatically, cause it was LOW before proceeding, and now it's on DEBUG. I guess it will reset back to LOW after job is done (I'll watch it, anyway...).
Number of cycles is set to 10 (default), 6 already passed, but still nothing displayed in Poller Performance page
Those errors from previous post occur continuously....
OK, I "think" I found something...
According to http://forums.cacti.net/about30590.html ,first I should've imported the pa.sql into mysql , which I haven't done so far...
I checked that file and it creates certain tables that are NOT present in my db (checked that, as well)...