Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Fri Apr 28, 2017 5:22 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 48 posts ]  Go to page Previous  1, 2, 3, 4  Next
Author Message
 Post subject: Re: 8.7g Bate2
PostPosted: Tue Jun 15, 2010 8:22 am 
Offline

Joined: Thu May 10, 2007 12:01 pm
Posts: 21
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 16932 times ]
Top
 Profile  
 
 Post subject: Re: 8.7g Bate2
PostPosted: Tue Jun 15, 2010 8:24 am 
Offline

Joined: Thu May 10, 2007 12:01 pm
Posts: 21
gandalf wrote:
stextor wrote:
cigamit wrote:
stextor wrote:
1. No 'enable' image under the Action column for Plugin Management.


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.


Top
 Profile  
 
 Post subject: Re: 8.7g Bate2
PostPosted: Tue Jun 15, 2010 9:19 am 
Offline
Developer
User avatar

Joined: Thu Dec 02, 2004 2:46 am
Posts: 22461
Location: Muenster, Germany
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.

_________________
Official Cacti Documentation
Official Debugging Help
Central Plugin Repository
Central Templates Repository


Top
 Profile  
 
 Post subject: Re: 8.7g Bate2
PostPosted: Tue Jun 15, 2010 10:19 am 
Offline

Joined: Thu May 10, 2007 12:01 pm
Posts: 21
gandalf wrote:
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.


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.

Top
 Profile  
 
 Post subject: Re: 8.7g Bate2
PostPosted: Tue Jun 15, 2010 10:45 am 
Offline

Joined: Tue Jun 15, 2010 10:21 am
Posts: 4
Location: Austin, TX
stextor wrote:
gandalf wrote:
stextor wrote:
cigamit wrote:
stextor wrote:
1. No 'enable' image under the Action column for Plugin Management.


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.


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)


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jun 15, 2010 11:53 am 
Offline

Joined: Thu May 10, 2007 12:01 pm
Posts: 21
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.


Top
 Profile  
 
 Post subject: Re: 8.7g Bate2
PostPosted: Tue Jun 15, 2010 12:59 pm 
Offline
Developer
User avatar

Joined: Thu Dec 02, 2004 2:46 am
Posts: 22461
Location: Muenster, Germany
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.

_________________
Official Cacti Documentation
Official Debugging Help
Central Plugin Repository
Central Templates Repository


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jun 15, 2010 9:03 pm 
Offline
Developer/Forum Admin
User avatar

Joined: Mon Nov 17, 2003 6:35 pm
Posts: 5943
Location: Michigan, USA
Updated spine beta2 reposted in downloads directory.

_________________
Tony Roman
Experience is what causes a person to make new mistakes instead of old ones.
There are only 3 way to complete a project: Good, Fast or Cheap, pick two.
With age comes wisdom, what you choose to do with it determines whether or not you are wise.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jun 15, 2010 10:27 pm 
Offline
Developer
User avatar

Joined: Tue May 14, 2002 5:08 pm
Posts: 14863
Location: MI, USA
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 MacTrack, Boost, CLog, SpikeKill, Platform RTM, DSStats, maintainer of Spine, lot's of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
Gandalfs Official Debugging Help
Central Plugin Repository
Central Templates Repository


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jun 16, 2010 2:00 am 
Offline

Joined: Wed Oct 24, 2007 1:08 am
Posts: 41
Location: Yerevan, Armenia
levi wrote:
2-nd is with rrdclean:

Code:
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=31272&start=0&postdays=0&postorder=asc&highlight=
To try take some action on rrdclean first, and that fixed this error. Sorry to bother about that.

_________________
Best Regards.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jun 17, 2010 1:34 am 
Offline

Joined: Wed Oct 24, 2007 1:08 am
Posts: 41
Location: Yerevan, Armenia
Hi! Any news with 1 minute polling?

_________________
Best Regards.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jun 17, 2010 1:06 pm 
Offline
Developer
User avatar

Joined: Thu Dec 02, 2004 2:46 am
Posts: 22461
Location: Muenster, Germany
levi wrote:
Hi! Any news with 1 minute polling?
No. That was not planned and hence is not implemented.
R.

_________________
Official Cacti Documentation
Official Debugging Help
Central Plugin Repository
Central Templates Repository


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jun 18, 2010 6:07 pm 
Offline

Joined: Tue Jun 15, 2010 10:21 am
Posts: 4
Location: Austin, TX
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:
$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:
/*
   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... :)


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jun 19, 2010 6:09 am 
Offline
Developer
User avatar

Joined: Thu Dec 02, 2004 2:46 am
Posts: 22461
Location: Muenster, Germany
Full file replacement for PIA brings you include/config.php.dist
Part of that file is
Code:
/* 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.

_________________
Official Cacti Documentation
Official Debugging Help
Central Plugin Repository
Central Templates Repository


Top
 Profile  
 
 Post subject: broken graphs again
PostPosted: Sun Jun 20, 2010 2:29 pm 
Offline

Joined: Sat May 22, 2010 7:23 pm
Posts: 4
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 16402 times ]
Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 48 posts ]  Go to page Previous  1, 2, 3, 4  Next

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group