Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Mon Apr 24, 2017 7:56 pm

All times are UTC - 5 hours




Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 10 posts ] 
Author Message
 Post subject: Plugin Architecture Version 2.9 Released
PostPosted: Tue Oct 19, 2010 7:50 pm 
Offline
Developer/Forum Admin
User avatar

Joined: Mon Nov 17, 2003 6:35 pm
Posts: 5942
Location: Michigan, USA
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

_________________
Tony Roman
Experience is what causes a person to make new mistakes instead of old ones.
There are only 3 way to complete a project: Good, Fast or Cheap, pick two.
With age comes wisdom, what you choose to do with it determines whether or not you are wise.


Top
 Profile  
 
 Post subject: Re: Plugin Architecture Version 2.9 Released
PostPosted: Wed Nov 10, 2010 5:22 pm 
Offline

Joined: Fri Jan 13, 2006 4:00 pm
Posts: 39
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.


Top
 Profile  
 
 Post subject: Re: Plugin Architecture Version 2.9 Released
PostPosted: Tue Nov 16, 2010 9:05 am 
Offline
Cacti Pro User
User avatar

Joined: Thu Nov 21, 2002 8:55 am
Posts: 703
Location: Austin, TX
Dang it Joan! Get back in the kitchen!


Top
 Profile  
 
 Post subject: Re: Plugin Architecture Version 2.9 Released
PostPosted: Wed Nov 17, 2010 10:47 am 
Offline
Developer
User avatar

Joined: Thu Dec 02, 2004 2:46 am
Posts: 22461
Location: Muenster, Germany
egarnel wrote:
Dang it Joan! Get back in the kitchen!

Please flag offending users; this will help our housekeeping tasks (grrr)
R.

_________________
Official Cacti Documentation
Official Debugging Help
Central Plugin Repository
Central Templates Repository


Top
 Profile  
 
 Post subject: Re: Plugin Architecture Version 2.9 Released
PostPosted: Thu Nov 18, 2010 10:36 am 
Offline
Cacti Pro User
User avatar

Joined: Thu Nov 21, 2002 8:55 am
Posts: 703
Location: Austin, TX
Sorry, couldn't resist. I'll flag them next time


Top
 Profile  
 
 Post subject: Re: Plugin Architecture Version 2.9 Released
PostPosted: Sun Apr 17, 2011 3:37 am 
Offline

Joined: Wed Oct 29, 2008 11:28 am
Posts: 8
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...


Top
 Profile  
 
 Post subject: Re: Plugin Architecture Version 2.9 Released
PostPosted: Sun Apr 17, 2011 12:42 pm 
Offline

Joined: Wed Oct 29, 2008 11:28 am
Posts: 8
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 :)


Top
 Profile  
 
 Post subject: Re: Plugin Architecture Version 2.9 Released
PostPosted: Sun Apr 17, 2011 3:26 pm 
Offline
Developer
User avatar

Joined: Thu Dec 02, 2004 2:46 am
Posts: 22461
Location: Muenster, Germany
We are in beta of 087h, which comes with PIA 3.0. 087h will fix the TYPE/ENGINE issue
R.

_________________
Official Cacti Documentation
Official Debugging Help
Central Plugin Repository
Central Templates Repository


Top
 Profile  
 
 Post subject: Re: Plugin Architecture Version 2.9 Released
PostPosted: Thu Sep 01, 2011 3:47 pm 
Offline

Joined: Tue Jul 12, 2011 5:11 pm
Posts: 6
I download the PIA 2.9 for my Windows Server 2008 Cacti Server. How do I apply the patch in that platform?

Thanks,
S


Top
 Profile  
 
 Post subject: Re: Plugin Architecture Version 2.9 Released
PostPosted: Thu Sep 01, 2011 4:52 pm 
Offline

Joined: Tue Jul 12, 2011 5:11 pm
Posts: 6
Nevermind, I read the PIA install instructions on the website. I will copy the pre-patched files.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 10 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group