Boost Plugin v1.6 Released
Moderators: Developers, Moderators
FRDRK - Gaps when viewing boost graphs - me too!
Hi frdrk
I saw your note and had to post - I've come to more or less exactly the same conclusion. I run cacti on windows 2003, 0.8.7a with boost 1.7 and have narrowed down my gaps in graphs to..... every occasion when I actually start to look at graphs! I notice that most of yours have gaps during "normal business hours" e.g. when you would be watching them - mine as as well.
Overnight, its fine, the moment I start to look at things though, the gaps start to appear. I'm about to add the rcaston table fix "$temp_table_suffix = rand(0,10000000000);" in the hope that its related, however it seems like we are describing the same fault. This can happen with both newly created graphs and old ones.
Cheers
Rossco
I saw your note and had to post - I've come to more or less exactly the same conclusion. I run cacti on windows 2003, 0.8.7a with boost 1.7 and have narrowed down my gaps in graphs to..... every occasion when I actually start to look at graphs! I notice that most of yours have gaps during "normal business hours" e.g. when you would be watching them - mine as as well.
Overnight, its fine, the moment I start to look at things though, the gaps start to appear. I'm about to add the rcaston table fix "$temp_table_suffix = rand(0,10000000000);" in the hope that its related, however it seems like we are describing the same fault. This can happen with both newly created graphs and old ones.
Cheers
Rossco
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Yea, it's corrected that way in SVN. Maybe a little boost release is warranted.
TheWitness
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?
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?
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
If you apply the rcaston change, it fixes both. Pretty sure.
TheWitness
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?
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?
Ok, step 2 of the README for this plugin says:
2) Once you have the SQL in place, you must enable you plugin by adding
the boost plugin into cacti's <path_cacti>/include/config.php file not
unlike other plugins.
???
My config.php doesn't have anything in it for installing plugins. I installed the plugin architecture?
How do I do step 2?
2) Once you have the SQL in place, you must enable you plugin by adding
the boost plugin into cacti's <path_cacti>/include/config.php file not
unlike other plugins.
???
My config.php doesn't have anything in it for installing plugins. I installed the plugin architecture?
How do I do step 2?
Next Question:
Step 3 says to replace the cacti files with the modified files in the base directory of this plugin.
I see no modified directory in this plugin and don't know which files to replace???
eccws587:/proj/netops/cacti/cacti-0.8.6j/hosting/plugins/boost # ls -la
total 128
drwxrwx--x 2 cacti cacti 4096 Mar 5 14:05 .
drwxr-xr-x 6 cacti cacti 4096 Mar 5 14:04 ..
-rw-rw-rw- 1 cacti cacti 15515 Oct 25 04:57 LICENSE
-rw-rw-rw- 1 cacti cacti 8115 Oct 25 04:57 README
-rw-rw-rw- 1 cacti cacti 2845 Oct 25 04:57 boost_rrdupdate.php
-rw-rw-rw- 1 cacti cacti 12545 Oct 25 04:57 boost_server.php
-rw-rw-rw- 1 cacti cacti 619 Oct 25 04:57 boost_sql_memory.sql
-rw-rw-rw- 1 cacti cacti 613 Oct 25 04:57 boost_sql_myisam.sql
-rwx------ 1 cacti cacti 1180 Mar 5 14:05 cacti_rrdsvc
-rw-rw-rw- 1 cacti cacti 10991 Oct 25 04:57 poller_boost.php
-rw-rw-rw- 1 cacti cacti 48864 Oct 25 04:57 setup.php
Step 3 says to replace the cacti files with the modified files in the base directory of this plugin.
I see no modified directory in this plugin and don't know which files to replace???
eccws587:/proj/netops/cacti/cacti-0.8.6j/hosting/plugins/boost # ls -la
total 128
drwxrwx--x 2 cacti cacti 4096 Mar 5 14:05 .
drwxr-xr-x 6 cacti cacti 4096 Mar 5 14:04 ..
-rw-rw-rw- 1 cacti cacti 15515 Oct 25 04:57 LICENSE
-rw-rw-rw- 1 cacti cacti 8115 Oct 25 04:57 README
-rw-rw-rw- 1 cacti cacti 2845 Oct 25 04:57 boost_rrdupdate.php
-rw-rw-rw- 1 cacti cacti 12545 Oct 25 04:57 boost_server.php
-rw-rw-rw- 1 cacti cacti 619 Oct 25 04:57 boost_sql_memory.sql
-rw-rw-rw- 1 cacti cacti 613 Oct 25 04:57 boost_sql_myisam.sql
-rwx------ 1 cacti cacti 1180 Mar 5 14:05 cacti_rrdsvc
-rw-rw-rw- 1 cacti cacti 10991 Oct 25 04:57 poller_boost.php
-rw-rw-rw- 1 cacti cacti 48864 Oct 25 04:57 setup.php
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
10k datasources is not THAT much. We do it without Boost on a dedicated Dual Xeon, 4GB RAM, quite slow local disks, in about 45 sec. without boost (mostly SNMP) for about 23k data sources, 12k RRD files. I hope to reduce by 30% using latest rrdtoolRael wrote:Ok, so I got boost running and HOLY smokes that makes a difference.
Went from 300+ polling cycles on 10K+ datasources which is only a quarter of my required infrastructure and now I'm at 75 seconds.
IMPRESSIVE
Reinhard
Hrmm.
Ok, so what is this error and how do I fix it?
03/17/2008 05:15:28 PM - CMDPHP: Poller[0] ERROR: A DB Exec Failed!, Error:'1050', SQL:"CREATE TEMPORARY TABLE `rcaston` ( `local_data_id` mediumint(8) unsigned NOT NULL default '0', `rrd_name` varchar(19) NOT NULL default '', `time` datetime NOT NULL default '0000-00-00 00:00:00', PRIMARY KEY (`local_data_id`,`rrd_name`,`time`)) ENGINE=MEMORY'
I edited the setup.php line 672 and added that $temp string and the error is still present?
Also how do I fix this error???? It's causing my graphs not to update:
ERROR: illegal attempt to update using time 1205773802 when last update time is 1205773802 (minimum one second step)
ERROR: illegal attempt to update using time 1205773802 when last update time is 1205773802 (minimum one second step)
ERROR: illegal attempt to update using time 1205773802 when last update time is 1205773802 (minimum one second step)
ERROR: illegal attempt to update using time 1205773802 when last update time is 1205773802 (minimum one second step)
I run './plugins/boost/poller_boost.php -f -d' and let it go but it always kicks out these errors?
Ok, so what is this error and how do I fix it?
03/17/2008 05:15:28 PM - CMDPHP: Poller[0] ERROR: A DB Exec Failed!, Error:'1050', SQL:"CREATE TEMPORARY TABLE `rcaston` ( `local_data_id` mediumint(8) unsigned NOT NULL default '0', `rrd_name` varchar(19) NOT NULL default '', `time` datetime NOT NULL default '0000-00-00 00:00:00', PRIMARY KEY (`local_data_id`,`rrd_name`,`time`)) ENGINE=MEMORY'
I edited the setup.php line 672 and added that $temp string and the error is still present?
Code: Select all
672 /* install the boost error handler */
673 $temp_table_suffix = rand(0,10000000000);
674 set_error_handler("boost_error_handler");
Also how do I fix this error???? It's causing my graphs not to update:
ERROR: illegal attempt to update using time 1205773802 when last update time is 1205773802 (minimum one second step)
ERROR: illegal attempt to update using time 1205773802 when last update time is 1205773802 (minimum one second step)
ERROR: illegal attempt to update using time 1205773802 when last update time is 1205773802 (minimum one second step)
ERROR: illegal attempt to update using time 1205773802 when last update time is 1205773802 (minimum one second step)
I run './plugins/boost/poller_boost.php -f -d' and let it go but it always kicks out these errors?
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
You should be using the SVN version. Sorry, I have had not time to address this in the form of a release.
TheWitness
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?
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?
Who is online
Users browsing this forum: No registered users and 2 guests