Release of Cacti 0.8.7g BETA 2

Important information about Cacti developments that all users should be interested in.

Moderators: Developers, Moderators

stextor
Posts: 21
Joined: Thu May 10, 2007 12:01 pm

Re: 8.7g Bate2

Post by stextor »

gandalf wrote:
stextor wrote:RRDClean is given me the following errors in the log:

06/14/2010 10:35:02 AM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'1146', SQL:"SELECT plugin_rrdclean_action.id, plugin_rrdclean_action.name, plugin_rrdclean_action.local_data_id, plugin_rrdclean_action.action FROM plugin_rrdclean_action"
Please list all plugin_rrdclean* tables that you find in your database.
R.

I have none.
Attachments
rrdclean_plugins.png
rrdclean_plugins.png (103.12 KiB) Viewed 22174 times
stextor
Posts: 21
Joined: Thu May 10, 2007 12:01 pm

Re: 8.7g Bate2

Post by stextor »

gandalf wrote:
stextor wrote:
cigamit wrote: What type of plugin is it (Old PA or General / System?)
All of them
You will have to install and activate them by clicking the images on the left. One image seems to be missing.
Did you apply PIA by "full file replacement" or by diff, please?
R.
I applied the PA vai full file replacement.
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: 8.7g Bate2

Post by gandalf »

stextor wrote:
gandalf wrote:
stextor wrote:RRDClean is given me the following errors in the log:

06/14/2010 10:35:02 AM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'1146', SQL:"SELECT plugin_rrdclean_action.id, plugin_rrdclean_action.name, plugin_rrdclean_action.local_data_id, plugin_rrdclean_action.action FROM plugin_rrdclean_action"
Please list all plugin_rrdclean* tables that you find in your database.
R.

I have none.
I'm sorry. My question was not precise enough. Please repeat that task _after_ deleting the files from browser UI and _before_ next poller run.
R.
stextor
Posts: 21
Joined: Thu May 10, 2007 12:01 pm

Re: 8.7g Bate2

Post by stextor »

gandalf wrote:
stextor wrote:
gandalf wrote:Please list all plugin_rrdclean* tables that you find in your database.
R.

I have none.
I'm sorry. My question was not precise enough. Please repeat that task _after_ deleting the files from browser UI and _before_ next poller run.
R.
My apologies Gandalf, but I don't follow what you're asking me. Let me clarify how the error occurs:

I put the RRDCleaner folder in my /var/www/cacti/plugins directory. Then I install and enable it via the new PA management interface. That's it. I run no tasks or cron entries (except poller.php). Then I start getting the errors in the cacti log.

Hope that helps. :)
Last edited by stextor on Tue Jun 15, 2010 4:26 pm, edited 2 times in total.
nilas12
Posts: 4
Joined: Tue Jun 15, 2010 10:21 am
Location: Austin, TX

Re: 8.7g Bate2

Post by nilas12 »

stextor wrote:
gandalf wrote:
stextor wrote: All of them
You will have to install and activate them by clicking the images on the left. One image seems to be missing.
Did you apply PIA by "full file replacement" or by diff, please?
R.
I applied the PA vai full file replacement.
I believe the issue is related to missing apostrophies in plugins.php after the "style='padding:1px" parameters on lines 580, 590, and 594. The issue was corrected for me by performing a find for "style='padding:1px " (include the last space) and replacing all with "style='padding:1px' " (include the last space).

(Note: This is related to the full file replacement method)
stextor
Posts: 21
Joined: Thu May 10, 2007 12:01 pm

Post by stextor »

Nalis12 Wrote:

"I believe the issue is related to missing apostrophies in plugins.php after the "style='padding:1px" parameters on lines 580, 590, and 594. The issue was corrected for me by performing a find for "style='padding:1px " (include the last space) and replacing all with "style='padding:1px' " (include the last space). "


Thanks Nalis12 that fixed it.
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: 8.7g Bate2

Post by gandalf »

nilas12 wrote:I believe the issue is related to missing apostrophies in plugins.php after the "style='padding:1px" parameters on lines 580, 590, and 594.
Fixed, thanks for the hint
R.
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

Updated spine beta2 reposted in downloads directory.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Working fine again too.
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?
levi
Posts: 41
Joined: Wed Oct 24, 2007 1:08 am
Location: Yerevan, Armenia
Contact:

Post by levi »

levi wrote: 2-nd is with rrdclean:

Code: Select all

 06/15/2010 05:35:02 PM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'1146', SQL:"SELECT plugin_rrdclean_action.id, plugin_rrdclean_action.name, plugin_rrdclean_action.local_data_id, plugin_rrdclean_action.action FROM plugin_rrdclean_action"
I just found TheWitness's post in rrdclean thread http://forums.cacti.net/viewtopic.php?t ... highlight=
To try take some action on rrdclean first, and that fixed this error. Sorry to bother about that.
Best Regards.
levi
Posts: 41
Joined: Wed Oct 24, 2007 1:08 am
Location: Yerevan, Armenia
Contact:

Post by levi »

Hi! Any news with 1 minute polling?
Best Regards.
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

levi wrote:Hi! Any news with 1 minute polling?
No. That was not planned and hence is not implemented.
R.
nilas12
Posts: 4
Joined: Tue Jun 15, 2010 10:21 am
Location: Austin, TX

Post by nilas12 »

In a new IIS setup, Beta 2 with PIA, full file replacement:
(Feel free to correct/override if I'm not understanding the application correctly)

*** ISSUE 1 ***
File:
\cacti\include\plugins.php

Issue:
PHP processing error, $plugins variable is not defined prior to processing the variable in line 31.

Change:
Add before line 31:

Code: Select all

$plugins = array();
OR
Add to global variables


*** ISSUE 2 ***
File:
(Multiple Files)

Issue:
For "Old PIA" support, global.php missing $config["url_path"]

Changes:
Add after line 46 in global.php:

Code: Select all

/*
   Edit this to point to the default URL of your Cacti install
   ex: if your cacti install as at http://serverip/cacti/ this
   would be set to /cacti/
*/
$config["url_path"] = "/cacti/";
I'm also still having issues with the plugins 'thold' and 'weathermap'. I think it's with the plugins themselves, not the cacti core app. Still troubleshooting... :)
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Full file replacement for PIA brings you include/config.php.dist
Part of that file is

Code: Select all

/* load up old style plugins here */
$plugins = array();
//$plugins[] = 'thold';

/*
   Edit this to point to the default URL of your Cacti install
   ex: if your cacti install as at http://serverip/cacti/ this
   would be set to /cacti/
*/

$config['url_path'] = '/';

define('URL_PATH', $config['url_path']);
which should be ok. It does NOT change include/config.php!
May you please verify
R.
rnbwpnt
Posts: 4
Joined: Sat May 22, 2010 7:23 pm

broken graphs again

Post by rnbwpnt »

i upgraded from a functional 0.8.7f to 0.8.7gb2 and now i'm back to getting this, and have no idea how to fix it. any suggestions welcome.
Attachments
graph_image.php.png
graph_image.php.png (8.59 KiB) Viewed 21644 times
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests