Boost Plugin v1.6 Released

Announcements concerning Plugins for Cacti

Moderators: Developers, Moderators

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

Post by TheWitness »

I can see how that could happend sadly. Ok, I will add it to my list.

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?
frdrk
Cacti User
Posts: 55
Joined: Fri Jul 06, 2007 2:27 pm

Post by frdrk »

TheWitness wrote:I can see how that could happend sadly. Ok, I will add it to my list.

TheWitness
Other than that, it seems to be working just fine.

02/10/2008 10:34:32 AM - SYSTEM BOOST STATS: Time:520.8272 RRDUpdates:456720

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

Post by TheWitness »

Modify line 672 of setup to look this way and see if the database warnings go away. Please let me know.

Code: Select all

	$temp_table_suffix = rand(0,10000000000);
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?
frdrk
Cacti User
Posts: 55
Joined: Fri Jul 06, 2007 2:27 pm

Post by frdrk »

TheWitness wrote:Modify line 672 of setup to look this way and see if the database warnings go away. Please let me know.

Code: Select all

	$temp_table_suffix = rand(0,10000000000);
TheWitness
Yup, works. Thx.
frdrk
Cacti User
Posts: 55
Joined: Fri Jul 06, 2007 2:27 pm

Post by frdrk »

JakeE wrote:I'm experiencing a problem when using the Boost plugin with Cacti (using Cactid) in that if I add a new graph, the associated rrd file is not created even after Boost has gone through it's rrd update cycle. Boost is otherwise updating pre-existing rrd's as it should. I can manually create the rrd file(s) but this is tedious particularly if I have a large number of devices/interfaces to add. If I disable Boost then any missing rrd files are generated as normal however my polling time shoots up to 15+ minutes.

Has anyone encountered this type of behavior that could possibly shed some light on the problem?
I'm having somewhat the same problem.. if I add devices when boost is active, the graphs often just show NaN. Not always though, seems kinda random. Some graphs show NaN all the time, some of them starts to update after a while, and some works directly as they should.
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

frdrk wrote:
JakeE wrote:I'm experiencing a problem when using the Boost plugin with Cacti (using Cactid) in that if I add a new graph, the associated rrd file is not created even after Boost has gone through it's rrd update cycle. Boost is otherwise updating pre-existing rrd's as it should. I can manually create the rrd file(s) but this is tedious particularly if I have a large number of devices/interfaces to add. If I disable Boost then any missing rrd files are generated as normal however my polling time shoots up to 15+ minutes.

Has anyone encountered this type of behavior that could possibly shed some light on the problem?
I'm having somewhat the same problem.. if I add devices when boost is active, the graphs often just show NaN. Not always though, seems kinda random. Some graphs show NaN all the time, some of them starts to update after a while, and some works directly as they should.
Sounds like possibly a permissions issue. With you, if the files are eventually create at the next poller pass (boost that is). I don't suspect the same issue.

I would need to get more concrete information to confirm.

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?
frdrk
Cacti User
Posts: 55
Joined: Fri Jul 06, 2007 2:27 pm

Post by frdrk »

TheWitness wrote:
frdrk wrote:
JakeE wrote:I'm experiencing a problem when using the Boost plugin with Cacti (using Cactid) in that if I add a new graph, the associated rrd file is not created even after Boost has gone through it's rrd update cycle. Boost is otherwise updating pre-existing rrd's as it should. I can manually create the rrd file(s) but this is tedious particularly if I have a large number of devices/interfaces to add. If I disable Boost then any missing rrd files are generated as normal however my polling time shoots up to 15+ minutes.

Has anyone encountered this type of behavior that could possibly shed some light on the problem?
I'm having somewhat the same problem.. if I add devices when boost is active, the graphs often just show NaN. Not always though, seems kinda random. Some graphs show NaN all the time, some of them starts to update after a while, and some works directly as they should.
Sounds like possibly a permissions issue. With you, if the files are eventually create at the next poller pass (boost that is). I don't suspect the same issue.

I would need to get more concrete information to confirm.

TheWitness
It seems kinda random.. a while ago i added 3 devices with 24 graphing interface each. After two 'normal' polls, one boost-poll and two 'normal' polls more, only one of them has begun to graph. The other two shows NaN for a few normal pollercycles more, than begin to show graphs too.
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Once they start graphing no problems though right?

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?
frdrk
Cacti User
Posts: 55
Joined: Fri Jul 06, 2007 2:27 pm

Post by frdrk »

TheWitness wrote:Once they start graphing no problems though right?

TheWitness
No, not always. I added a few devices earlier, they all started graphing, but one of them stopped after a while. This have happend a couple of times since i started using boost this weekend. The other one's still works (see attached file, sorry for the terrible cropping.. just got a new laptop, no PS :D)

Tried the new rrdtool 1.3 beta4 also, it really did alot to boost the boost-poller.

With rrdtool1.2;

02/11/2008 02:29:19 PM - SYSTEM BOOST STATS: Time:508.5023 RRDUpdates:452223
02/11/2008 01:26:40 PM - SYSTEM BOOST STATS: Time:401.4330 RRDUpdates:107247
02/11/2008 01:11:26 PM - SYSTEM BOOST STATS: Time:634.1530 RRDUpdates:427016
02/11/2008 12:09:31 PM - SYSTEM BOOST STATS: Time:519.2945 RRDUpdates:421099


With rrdtool1.3beta4;

02/12/2008 03:23:13 PM - SYSTEM BOOST STATS: Time:141.1158 RRDUpdates:465122
02/12/2008 02:18:48 PM - SYSTEM BOOST STATS: Time:175.2828 RRDUpdates:429190
02/12/2008 01:19:46 PM - SYSTEM BOOST STATS: Time:234.0148 RRDUpdates:428125
02/12/2008 12:18:28 PM - SYSTEM BOOST STATS: Time:156.5285 RRDUpdates:463828
02/12/2008 11:15:02 AM - SYSTEM BOOST STATS: Time:249.4502 RRDUpdates:417378


Sweeetness :D


edit: Okay, an update.. for some reason that graph i posted earlier decided it wanted to update itself.. for about 15min. 20:20 is when my boost-poller starts btw..
Attachments
second screenshot.
second screenshot.
asd2.jpg (63.46 KiB) Viewed 5971 times
first screenshot.
first screenshot.
asd.JPG (29.7 KiB) Viewed 5982 times
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

You must use SVN to be at all stable, unfortunately.

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?
frdrk
Cacti User
Posts: 55
Joined: Fri Jul 06, 2007 2:27 pm

Post by frdrk »

TheWitness wrote:You must use SVN to be at all stable, unfortunately.

TheWitness
I am. Still getting gaps on some graphs. It seems to affect only graphs made after I installed boost, and not all of them either.. just some.
bunglega
Posts: 9
Joined: Mon Nov 12, 2007 9:06 am

Does Boost work w/ Windows?

Post by bunglega »

I have a new 8.7.a installation and I have just installed Boost. I keep getting this error in my Cacti Log:

------------------

02/15/2008 02:13:05 PM - BOOST: Poller[0] ERROR: Socket Error. Boost server is down. Contact support immediately!!
02/15/2008 02:13:05 PM - BOOST: Poller[0] ERROR: Socket Error. Boost server is down. Contact support immediately!!
02/15/2008 02:13:04 PM - CMDPHP: Poller[0] ERROR: A DB Exec Failed!, Error:'1050', SQL:"CREATE TEMPORARY TABLE `rcaston` ( `local_data_id` mediumint(8) unsigned NOT NULL default '0', `rrd_name` varchar(19) NOT NULL default '', `time` datetime NOT NULL default '0000-00-00 00:00:00', PRIMARY KEY (`local_data_id`,`rrd_name`,`time`)) ENGINE=MEMORY'
02/15/2008 02:13:04 PM - CMDPHP: Poller[0] ERROR: A DB Exec Failed!, Error:'1050', SQL:"CREATE TEMPORARY TABLE `rcaston` ( `local_data_id` mediumint(8) unsigned NOT NULL default '0', `rrd_name` varchar(19) NOT NULL default '', `time` datetime NOT NULL default '0000-00-00 00:00:00', PRIMARY KEY (`local_data_id`,`rrd_name`,`time`)) ENGINE=MEMORY'
02/15/2008 02:13:04 PM - BOOST: Poller[0] ERROR: Socket Error. Boost server is down. Contact support immediately!!
02/15/2008 02:13:03 PM - BOOST: Poller[0] ERROR: Socket Error. Boost server is down. Contact support immediately!!
02/15/2008 02:13:03 PM - CMDPHP: Poller[0] ERROR: A DB Exec Failed!, Error:'1050', SQL:"CREATE TEMPORARY TABLE `rcaston` ( `local_data_id` mediumint(8) unsigned NOT NULL default '0', `rrd_name` varchar(19) NOT NULL default '', `time` datetime NOT NULL default '0000-00-00 00:00:00', PRIMARY KEY (`local_data_id`,`rrd_name`,`time`)) ENGINE=MEMORY'
02/15/2008 02:13:02 PM - CMDPHP: Poller[0] ERROR: A DB Exec Failed!, Error:'1050', SQL:"CREATE TEMPORARY TABLE `rcaston` ( `local_data_id` mediumint(8) unsigned NOT NULL default '0', `rrd_name` varchar(19) NOT NULL default '', `time` datetime NOT NULL default '0000-00-00 00:00:00', PRIMARY KEY (`local_data_id`,`rrd_name`,`time`)) ENGINE=MEMORY'

-----------

How do I start the boost server in Windows? I followed the instructions as best I could ... some of the steps were not very clear.

Thanks.
frdrk
Cacti User
Posts: 55
Joined: Fri Jul 06, 2007 2:27 pm

Re: Does Boost work w/ Windows?

Post by frdrk »

bunglega wrote:I have a new 8.7.a installation and I have just installed Boost. I keep getting this error in my Cacti Log:

------------------

02/15/2008 02:13:05 PM - BOOST: Poller[0] ERROR: Socket Error. Boost server is down. Contact support immediately!!
02/15/2008 02:13:05 PM - BOOST: Poller[0] ERROR: Socket Error. Boost server is down. Contact support immediately!!
02/15/2008 02:13:04 PM - CMDPHP: Poller[0] ERROR: A DB Exec Failed!, Error:'1050', SQL:"CREATE TEMPORARY TABLE `rcaston` ( `local_data_id` mediumint(8) unsigned NOT NULL default '0', `rrd_name` varchar(19) NOT NULL default '', `time` datetime NOT NULL default '0000-00-00 00:00:00', PRIMARY KEY (`local_data_id`,`rrd_name`,`time`)) ENGINE=MEMORY'
02/15/2008 02:13:04 PM - CMDPHP: Poller[0] ERROR: A DB Exec Failed!, Error:'1050', SQL:"CREATE TEMPORARY TABLE `rcaston` ( `local_data_id` mediumint(8) unsigned NOT NULL default '0', `rrd_name` varchar(19) NOT NULL default '', `time` datetime NOT NULL default '0000-00-00 00:00:00', PRIMARY KEY (`local_data_id`,`rrd_name`,`time`)) ENGINE=MEMORY'
02/15/2008 02:13:04 PM - BOOST: Poller[0] ERROR: Socket Error. Boost server is down. Contact support immediately!!
02/15/2008 02:13:03 PM - BOOST: Poller[0] ERROR: Socket Error. Boost server is down. Contact support immediately!!
02/15/2008 02:13:03 PM - CMDPHP: Poller[0] ERROR: A DB Exec Failed!, Error:'1050', SQL:"CREATE TEMPORARY TABLE `rcaston` ( `local_data_id` mediumint(8) unsigned NOT NULL default '0', `rrd_name` varchar(19) NOT NULL default '', `time` datetime NOT NULL default '0000-00-00 00:00:00', PRIMARY KEY (`local_data_id`,`rrd_name`,`time`)) ENGINE=MEMORY'
02/15/2008 02:13:02 PM - CMDPHP: Poller[0] ERROR: A DB Exec Failed!, Error:'1050', SQL:"CREATE TEMPORARY TABLE `rcaston` ( `local_data_id` mediumint(8) unsigned NOT NULL default '0', `rrd_name` varchar(19) NOT NULL default '', `time` datetime NOT NULL default '0000-00-00 00:00:00', PRIMARY KEY (`local_data_id`,`rrd_name`,`time`)) ENGINE=MEMORY'

-----------

How do I start the boost server in Windows? I followed the instructions as best I could ... some of the steps were not very clear.

Thanks.
This helped me with the rcaston-errors;
TheWitness wrote: Modify line 672 of setup to look this way and see if the database warnings go away. Please let me know.

Code: Select all

   $temp_table_suffix = rand(0,10000000000);
frdrk
Cacti User
Posts: 55
Joined: Fri Jul 06, 2007 2:27 pm

Post by frdrk »

This is a typical gap that i get in my graphs.. I made a bunch of graphs yesterday afternoon, and they all work well untill I decide to watch them. The gaps are always from like 30min away untill now. I know this sounds strange but.. almost every graph I make after enabling boost has this same behavior.

Maybe I don't get gaps if i dont look at the graphs.. kinda moment 22 to find out :D
Attachments
new graph, same device, yet another interface.
new graph, same device, yet another interface.
cacti.jpg (58.18 KiB) Viewed 5858 times
new graph, same device, another interface.
new graph, same device, another interface.
cacti2.jpg (67.98 KiB) Viewed 5858 times
new graph, same device. traffic on same interface as cacti4.jpg
new graph, same device. traffic on same interface as cacti4.jpg
cacti3.jpg (55.48 KiB) Viewed 5858 times
old graph from before boost, multicast on the same interface as cacti3.jpg
old graph from before boost, multicast on the same interface as cacti3.jpg
cacti4.jpg (58.12 KiB) Viewed 5858 times
User avatar
wwwdrich
Cacti User
Posts: 91
Joined: Thu Feb 03, 2005 5:53 pm
Location: San Jose, CA
Contact:

Post by wwwdrich »

Any word on a new release? I'm running the SVN version, but still see the occasional gap and/or system that just decides to stop updating all together (haven't tracked down why yet).
- Dan
[i] "Step up to red alert!" "Are you sure, sir?[/i]
[i] It means changing the bulb in the sign..." - Red Dwarf[/i]
Locked

Who is online

Users browsing this forum: No registered users and 2 guests