Boost 2.4 - Released

Announcements concerning Plugins for Cacti

Moderators: Developers, Moderators

User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Boost 2.4 - Released

Post by TheWitness »

All,

Just a few minor changes here.

Code: Select all

-bug: [Boost 2.3] Include line referring to thold plugin
-bug: Should be db_fetch_row and not db_fetch_cell
-feature: Allow specification of memory limits
TheWitness
Attachments
boost-2.4-1.tar.gz
(32.75 KiB) Downloaded 721 times
Last edited by TheWitness on Sun May 23, 2010 6:54 pm, edited 2 times in total.
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?
Atkatla
Cacti User
Posts: 69
Joined: Mon Apr 14, 2008 3:17 pm

Post by Atkatla »

Thanks for your great work, witness.

How is the upgrade path? I am currently running cacti 0.8.7b with spine 0.8.7a and boost 1.7.
I want to upgrade cacti to 0.8.7d and boost too. Can I go directly from 1.7 to 2.4?

Atk.
Cacti 0.8.7e /Spine/Boost/weathermap
74 Hosts, ~47k datasources every 60seconds
OpenSUSE 11.0
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

If running pia 2.x, simply copy the new files in place and goto the plugin management page. Irs automatic. Then, if you were previous forcing boost through cron, remove that entry. Windows is a bit more complicated.

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?
finn
Posts: 13
Joined: Thu Dec 06, 2007 7:58 pm

structured paths still lacking for boost_server users?

Post by finn »

Hey.

I notice the patches and latest boost only has support for structured paths in the actual setup script. Meaning that if new hosts are added and you are using boost_server, the directories will still not be created?

I am runing 087d with boost 241 and had to disable boost_server and have the updates done via the http launched process in order to get new host rrd files created.

I am starting to get the gist that web updates are the prefered method of operation when running boost rather than boost_server? :)
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: structured paths still lacking for boost_server users?

Post by TheWitness »

finn wrote:Hey.

I notice the patches and latest boost only has support for structured paths in the actual setup script. Meaning that if new hosts are added and you are using boost_server, the directories will still not be created?

I am runing 087d with boost 241 and had to disable boost_server and have the updates done via the http launched process in order to get new host rrd files created.

I am starting to get the gist that web updates are the prefered method of operation when running boost rather than boost_server? :)
Yes, I see this as a problem in the current code with Structured pathes enabled. Can you please open a bug report at http://bugs.cacti.net

Thanks,

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
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: structured paths still lacking for boost_server users?

Post by TheWitness »

finn wrote:Hey.

I notice the patches and latest boost only has support for structured paths in the actual setup script. Meaning that if new hosts are added and you are using boost_server, the directories will still not be created?

I am runing 087d with boost 241 and had to disable boost_server and have the updates done via the http launched process in order to get new host rrd files created.

I am starting to get the gist that web updates are the prefered method of operation when running boost rather than boost_server? :)
I have made a patch. I can PM you the modified file. Simply PM me first.

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?
finn
Posts: 13
Joined: Thu Dec 06, 2007 7:58 pm

Re: structured paths still lacking for boost_server users?

Post by finn »

done:

http://bugs.cacti.net/view.php?id=1427
TheWitness wrote:
finn wrote:Hey.

I notice the patches and latest boost only has support for structured paths in the actual setup script. Meaning that if new hosts are added and you are using boost_server, the directories will still not be created?

I am runing 087d with boost 241 and had to disable boost_server and have the updates done via the http launched process in order to get new host rrd files created.

I am starting to get the gist that web updates are the prefered method of operation when running boost rather than boost_server? :)
Yes, I see this as a problem in the current code with Structured pathes enabled. Can you please open a bug report at http://bugs.cacti.net

Thanks,

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

Re: structured paths still lacking for boost_server users?

Post by finn »

TheWitness wrote:
I have made a patch. I can PM you the modified file. Simply PM me first.

TheWitness
That's fine. I will wait for the next update or whatever. Things are running fine since disabling boost_server so I have no immediate need to go back to using boost_server. Cheers though :)
Mikf
Posts: 47
Joined: Fri Aug 13, 2004 11:35 am
Location: Paris, France

Post by Mikf »

hello
why in boost_sql_myisam.sql table poller_output_boost_processes
is type ENGINE=MEMORY and not ENGINE=MyISAM ?

Jerome.
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Cause it's better that way. Not all tables need to be myisam as the name suggests.

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?
dononeil
Cacti User
Posts: 194
Joined: Wed Aug 06, 2008 4:45 pm

Post by dononeil »

Is there any documentation available on how to interact with the RRD's through the boost server? We'd like to 'extract' data from the RRD's for additional analysis on another machine and I thought the boost server would be the perfect way to do this.
dononeil
Cacti User
Posts: 194
Joined: Wed Aug 06, 2008 4:45 pm

Post by dononeil »

We just rebooted our server, and since our boost tables are in RAM we lost everything that was collected since the last flush to the RRD files...

How can I force a flush to the RRD files before I do a reboot to avoid the data loss in the future?
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Two ways:

Code: Select all

php -q /var/www/html/cacti/plugins/boost/poller_boost.php --force
or:

Code: Select all

mysql -e "alter table poller_output_boost, engine=myisam;"
then when you reboot:

Code: Select all

mysql -e "alter table poller_output_boost, engine=memory;"
If the table is large, you might want to both in the above order.

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?
bldewolf
Posts: 5
Joined: Tue Apr 15, 2008 8:00 pm

Post by bldewolf »

Hey, I upgraded boost recently and noticed this fix still hasn't been applied. This means that poller_boost.php, if run when it's already running, will assume the previous run has crashed and start running itself. This will result in multiple poller_boost.phps running at the same time.

Code: Select all

diff -ur a/poller_boost.php b/poller_boost.php
--- a/poller_boost.php 2009-02-22 09:29:22.000000000 -0800
+++ b/poller_boost.php      2009-06-08 13:19:47.000000000 -0700
@@ -64,7 +64,7 @@

        /* detect a process that has overrun it's warning time */
        if (substr_count($boost_poller_status, "running")) {
-               $status_array = explode(":", $boost_poller_status);
+               $status_array = explode("time:", $boost_poller_status);

                if (!empty($status_array[1])) {
                        $previous_start_time = strtotime($status_array[1]);
User avatar
timi
Cacti User
Posts: 240
Joined: Wed Nov 09, 2005 8:35 am
Location: Timisoara, Romania
Contact:

Post by timi »

hi i have a problem, with boost 2.4 and cacti 0.8.7d

Code: Select all

06/16/2009 04:45:10 PM - CMDPHP: Poller[0] ERROR: A DB Exec Failed!, Error:'1114', SQL:"INSERT INTO poller_output_boost (local_data_id, rrd_name, time, output) VALUES ('8948','traffic_out','2009-06-16 16:45:08','2897437436'), ('9257','errors_out','2009-06-16 16:45:09','0'), ('9257','discards_in','2009-06-16 16:45:09','0'), ('9256','traffic_out','2009-06-16 16:45:09','0'), ('9256','traffic_in','2009-06-16 16:45:09','0'), ('9255','nonunicast_in','2009-06-16 16:45:09','0'), ('9255','nonunicast_out','2009-06-16 16:45:09','0'), ('9254','unicast_out','2009-06-16 16:45:09','0'), ('9254','unicast_in','2009-06-16 16:45:09','0'), ('9253','errors_out','2009-06-16 16:45:09','0'), ('9253','discards_out','2009-06-16 16:45:09','0'), ('9253','discards_in','2009-06-16 16:45:09','0'), ('9253','errors_in','2009-06-16 16:45:09','0'), ('9252','traffic_out','2009-06-16 16:45:09','0'), ('9252','traffic_in','2009-06-16 16:45:09','0'), ('9251','nonunicast_in','2009-06-16 16:45:09','0'), ('9251','nonunicast_out','2009-06-16 16:45:09','0'), ('9250','unicast_out','2009-06-16 16:45:09','0'), ('9250','unicast_in','2009-06-16 16:45:09','0'), ('9249','errors_out','2009-06-16 16:45:09','0'), ('9249','discards_out','2009-06-16 16:45:09','0'), ('9249','discards_in','2009-06-16 16:45:09','0'), ('9249','errors_in','2009-06-16 16:45:09','0'), ('9248','traffic_out','2009-06-16 16:45:09','0'), ('9248','traffic_in','2009-06-16 16:45:09','0'), ('9247','nonunicast_in','2009-06-16 16:45:09','0'), ('9247','nonunicast_out','2009-06-16 16:45:09','0'), ('9246','unicast_out','2009-06-16 16:45:09','0'), ('9246','unicast_in','2009-06-16 16:45:09','0'), ('9245','errors_out','2009-06-16 16:45:09','0'), ('9245','discards_out','2009-06-16 16:45:09','0'), ('9245','discards_in','2009-06-16 16:45:09','0'), ('9245','errors_in','2009-06-16 16:45:09','0'), ('9244','traffic_out','2009-06-16 16:45:09','0'), ('9244','traffic_in','2009-06-16 16:45:09','0'), ('9243','nonunicast_in','2009-06-16 16:45:09','12'), ('9243','nonunicast_out','2009-06-16 16:45:09','417640'), ('9242','unicast_out','2009-06-16 16:45:09','2353'), ('9242','unicast_in','2009-06-16 16:45:09','352'), ('9241','errors_out','2009-06-16 16:45:09','0'), ('9241','discards_out','2009-06-16 16:45:09','0'), ('9241','discards_in','2009-06-16 16:45:09','0'), ('9241','errors_in','2009-06-16 16:45:09','0'), ('9240','traffic_out','2009-06-16 16:45:09','32573342'), ('9240','traffic_in','2009-06-16 16:45:09','34735'), ('9239','nonunicast_in','2009-06-16 16:45:09','0'), ('9239','nonunicast_out','2009-06-16 16:45:09','0'), ('9238','unicast_out','2009-06-16 16:45:09','0'), ('9238','unicast_in','2009-06-16 16:45:09','0'), ('9237','errors_out','2009-06-16 16:45:09','0') ON DUPLICATE KEY UPDATE output=VALUES(output)'
what can it be ?
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests