Boost 1.7 and cacti 0.8.7b issues

General discussion about Plugins for Cacti

Moderators: Developers, Moderators

User avatar
gninja
Cacti User
Posts: 371
Joined: Tue Aug 24, 2004 5:02 pm
Location: San Francisco, CA
Contact:

Boost 1.7 and cacti 0.8.7b issues

Post by gninja »

Seeing these error messages whenever I hit a graph. Boost server is disabled, on demand update is enabled.

Code: Select all

 05/28/2008 06:08:03 PM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'1064', SQL:"select realm_id from user_auth_realm where user_id= and realm_id=227"
05/28/2008 06:08:03 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'
05/28/2008 06:08:03 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'
05/28/2008 06:08:03 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'
05/28/2008 06:08:03 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'
05/28/2008 06:08:03 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'
05/28/2008 06:08:03 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'
05/28/2008 06:08:03 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'
05/28/2008 06:08:03 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'
05/28/2008 06:08:03 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'
05/28/2008 06:08:03 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'
05/28/2008 06:08:03 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'
Also seeing this as the link for the dump-to-csv button, which worked before installing plugins:

Code: Select all

graph_xport.php?local_graph_id=19369&rra_id=<br />
<b>Notice</b>:  Undefined index:  id in <b>/data/cacti-0.8.7b/graph.php</b> on line <b>215</b><br />
&view_type=&graph_start=1212017580&graph_end=1212022606
FreeBSD/RHEL
cacti-0.8.7i, spine 0.8.7i, PIA 3.1+boost 5.1
MySQL 5.5/InnoDB
RRDtool 1.2.27, PHP 5.1.6
User avatar
gninja
Cacti User
Posts: 371
Joined: Tue Aug 24, 2004 5:02 pm
Location: San Francisco, CA
Contact:

Post by gninja »

The realm_auth issue, and the csv issue are related to killspike, if I disable that plugin, they go away. Still seeing the boost related issues. :(
FreeBSD/RHEL
cacti-0.8.7i, spine 0.8.7i, PIA 3.1+boost 5.1
MySQL 5.5/InnoDB
RRDtool 1.2.27, PHP 5.1.6
User avatar
TheWitness
Developer
Posts: 17059
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

You must use the SVN version of Boost to have it be stable from that perspective.

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
gninja
Cacti User
Posts: 371
Joined: Tue Aug 24, 2004 5:02 pm
Location: San Francisco, CA
Contact:

Post by gninja »

Which repository? I'm only seeing spine and core cacti in the main svn repository.
FreeBSD/RHEL
cacti-0.8.7i, spine 0.8.7i, PIA 3.1+boost 5.1
MySQL 5.5/InnoDB
RRDtool 1.2.27, PHP 5.1.6
User avatar
gninja
Cacti User
Posts: 371
Joined: Tue Aug 24, 2004 5:02 pm
Location: San Francisco, CA
Contact:

Post by gninja »

Ok, I found it in the viewcvs... But I still can't seem to actually check it out...

for the main cacti repository it's:

Code: Select all

svn checkout svn://svn.cacti.net/var/svnroot/cacti
But swapping cacti for plugins doesn't get me the plugins repository.
FreeBSD/RHEL
cacti-0.8.7i, spine 0.8.7i, PIA 3.1+boost 5.1
MySQL 5.5/InnoDB
RRDtool 1.2.27, PHP 5.1.6
User avatar
TheWitness
Developer
Posts: 17059
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

cvs.cacti.net/var/svnroot/cacti_plugins
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?
deu439356
Cacti User
Posts: 73
Joined: Wed Aug 13, 2008 8:08 am

Post by deu439356 »

Is there an updated address for this? Will boost 1.7 work with 8.7b on a Solaris platform?

Thanks!
User avatar
TheWitness
Developer
Posts: 17059
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Yes, but SVN is 1.8. I need to release, but Cacti first.

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?
deu439356
Cacti User
Posts: 73
Joined: Wed Aug 13, 2008 8:08 am

Post by deu439356 »

Thanks. Does that mean you are waiting to release 1.8 until the lastest version of Cati has been released? We currently have a poll time of around 270 seconds and we need to get this reduced as soon as possible so we can keep adding network devices. Would is be possible to get my hands on the new version of boost? I've tried installing 1.6 and 1.7 with no luck.

Thanks again for you help!
khufure
Cacti User
Posts: 203
Joined: Wed Oct 24, 2007 5:47 pm
Location: San Francisco, CA
Contact:

Post by khufure »

deu439356 wrote:Thanks. Does that mean you are waiting to release 1.8 until the lastest version of Cati has been released? We currently have a poll time of around 270 seconds and we need to get this reduced as soon as possible so we can keep adding network devices. Would is be possible to get my hands on the new version of boost? I've tried installing 1.6 and 1.7 with no luck.

Thanks again for you help!
You can use boost from subversion.

How many datasources, and are you using spine? A decent box can scale to ~20-50k datasources without boost depending on the type of queries. I found spine with 4 processes and 40 threads scaled optimally for us.

P
deu439356
Cacti User
Posts: 73
Joined: Wed Aug 13, 2008 8:08 am

Post by deu439356 »

Do you have link to the SVN? We currently have 77,660 datasources and counting. I keep disabling devices when we get a close to a five minute poll so we can keep adding devices without wrapping the poller. With all the disable devices, we would be over 140,000 datasources. We currently use spine with 15 processes and 15 threads. Do you have boost installed on your network?
khufure
Cacti User
Posts: 203
Joined: Wed Oct 24, 2007 5:47 pm
Location: San Francisco, CA
Contact:

Post by khufure »

deu439356 wrote:Do you have link to the SVN? We currently have 77,660 datasources and counting. I keep disabling devices when we get a close to a five minute poll so we can keep adding devices without wrapping the poller. With all the disable devices, we would be over 140,000 datasources. We currently use spine with 15 processes and 15 threads. Do you have boost installed on your network?
1.) Get subversion on your system.
2.) svn checkout svn://cvs.cacti.net/var/svnroot/cacti_plugins
deu439356
Cacti User
Posts: 73
Joined: Wed Aug 13, 2008 8:08 am

Post by deu439356 »

Is a new version of the poller.php supposed to come with boost? Is the poller_boost.php the replacement for the poller.php? According to the log, the poller isn't processing any rrds, but when I log into the box and watch, spine gets finished in 2.5 min, but the poller keeps running for another 1.25 min. Any suggestions?
khufure
Cacti User
Posts: 203
Joined: Wed Oct 24, 2007 5:47 pm
Location: San Francisco, CA
Contact:

Post by khufure »

deu439356 wrote:Is a new version of the poller.php supposed to come with boost? Is the poller_boost.php the replacement for the poller.php? According to the log, the poller isn't processing any rrds, but when I log into the box and watch, spine gets finished in 2.5 min, but the poller keeps running for another 1.25 min. Any suggestions?
Check for bad datasources or scripts.

Regarding performance try changing the poller settings to ${1-1.5xnumber_of_cpus) processes and 40 threads. Your datasource count is approximately what I have in a similar environment. Additionally, I'd get boost & rrdtool-1.2.27 on if you haven't already.
deu439356
Cacti User
Posts: 73
Joined: Wed Aug 13, 2008 8:08 am

Post by deu439356 »

We have Boost installed with RRD 1.2.27. I haven't found any bad datasources or scripts. Would you be willing to either post or send me a personal message with your apache and mysql tuning settings? Also, if you have boost installed, do/did you get the following errors?:

10/16/2008 08:33:33 AM - BOOST SERVER: Poller[0] WARNING: Broken connection detected '127.0.0.1'
10/16/2008 08:33:32 AM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'2006', SQL:"SELECT * FROM poller_output_boost_processes"
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest