Command line tools (cacti 0.8.7a) horribly slow.Problem back

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

killshoot
Cacti User
Posts: 84
Joined: Wed Mar 26, 2008 2:51 am

Post by killshoot »

Just to thank you for the last script add_graph.php in the CVN repository

Before :

CMDPHP: Poller[0] ERROR: SQL Cell Failed!, Error:'1064', SQL:"SELECT DISTINCT data_template_rrd.local_data_id FROM graph_templates_item, data_template_rrd WHERE graph_templates_item.local_graph_id = AND graph_templates_item.task_item_id = data_template_rrd.id"


After :

Fast, fast, fast with no more errors!!!

Thank you

VInce
finn
Posts: 13
Joined: Thu Dec 06, 2007 7:58 pm

Post by finn »

killshoot wrote:Just to thank you for the last script add_graph.php in the CVN repository
Same here. Big thanks, the SVN add_graphs flys :) (I also experienced little success wtih indices)

Thanks!!!

Large batch operations should be far less painful to watch the progress of :)
it
Cacti User
Posts: 118
Joined: Tue Jun 17, 2008 12:44 pm

Post by it »

can u tell me where to add those 2 indexes, i ll appreciate

thx
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Please see very first page of this thread (TheWitness)
Reinhard
stovenator
Posts: 1
Joined: Wed Jul 23, 2008 9:53 am

Post by stovenator »

I'm running 0.8.7b , and upgraded to the latest version of add_graphs.php . I'm getting the error:
07/29/2008 01:10:32 PM - CMDPHP: Poller[0] ERROR: SQL Cell Failed!, Error:'1064', SQL:"SELECT data_template_rrd.local_data_id FROM graph_templates_item, data_template_rrd WHERE graph_templates_item.loca
l_graph_id = AND graph_templates_item.task_item_id = data_template_rrd.id LIMIT 1"
This is trying to add a cg graph. It appears that on line 332 of add_graphs.php it is attempting to do a lookup based on the assumption that $existsAlready was successfully pulled. Based on my reading of the code, dataSourceId shouldn't be set there unless existsAlready returns a valid result.
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Please file a bug as given by http://www.cacti.net/bugs.php
But please verify current SVN before
Reinhard
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest