Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support  

 FAQFAQ   SearchSearch   MemberlistMemberlist    RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in    


cacti 0.8.7b plugin-architecture 2.1 boost 1.6 problem

 
Post new topic   Reply to topic    Cacti Forum Index -> Addons for Cacti
Author Message
penszo



Joined: 07 Jan 2008
Posts: 3

PostPosted: Wed Jun 04, 2008 5:57 am    Post subject: cacti 0.8.7b plugin-architecture 2.1 boost 1.6 problem Reply with quote

I have problem with boost. For another time I'm trying to set up it but without success.

I downloaded boost plugin from svn version 1.6 and also plugin-architecture 2.1. I patched files with diff from plugin-architecture. Also added tables to my cacti database from pa.sql and boost_sql_memory.sql. I copied files from boost into cactis main directory. I didn't replace original poller.php with poller.php from modified directory regarding to README file (Important Note: If using Boost 1.3 and Cacti 0.8.6j or below, you must replace the poller.php in the base directory with the revised one in the modified directory) since I'm using cacti 0.8.7b and boost 1.6

I enabled option Image Caching from boost plugin configuration and that works. New files .png files are cached and stored in my png directory.

When I want to enable On Demand RRD Update Settings nothing happes. I turned on debuuging and last line is:

06/04/2008 12:50:03 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/bin/php, ARGS: -q /var/www/html/cacti2/plugins/boost/poller_boost.php

When I try to run this script from command line I got this error:

php /var/www/html/cacti2/poller_boost.php
PHP Notice: Undefined variable: config in /var/www/html/cacti2/poller_boost.php on line 150
PHP Warning: include_once(/lib/poller.php): failed to open stream: No such file or directory in /var/www/html/cacti2/poller_boost.php on line 150
PHP Warning: include_once(): Failed opening '/lib/poller.php' for inclusion (include_path='.:/usr/share/pear') in /var/www/html/cacti2/poller_boost.php on line 150
PHP Fatal error: Call to undefined function read_config_option() in /var/www/html/cacti2/poller_boost.php on line 153

What am I doing wrong?

--
Regards

Zbigniew Jasinski
[SYStem OPerator]
Back to top
penszo



Joined: 07 Jan 2008
Posts: 3

PostPosted: Wed Jun 04, 2008 8:18 am    Post subject: Reply with quote

I managed with that but there is more!

When poller_output_boost table is empty I run php poller_boost.php -f -d with such result:

06/04/2008 03:12:04 PM - SYSTEM BOOST STATS: Time:0.0167 RRDUpdates:0

but after one polling when I want to run poller_boost.php -f -d there's error:

ERROR: illegal attempt to update using time 1212585002 when last update time is 1212585002 (minimum one second step)

rrd file are not updated. I truncated the table and start polling data again but the result is the same. With empty poller_output_boost table it's ok, after polling - errors.

--
Regards

Zbigniew Jasinski
[SYStem OPerator]
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Addons for Cacti All times are GMT - 5 Hours
Page 1 of 1

 



Powered by phpBB © 2001, 2005 phpBB Group