Plugin Architecture Version 2.9 Released

Important information about Cacti developments that all users should be interested in.

Moderators: Developers, Moderators

Locked
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Plugin Architecture Version 2.9 Released

Post by rony »

The Cacti Group is proud to announce the release of version 2.9 of the Plugin Architecture!

Version 2.9 is designed to work with Cacti 0.8.7g.

Download: http://www.cacti.net/downloads/pia/cact ... 2.9.tar.gz
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
macdaddy
Posts: 39
Joined: Fri Jan 13, 2006 4:00 pm

Re: Plugin Architecture Version 2.9 Released

Post by macdaddy »

Is this supposed to be posted to cactiusers.org as well? I stumbled across this in the forums and hadn't seen it on that site yet.
User avatar
egarnel
Cacti Pro User
Posts: 708
Joined: Thu Nov 21, 2002 8:55 am
Location: Austin, TX

Re: Plugin Architecture Version 2.9 Released

Post by egarnel »

Dang it Joan! Get back in the kitchen!
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: Plugin Architecture Version 2.9 Released

Post by gandalf »

egarnel wrote:Dang it Joan! Get back in the kitchen!
Please flag offending users; this will help our housekeeping tasks (grrr)
R.
User avatar
egarnel
Cacti Pro User
Posts: 708
Joined: Thu Nov 21, 2002 8:55 am
Location: Austin, TX

Re: Plugin Architecture Version 2.9 Released

Post by egarnel »

Sorry, couldn't resist. I'll flag them next time
thenextdon13
Posts: 8
Joined: Wed Oct 29, 2008 11:28 am

Re: Plugin Architecture Version 2.9 Released

Post by thenextdon13 »

Is there a reason the links at http://cactiusers.org/downloads/patches/ have not been updated with 2.9?

2.8 appears to not work very well at all with 0.8.7g and it appears most disro's now are distributing 0.8.7g...

Am i missing something?

thanks...
thenextdon13
Posts: 8
Joined: Wed Oct 29, 2008 11:28 am

Re: Plugin Architecture Version 2.9 Released

Post by thenextdon13 »

Additionally, it appears that some of the fixes/files have changed since this patch was released, and newer versions of mysql have stopped supporting the syntax 'TYPE=MyISAM' as used in the pa.sql creation.

I checked out the latest poller.php from SVN and the patch fails on it. It appears to be a line that was fixed in the source (spacing before = sign)


patching file poller.php
Hunk #2 succeeded at 306 (offset 1 line).
Hunk #3 FAILED at 431.
Hunk #4 succeeded at 453 (offset 3 lines).
Hunk #5 succeeded at 502 (offset 3 lines).
1 out of 5 hunks FAILED -- saving rejects to file poller.php.rej


The patch calls out this:

@@ -427,7 +431,7 @@

/* record the start time for this loop */
list($micro,$seconds) = explode(" ", microtime());
- $loop_end = $seconds + $micro;
+ $loop_end = $seconds + $micro;
$loop_time = $loop_end - $loop_start;

if ($loop_time < $poller_interval) {

however if we look at the svn poller, this change already appears to be integrated:
(rev 6298)

431 /* record the start time for this loop */
432 list($micro,$seconds) = explode(" ", microtime());
433 $loop_end = $seconds + $micro;
434 $loop_time = $loop_end - $loop_start;


As for the database import--
ERROR 1064 (42000) at line 5: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'TYP
E=MyISAM' at line 12

With some research, this can be easily fixed by replacing instances of 'TYPE=' with 'ENGINE=' in pa.mysql


Just a heads up :)
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: Plugin Architecture Version 2.9 Released

Post by gandalf »

We are in beta of 087h, which comes with PIA 3.0. 087h will fix the TYPE/ENGINE issue
R.
surgeahead
Posts: 6
Joined: Tue Jul 12, 2011 5:11 pm

Re: Plugin Architecture Version 2.9 Released

Post by surgeahead »

I download the PIA 2.9 for my Windows Server 2008 Cacti Server. How do I apply the patch in that platform?

Thanks,
S
surgeahead
Posts: 6
Joined: Tue Jul 12, 2011 5:11 pm

Re: Plugin Architecture Version 2.9 Released

Post by surgeahead »

Nevermind, I read the PIA install instructions on the website. I will copy the pre-patched files.
Locked

Who is online

Users browsing this forum: No registered users and 1 guest