Boost 3.0 Released

Announcements concerning Plugins for Cacti

Moderators: Developers, Moderators

User avatar
zorrosam
Cacti User
Posts: 244
Joined: Thu May 03, 2007 3:17 pm
Location: Italy

problem after upgrade

Post by zorrosam »

Guys,

after the upgrade to 3.0 ver my test installation is broken.

This is the error of my cacti.log

04/21/2010 05:50:38 PM - CMDPHP: Poller[0] ERROR: A DB Exec Failed!, Error:'1163', 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', `output` text NOT NULL, PRIMARY KEY (`local_data_id`,`rrd_name`,`time`), KEY `time_local_data_id` (`time`,`local_data_id`)) ENGINE=MEMORY DEFAULT CHARSET=latin1'
04/21/2010 05:50:38 PM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'1146', SQL:"SELECT local_data_id, UNIX_TIMESTAMP(time) AS time, rrd_name, output FROM rcaston ORDER BY local_data_id ASC, time ASC, rrd_name ASC "
04/21/2010 05:50:38 PM - CMDPHP: Poller[0] ERROR: A DB Exec Failed!, Error:'1146', SQL:"INSERT INTO `rcaston` SELECT * FROM poller_output_boost WHERE time<='2010-04-21 16:50:03' AND local_data_id BETWEEN 5 AND 254'
04/21/2010 05:50:38 PM - CMDPHP: Poller[0] ERROR: A DB Exec Failed!, Error:'1163', 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', `output` text NOT NULL, PRIMARY KEY (`local_data_id`,`rrd_name`,`time`), KEY `time_local_data_id` (`time`,`local_data_id`)) ENGINE=MEMORY DEFAULT CHARSET=latin1'
04/21/2010 05:50:38 PM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'1146', SQL:"SELECT local_data_id, UNIX_TIMESTAMP(time) AS time, rrd_name, output FROM rcaston ORDER BY local_data_id ASC, time ASC, rrd_name ASC "

furthermore i'd like to obtain a procedure for configure correctly on my most important cacti installation (all my DSL NETWORK).

Today the server is overloaded and works with spine.

Please help me.

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

Post by TheWitness »

Please move away from text fields. Use varchar(xxx) instead. Also, if you read the MySQL manual, this things become a bit more self evident.

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
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

3.1 is released. However, the issue with the use of Text Fields remains. If you are using MySQL 4--, you should upgrade to MySQL 5.x and change the "output" column in the poller_output table to varchar(XX). That will resolve your issue.

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?
X-dark
Cacti User
Posts: 111
Joined: Wed Jun 18, 2008 10:21 am
Location: France

Post by X-dark »

TheWitness wrote:Turn of Balance Processes plus 60 ss timeout is bad.

TheWitness
Can you be more specific ?
Cedric Girard
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

A timeout of 60 seconds is very bad, and will cause the poller to stall.

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?
X-dark
Cacti User
Posts: 111
Joined: Wed Jun 18, 2008 10:21 am
Location: France

Post by X-dark »

TheWitness wrote:A timeout of 60 seconds is very bad, and will cause the poller to stall.

TheWitness
OK. So there no problem using Balance Processes option with Boost and direct population of poller_output_boost ?
Cedric Girard
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

There were some problems reported earlier in the deployment, but they were a bit of corner cases.

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?
X-dark
Cacti User
Posts: 111
Joined: Wed Jun 18, 2008 10:21 am
Location: France

Post by X-dark »

OK. Thanks.
Cedric Girard
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests