Please be VERY, VERY careful. This version will automatically switch logging level to DEBUG and reset it after some cycles. I've taken very much effort to avoid mis-behaviour. But if resetting logging level fails, this will SURELY BLOW YOUR FILESYSTEM. I don't hope so, but .../*******************************************************************************
Author ......... Reinhard Scheck
Contact ........ gandalf @ cacti forums
Home Site ...... http://www.cacti.net
Program ........ Cacti Poller Performance
Version ........ 0.32
Purpose ........ Determine poller performance per Host
*******************************************************************************/
----[ Purpose
This plugin analyzes cacti.log output running DEBUG mode
It then computes some runtime statistics per Host
----[ Features
1) Will switch to DEBUG mode at a predefined timestamp
2) Will stop DEBUGging after a predefined amount of polling cycles
3) Then analyzes the complete cacti.log file and fills a SQL table for
each host
4) Features a GUI to display results of that table.
Allows for sorting of each column in ASC and DESC order.
----[ Prerequisites
Before you install PollPerf, you need to have met the following pre-requisites:
1) Cacti 0.8.6i or Above. Versions of Cacti prior to 0.8.6 are not supported.
2) Cacti Plugin Architecture. Tested with V1.1, should work at least with V1.0
----[ Installation
Install is similar to other plugins.
Realm ID 8 is used (console access). No sql import necessary
----[ Usage
Define Settings first
- a timestamp to start DEBUG level
- a count for the numbers of polling cycles for sampling
Goto "Poller Performance" item found below "Utilities". Find all
statistics there. You may want to sort by any column.
----[ Additional Help?
If you need additional help, please goto forums.cacti.net.
----[ Possible Bugs?
If you figure out this problem, let me know!!!
----[ Special Thanks
I want to thank Howie for the first implementation of this plugin
based on some patch that I created in 2006
----[ Future Changes
Enable Web GUI to REFRESH the plugin_pollperf_data table.
But this is a background task and will take considerable time.
----[ Changelog
--- SVN ---
--- 0.32 ---
feature: reset verbosity to LOW at max to avoid log file filling up
bug: pollperf_parse.php not running when necessary
--- 0.31 ---
--- 0.3 ---
Parsing is done at end of the DEBUGging cycle. Parser now runs as a
background php command and fills the plugin_pollperf_data table.
--- 0.2 ---
Add management of DEBUG mode, sorting columns
--- 0.1 ---
Initial release, authored by Howie
Reinhard
Updated to V0.32