BOOST Error - Cacti 0.8.7g (beta2)

General discussion about Plugins for Cacti

Moderators: Developers, Moderators

mcutting
Cacti Guru User
Posts: 1884
Joined: Mon Oct 16, 2006 5:57 am
Location: United Kingdom
Contact:

Post by mcutting »

By deleting the lock file, I am now able to run php poller_boost.php --force. However, this seems to sit there, and doesn't output anything more than 2 lines

1276584306
OK u:0.00 s:0.00 r:2.14

I now see

Current Boost Status
Boost On Demand Updating: Running
Total Data Sources: 1623
Total Boost Records: 39935

However, the "Total Boost Records" value is rising with every poll, and not going down. Also, the database size is increasing

Boost Storage Statistics
Database Engine: MEMORY
Current Boost Table Size: 21 MBytes
Avg Bytes/Record: 545 Bytes
Max Record Length: 209 Bytes
Max Allowed Boost Table Size: 88 MBytes
Estimated Maximum Records: 170212 Records
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
mcutting
Cacti Guru User
Posts: 1884
Joined: Mon Oct 16, 2006 5:57 am
Location: United Kingdom
Contact:

Post by mcutting »

Dropped the tables (boost related) and recreated them.

Forcing the boost poller to run works fine if there is no data in the table. Literally a few new records / rows, and it hangs

1276595404
OK u:0.00 s:0.00 r:0.09
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
mcutting
Cacti Guru User
Posts: 1884
Joined: Mon Oct 16, 2006 5:57 am
Location: United Kingdom
Contact:

Post by mcutting »

Perhaps this helps ?

06/15/2010 12:55:07 PM - SPINE: Poller[0] Host[262] TH[1] DS[1138] SS[6] SERVER: /usr/share/cacti/site/scripts/ss_poller.php ss_boost, output: 0
06/15/2010 12:55:07 PM - PHPSVR: Poller[0] DEBUG: PID[16556] CTR[4] INC: 'ss_poller.php' FUNC: 'ss_boost' PARMS: ''
06/15/2010 12:55:07 PM - SPINE: Poller[0] Host[262] TH[1] DS[1137] SS[5] SERVER: /usr/share/cacti/site/scripts/ss_poller.php ss_boost, output: 0
06/15/2010 12:55:07 PM - PHPSVR: Poller[0] DEBUG: PID[16554] CTR[4] INC: 'ss_poller.php' FUNC: 'ss_boost' PARMS: ''
06/15/2010 12:55:07 PM - SPINE: Poller[0] Host[262] TH[1] DS[1136] SS[4] SERVER: /usr/share/cacti/site/scripts/ss_poller.php ss_boost, output: 0
06/15/2010 12:55:07 PM - PHPSVR: Poller[0] DEBUG: PID[16548] CTR[4] INC: 'ss_poller.php' FUNC: 'ss_boost' PARMS: ''
06/15/2010 12:55:02 PM - SPINE: Poller[0] DEBUG: The boost_redirect variable is 0

Looks like BOOST is working (running a DEBUG pass)

06/15/2010 01:00:39 PM - BOOST: Poller[0] NOTE: Updating Local Data ID:'773', Total of '0' Updates to Process
06/15/2010 01:00:39 PM - BOOST: Poller[0] NOTE: Updating Local Data ID:'434', Total of '0' Updates to Process
06/15/2010 01:00:38 PM - BOOST: Poller[0] CACTI2RRD: /usr/local/rrdtool-1.2.30/bin/rrdtool update /usr/share/cacti/site/rra/bosfw1_sessionsfail_432.rrd --template sessionsFail 1276599904:0 1276600205:0 1276600504:0 1276600805:0 1276601104:0 1276601405:0 1276601706:0 1276602006:0 1276602306:0 1276602607:0 1276602906:0 1276603211:0
06/15/2010 01:00:38 PM - BOOST: Poller[0] NOTE: Updating Local Data Id:'432', Template:sessionsFail, Output: 1276599904:0 1276600205:0 1276600504:0 1276600805:0 1276601104:0 1276601405:0 1276601706:0 1276602006:0 1276602306:0 1276602607:0 1276602906:0 1276603211:0
06/15/2010 01:00:38 PM - BOOST: Poller[0] NOTE: Updating Local Data ID:'1822', Total of '0' Updates to Process
06/15/2010 01:00:38 PM - BOOST: Poller[0] CACTI2RRD: /usr/local/rrdtool-1.2.30/bin/rrdtool last /usr/share/cacti/site/rra/bosfw1_sessionsfail_432.rrd
06/15/2010 01:00:38 PM - BOOST: Poller[0] NOTE: Updating Local Data ID:'432', Total of '12' Updates to Process
06/15/2010 01:00:38 PM - BOOST: Poller[0] CACTI2RRD: /usr/local/rrdtool-1.2.30/bin/rrdtool update /usr/share/cacti/site/rra/bosfw1_sessionsalloc_431.rrd --template sessionsAlloc 1276599904:222 1276600205:134 1276600504:158 1276600805:171 1276601104:167 1276601405:146 1276601706:145 1276602006:180 1276602306:194 1276602607:151 1276602906:143 1276603211:151
06/15/2010 01:00:38 PM - BOOST: Poller[0] NOTE: Updating Local Data Id:'431', Template:sessionsAlloc, Output: 1276599904:222 1276600205:134 1276600504:158 1276600805:171 1276601104:167 1276601405:146 1276601706:145 1276602006:180 1276602306:194 1276602607:151 1276602906:143 1276603211:151
06/15/2010 01:00:38 PM - BOOST: Poller[0] CACTI2RRD: /usr/local/rrdtool-1.2.30/bin/rrdtool update /usr/share/cacti/site/rra/bosfw1_memoryfrag_429.rrd --template memoryFrag 1276599904:34 1276600205:34 1276600504:34 1276600805:34 1276601104:34 1276601405:34 1276601706:34 1276602006:34 1276602306:34 1276602607:34 1276602906:34 1276603211:34
06/15/2010 01:00:38 PM - BOOST: Poller[0] NOTE: Updating Local Data Id:'429', Template:memoryFrag, Output: 1276599904:34 1276600205:34 1276600504:34 1276600805:34 1276601104:34 1276601405:34 1276601706:34 1276602006:34 1276602306:34 1276602607:34 1276602906:34 1276603211:34
06/15/2010 01:00:38 PM - BOOST: Poller[0] CACTI2RRD: /usr/local/rrdtool-1.2.30/bin/rrdtool last /usr/share/cacti/site/rra/bosfw1_sessionsalloc_431.rrd
06/15/2010 01:00:38 PM - BOOST: Poller[0] NOTE: Updating Local Data ID:'431', Total of '12' Updates to Process
06/15/2010 01:00:38 PM - BOOST: Poller[0] CACTI2RRD: /usr/local/rrdtool-1.2.30/bin/rrdtool last /usr/share/cacti/site/rra/bosfw1_memoryfrag_429.rrd
06/15/2010 01:00:38 PM - BOOST: Poller[0] NOTE: Updating Local Data ID:'429', Total of '12' Updates to Process
06/15/2010 01:00:38 PM - BOOST: Poller[0] CACTI2RRD: /usr/local/rrdtool-1.2.30/bin/rrdtool update /usr/share/cacti/site/rra/bosfw1_memoryfree_430.rrd --template memoryFree 1276599904:23399712 1276600205:23399712 1276600504:23383136 1276600805:23403888 1276601104:23403888 1276601405:23403888 1276601706:23403888 1276602006:23403888 1276602306:23403888 1276602607:23403888 1276602906:23403888 1276603211:23403888
06/15/2010 01:00:38 PM - BOOST: Poller[0] NOTE: Updating Local Data Id:'430', Template:memoryFree, Output: 1276599904:23399712 1276600205:23399712 1276600504:23383136 1276600805:23403888 1276601104:23403888 1276601405:23403888 1276601706:23403888 1276602006:23403888 1276602306:23403888 1276602607:23403888 1276602906:23403888 1276603211:23403888
06/15/2010 01:00:38 PM - BOOST: Poller[0] CACTI2RRD: /usr/local/rrdtool-1.2.30/bin/rrdtool last /usr/share/cacti/site/rra/bosfw1_memoryfree_430.rrd
06/15/2010 01:00:38 PM - BOOST: Poller[0] NOTE: Updating Local Data ID:'430', Total of '12' Updates to Process
06/15/2010 01:00:38 PM - BOOST: Poller[0] CACTI2RRD: /usr/local/rrdtool-1.2.30/bin/rrdtool update /usr/share/cacti/site/rra/bosfw1_memoryalloc_428.rrd --template memoryAlloc 1276599904:113172064 1276600205:113172064 1276600504:113188640 1276600805:113167888 1276601104:113167888 1276601405:113167888 1276601706:113167888 1276602006:113167888 1276602306:113167888 1276602607:113167888 1276602906:113167888 1276603211:113167888
06/15/2010 01:00:38 PM - BOOST: Poller[0] NOTE: Updating Local Data Id:'428', Template:memoryAlloc, Output: 1276599904:113172064 1276600205:113172064 1276600504:113188640 1276600805:113167888 1276601104:113167888 1276601405:113167888 1276601706:113167888 1276602006:113167888 1276602306:113167888 1276602607:113167888 1276602906:113167888 1276603211:113167888
06/15/2010 01:00:38 PM - BOOST: Poller[0] CACTI2RRD: /usr/local/rrdtool-1.2.30/bin/rrdtool last /usr/share/cacti/site/rra/bosfw1_memoryalloc_428.rrd
06/15/2010 01:00:38 PM - BOOST: Poller[0] NOTE: Updating Local Data ID:'428', Total of '12' Updates to Process
06/15/2010 01:00:38 PM - BOOST: Poller[0] CACTI2RRD: /usr/local/rrdtool-1.2.30/bin/rrdtool update /usr/share/cacti/site/rra/bosfw1_traffic_in_433.rrd --template traffic_in:traffic_out 1276599904:3885596475:3342137460 1276600205:3885770048:3342272386 1276600504:3885877219:3342346332 1276600805:3888866091:3343298613 1276601104:3890207453:3343738012 1276601405:3891629723:3344166854 1276601706:3893043560:3344998733 1276602006:3896453741:3345923341 1276602306:3902257930:3348295180 1276602607:3903172406:3348634691 1276602906:3911144401:3349467417 1276603211:3914343386:3349880832
06/15/2010 01:00:38 PM - BOOST: Poller[0] NOTE: Updating Local Data Id:'433', Template:traffic_in:traffic_out, Output: 1276599904:3885596475:3342137460 1276600205:3885770048:3342272386 1276600504:3885877219:3342346332 1276600805:3888866091:3343298613 1276601104:3890207453:3343738012 1276601405:3891629723:3344166854 1276601706:3893043560:3344998733 1276602006:3896453741:3345923341 1276602306:3902257930:3348295180 1276602607:3903172406:3348634691 1276602906:3911144401:3349467417 1276603211:3914343386:3349880832
06/15/2010 01:00:38 PM - BOOST: Poller[0] CACTI2RRD: /usr/local/rrdtool-1.2.30/bin/rrdtool last /usr/share/cacti/site/rra/bosfw1_traffic_in_433.rrd
06/15/2010 01:00:38 PM - BOOST: Poller[0] NOTE: Updating Local Data ID:'433', Total of '24' Updates to Process
06/15/2010 01:00:37 PM - BOOST: Poller[0] CACTI2RRD: /usr/local/rrdtool-1.2.30/bin/rrdtool update /usr/share/cacti/site/rra/bosfw1_traffic_in_1823.rrd --template traffic_in:traffic_out 1276599904:1967890670:4100086504 1276600205:1970026739:4100447234 1276600504:1970725735:4100885118 1276600805:1971181648:4101195835 1276601104:1971658102:4101635256 1276601405:1972420813:4102031338 1276601706:1972875531:4102404748 1276602006:1976911246:4105536281 1276602306:1987874648:4106210483 1276602607:2026575200:4107885770 1276602906:2027056447:4108175216 1276603211:2038353304:4108776204
06/15/2010 01:00:37 PM - BOOST: Poller[0] NOTE: Updating Local Data Id:'1823', Template:traffic_in:traffic_out, Output: 1276599904:1967890670:4100086504 1276600205:1970026739:4100447234 1276600504:1970725735:4100885118 1276600805:1971181648:4101195835 1276601104:1971658102:4101635256 1276601405:1972420813:4102031338 1276601706:1972875531:4102404748 1276602006:1976911246:4105536281 1276602306:1987874648:4106210483 1276602607:2026575200:4107885770 1276602906:2027056447:4108175216 1276603211:2038353304:4108776204
06/15/2010 01:00:37 PM - BOOST: Poller[0] CACTI2RRD: /usr/local/rrdtool-1.2.30/bin/rrdtool last /usr/share/cacti/site/rra/bosfw1_traffic_in_1823.rrd
06/15/2010 01:00:37 PM - BOOST: Poller[0] NOTE: Updating Local Data ID:'1823', Total of '24' Updates to Process
06/15/2010 01:00:37 PM - BOOST: Poller[0] CACTI2RRD: /usr/local/rrdtool-1.2.30/bin/rrdtool update /usr/share/cacti/site/rra/bosfw1_cpu15_426.rrd --template cpu15 1276599904:2 1276600205:2 1276600504:2 1276600805:2 1276601104:2 1276601405:2 1276601706:1 1276602006:1 1276602306:1 1276602607:2 1276602906:2 1276603211:2
06/15/2010 01:00:37 PM - BOOST: Poller[0] NOTE: Updating Local Data Id:'426', Template:cpu15, Output: 1276599904:2 1276600205:2 1276600504:2 1276600805:2 1276601104:2 1276601405:2 1276601706:1 1276602006:1 1276602306:1 1276602607:2 1276602906:2 1276603211:2
06/15/2010 01:00:37 PM - BOOST: Poller[0] CACTI2RRD: /usr/local/rrdtool-1.2.30/bin/rrdtool last /usr/share/cacti/site/rra/bosfw1_cpu15_426.rrd
06/15/2010 01:00:37 PM - BOOST: Poller[0] NOTE: Updating Local Data ID:'426', Total of '12' Updates to Process
06/15/2010 01:00:37 PM - BOOST: Poller[0] CACTI2RRD: /usr/local/rrdtool-1.2.30/bin/rrdtool update /usr/share/cacti/site/rra/bosfw1_traffic_in_434.rrd --template traffic_in:traffic_out 1276599904:3355552999:728105271 1276600205:3356072906:730389549 1276600504:3356606109:731169337 1276600805:3357890510:734591491 1276601104:3358790209:736384869 1276601405:3359638340:738546265 1276601706:3360862515:740390358 1276602006:3364916067:747834126 1276602306:3367963347:764603590 1276602607:3369970495:804254875 1276602906:3371106250:812691412 1276603211:3372135317:827179721
06/15/2010 01:00:37 PM - BOOST: Poller[0] NOTE: Updating Local Data Id:'434', Template:traffic_in:traffic_out, Output: 1276599904:3355552999:728105271 1276600205:3356072906:730389549 1276600504:3356606109:731169337 1276600805:3357890510:734591491 1276601104:3358790209:736384869 1276601405:3359638340:738546265 1276601706:3360862515:740390358 1276602006:3364916067:747834126 1276602306:3367963347:764603590 1276602607:3369970495:804254875 1276602906:3371106250:812691412 1276603211:3372135317:827179721
06/15/2010 01:00:37 PM - BOOST: Poller[0] CACTI2RRD: /usr/local/rrdtool-1.2.30/bin/rrdtool update /usr/share/cacti/site/rra/bosfw1_cpu5_427.rrd --template cpu5 1276599904:2 1276600205:2 1276600504:2 1276600805:2 1276601104:2 1276601405:2 1276601706:1 1276602006:2 1276602306:2 1276602607:2 1276602906:2 1276603211:2
06/15/2010 01:00:37 PM - BOOST: Poller[0] NOTE: Updating Local Data Id:'427', Template:cpu5, Output: 1276599904:2 1276600205:2 1276600504:2 1276600805:2 1276601104:2 1276601405:2 1276601706:1 1276602006:2 1276602306:2 1276602607:2 1276602906:2 1276603211:2
06/15/2010 01:00:37 PM - BOOST: Poller[0] CACTI2RRD: /usr/local/rrdtool-1.2.30/bin/rrdtool last /usr/share/cacti/site/rra/bosfw1_traffic_in_434.rrd
06/15/2010 01:00:37 PM - BOOST: Poller[0] NOTE: Updating Local Data ID:'434', Total of '24' Updates to Process
06/15/2010 01:00:37 PM - BOOST: Poller[0] CACTI2RRD: /usr/local/rrdtool-1.2.30/bin/rrdtool last /usr/share/cacti/site/rra/bosfw1_cpu5_427.rrd
06/15/2010 01:00:37 PM - BOOST: Poller[0] NOTE: Updating Local Data ID:'427', Total of '12' Updates to Process
06/15/2010 01:00:37 PM - BOOST: Poller[0] CACTI2RRD: /usr/local/rrdtool-1.2.30/bin/rrdtool update /usr/share/cacti/site/rra/bosfw1_cpu1_425.rrd --template cpu1 1276599904:2 1276600205:2 1276600504:2 1276600805:2 1276601104:2 1276601405:2 1276601706:2 1276602006:2 1276602306:2 1276602607:2 1276602906:2 1276603211:2
06/15/2010 01:00:37 PM - BOOST: Poller[0] NOTE: Updating Local Data Id:'425', Template:cpu1, Output: 1276599904:2 1276600205:2 1276600504:2 1276600805:2 1276601104:2 1276601405:2 1276601706:2 1276602006:2 1276602306:2 1276602607:2 1276602906:2 1276603211:2
06/15/2010 01:00:37 PM - BOOST: Poller[0] CACTI2RRD: /usr/local/rrdtool-1.2.30/bin/rrdtool last /usr/share/cacti/site/rra/bosfw1_cpu1_425.rrd
06/15/2010 01:00:37 PM - BOOST: Poller[0] NOTE: Updating Local Data ID:'425', Total of '12' Updates to Process
06/15/2010 01:00:37 PM - BOOST: Poller[0] CACTI2RRD: /usr/local/rrdtool-1.2.30/bin/rrdtool update /usr/share/cacti/site/rra/bosfw1_uptime_773.rrd --template uptime 1276599904:1589631700 1276600205:1589661800 1276600504:1589691700 1276600805:1589721800 1276601104:1589751700 1276601405:1589781800 1276601706:1589812000 1276602006:1589841900 1276602306:1589871900 1276602607:1589902000 1276602906:1589932000 1276603211:1589962500
06/15/2010 01:00:37 PM - BOOST: Poller[0] NOTE: Updating Local Data Id:'773', Template:uptime, Output: 1276599904:1589631700 1276600205:1589661800 1276600504:1589691700 1276600805:1589721800 1276601104:1589751700 1276601405:1589781800 1276601706:1589812000 1276602006:1589841900 1276602306:1589871900 1276602607:1589902000 1276602906:1589932000 1276603211:1589962500
06/15/2010 01:00:37 PM - BOOST: Poller[0] CACTI2RRD: /usr/local/rrdtool-1.2.30/bin/rrdtool last /usr/share/cacti/site/rra/bosfw1_uptime_773.rrd
06/15/2010 01:00:37 PM - BOOST: Poller[0] NOTE: Updating Local Data ID:'773', Total of '12' Updates to Process
06/15/2010 01:00:36 PM - BOOST: Poller[0] CACTI2RRD: /usr/local/rrdtool-1.2.30/bin/rrdtool update /usr/share/cacti/site/rra/bosfw1_bgppeerstate_1822.rrd --template bgpPeerState 1276599904:6 1276600205:6 1276600504:6 1276600805:6 1276601104:6 1276601405:6 1276601706:6 1276602006:6 1276602306:6 1276602607:6 1276602906:6 1276603211:6
06/15/2010 01:00:36 PM - BOOST: Poller[0] NOTE: Updating Local Data Id:'1822', Template:bgpPeerState, Output: 1276599904:6 1276600205:6 1276600504:6 1276600805:6 1276601104:6 1276601405:6 1276601706:6 1276602006:6 1276602306:6 1276602607:6 1276602906:6 1276603211:6
06/15/2010 01:00:36 PM - BOOST: Poller[0] CACTI2RRD: /usr/local/rrdtool-1.2.30/bin/rrdtool last /usr/share/cacti/site/rra/bosfw1_bgppeerstate_1822.rrd
06/15/2010 01:00:36 PM - BOOST: Poller[0] NOTE: Updating Local Data ID:'1822', Total of '12' Updates to Process
06/15/2010 01:00:14 PM - SPINE: Poller[0] Host[262] TH[1] DS[1138] SS[5] SERVER: /usr/share/cacti/site/scripts/ss_poller.php ss_boost, output: 0
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
mcutting
Cacti Guru User
Posts: 1884
Joined: Mon Oct 16, 2006 5:57 am
Location: United Kingdom
Contact:

Post by mcutting »

Looks like it's dying:

06/15/2010 01:30:25 PM - BOOST SVR: Poller[0] WARNING: Detected Poller Boost Overrun, Possible Boost Poller Crash
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
User avatar
Alice
Cacti User
Posts: 111
Joined: Tue Oct 28, 2003 4:54 pm
Location: Bucharest, RO.

Post by Alice »

I've installed upgraded to Cacti 0.8.7g final (only DB kept from an older version) and installed Boost plugin from SVN (4.2). No other plugin installed.

Boost it's not working.
poller_output_boost table (MEMORY) gets to 512MB and that's it. But the RRD files are updated every polling cycle:

07/29/2010 08:37:51 PM - SYSTEM STATS: Time:49.7169 Method:spine Processes:10 Threads:8 Hosts:257 HostsPerProcess:26 DataSources:26815 RRDsProcessed:12101

I've tried with and without Boost Server, nothing changes.

More info & screenshots available on request.
_________________
[url=http://www.x-graphs.com/]http://www.x-graphs.com[/url] [color=red]X[/color]-[color=blue]graphs[/color] :: All kind of graphs
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Uninstall boost and then re-install. Don't use the boost server until you have the base boost running. Also, there is one 'minor' change in SVN.

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
Alice
Cacti User
Posts: 111
Joined: Tue Oct 28, 2003 4:54 pm
Location: Bucharest, RO.

Post by Alice »

Excuse me, my mistake.
Plugin was not enabled in the 'Plugin Management' Section :(

I tought that if i see 'Boost' tab in Settings everyting is ok.
[url=http://www.x-graphs.com/]http://www.x-graphs.com[/url] [color=red]X[/color]-[color=blue]graphs[/color] :: All kind of graphs
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

NP.
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?
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests