Upgrading a Plugin
Moderators: Developers, Moderators
Upgrading a Plugin
Hi all,
Is there any central place that has information on what version of PIA goes with what version of Cacti and what versions of plugins go with what versions of PIA's?
In other words, is there a place that says when your running Cacti version ABC you should be using PIA version XYZ, and, if you want to use plugin <example> you will need to be running Cacti version and/or PIA version ABCD?
I see a lot of people asking "what version of PIA should I use" and similar, and at present I'd like to upgrade my Weathermaps plugin but am not sure if the latest version is compatible with my Cacti/PIA version, so was hoping something like this is available?
Thanks everyone.
Is there any central place that has information on what version of PIA goes with what version of Cacti and what versions of plugins go with what versions of PIA's?
In other words, is there a place that says when your running Cacti version ABC you should be using PIA version XYZ, and, if you want to use plugin <example> you will need to be running Cacti version and/or PIA version ABCD?
I see a lot of people asking "what version of PIA should I use" and similar, and at present I'd like to upgrade my Weathermaps plugin but am not sure if the latest version is compatible with my Cacti/PIA version, so was hoping something like this is available?
Thanks everyone.
There really isn't anywhere concrete.
I have adjusted the plugin page to show the PIA tag (the Cacti version tag is new, but won't be shown unless you view that plugin), but this is completely dependant on the plugin author adding the tag.
http://docs.cacti.net/plugins
I have adjusted the plugin page to show the PIA tag (the Cacti version tag is new, but won't be shown unless you view that plugin), but this is completely dependant on the plugin author adding the tag.
http://docs.cacti.net/plugins
--
Live fast, die young
You're sucking up my bandwidth.
J.P. Pasnak,CD
CCNA, LPIC-1
http://www.warpedsystems.sk.ca
Live fast, die young
You're sucking up my bandwidth.
J.P. Pasnak,CD
CCNA, LPIC-1
http://www.warpedsystems.sk.ca
ah ok, I feared as much ![:(](./images/smilies/icon_frown.gif)
Is it possible for people such as myself who have not written the plugins but would like to help out, to enter the PIA information? Or is it best just to e-mail it through to you?
For example, I'd like to give some of these plugins a try so if they work with the PIA I am using, I'd be happy to let you know if it'd help.
By the way, is there a PIA to Cacti version map at all so users can see at a glance what version of PIA they need to go with their version of Cacti?
![:(](./images/smilies/icon_frown.gif)
Is it possible for people such as myself who have not written the plugins but would like to help out, to enter the PIA information? Or is it best just to e-mail it through to you?
For example, I'd like to give some of these plugins a try so if they work with the PIA I am using, I'd be happy to let you know if it'd help.
By the way, is there a PIA to Cacti version map at all so users can see at a glance what version of PIA they need to go with their version of Cacti?
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Usually, release notes of each cacti release name the related PIA (as well as the related spine).
Version compatibilty for plugins is listed in the plugins repository as already said above.
Due to integrating PIA to core cacti with 088, this will be improved soon. Plugin version dependencies will stay, though.
R.
Version compatibilty for plugins is listed in the plugins repository as already said above.
Due to integrating PIA to core cacti with 088, this will be improved soon. Plugin version dependencies will stay, though.
R.
- TheWitness
- Developer
- Posts: 17064
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Due to the nature of what plugins due to the underlying code and database, it's hard to do a try and buy without a backup of the web site and database.
This is the right approach if you are testing plugins.
A second approach is to have a test system. I "always" have one of these.
TheWitness
This is the right approach if you are testing plugins.
A second approach is to have a test system. I "always" have one of these.
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?
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?
What do you mean when you say the "related spine"? Does a plugin need to be compatible with the Cacti version, PIA version and Spine version too?gandalf wrote:Usually, release notes of each cacti release name the related PIA (as well as the related spine).
Agreed! I have a second box where I am doing all of my testing and learning.TheWitness wrote:Due to the nature of what plugins due to the underlying code and database, it's hard to do a try and buy without a backup of the web site and database.
This is the right approach if you are testing plugins.
A second approach is to have a test system. I "always" have one of these
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
Re: Upgrading a Plugin
Unless it's particularly ancient, I would have thought you would have no problem with Weathermap. There isn't really any history for the PIA of which new features were added in which versions, because it's assumed you'll upgrade as new versions come out (there are often security fixes of some kind in new Cacti versions), but I don't think there's anything that requires newer than 0.8.7a (for poller_output support).Voiper99 wrote: I see a lot of people asking "what version of PIA should I use" and similar, and at present I'd like to upgrade my Weathermaps plugin but am not sure if the latest version is compatible with my Cacti/PIA version, so was hoping something like this is available?
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
Re: Upgrading a Plugin
Ah ok, thanks for the info. I have recently taken over responsibility for our Cacti server (which has not had anyone maintaining it for quite some time now) so it is 8.7b.Howie wrote:There isn't really any history for the PIA of which new features were added in which versions, because it's assumed you'll upgrade as new versions come out (there are often security fixes of some kind in new Cacti versions).
In regards to keeping the Cacti version up to date, isn't there a chance that plugins that you use which have not been updated to be compatible for the latest PIA/Cacti because they are not being maintained won't work? - (I don't have a specific example so this is more of a hypothetical question).
Do you have to weigh up the options as to either having the latest version of Cacti or keeping your existing plugin set? Or, is Cacti and the PIA backwards compatible?
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
This is relatively rare. There are a few cases like this for 0.8.7g, including Superlinks, and I know a bunch of other plugins have been updated by the Cacti team. I noticed this weekend that my Titlechanger plugin doesn't work anymore because the page titles have changed in g, too.Voiper99 wrote:Ah ok, thanks for the info. I have recently taken over responsibility for our Cacti server (which has not had anyone maintaining it for quite some time now) so it is 8.7b.Howie wrote:There isn't really any history for the PIA of which new features were added in which versions, because it's assumed you'll upgrade as new versions come out (there are often security fixes of some kind in new Cacti versions).
In regards to keeping the Cacti version up to date, isn't there a chance that plugins that you use which have not been updated to be compatible for the latest PIA/Cacti because they are not being maintained won't work? - (I don't have a specific example so this is more of a hypothetical question).
Going from b to e (ignore f) should be pretty straightforward. You might want to do a bit of research for your specific plugins, and perhaps wait a little while for problems to surface with g, since it's brand new.
As ever, it's a good idea to create a test install on a VM and test on that first. It also means you get to learn how the install works, since you didn't get to do it the first time.
Unless you are using an unusual plugin that's no longer maintained, it shouldn't be a problem. In general, old plugins work with newer Cacti, but it depends on what the plugin does.Do you have to weigh up the options as to either having the latest version of Cacti or keeping your existing plugin set? Or, is Cacti and the PIA backwards compatible?
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
Ah ok, thanks for the info.Howie wrote:This is relatively rare. There are a few cases like this for 0.8.7g, including Superlinks, and I know a bunch of other plugins have been updated by the Cacti team. I noticed this weekend that my Titlechanger plugin doesn't work anymore because the page titles have changed in g, too.
OK great. On my VM at home I am playing around with upgrading e to g as a learning experience, then once I have done that I will try from b to e (which should be pretty much the same process?) and then once I have built my confidence up I will do it on the production server at work (after haivng backed everything up of course)Going from b to e (ignore f) should be pretty straightforward. You might want to do a bit of research for your specific plugins, and perhaps wait a little while for problems to surface with g, since it's brand new.
![:)](./images/smilies/icon_smile.gif)
Not a problem. I'd say this is just one of the things that you need to test in your test environment (amongst the other things) before you do the upgrade on your production box.Unless you are using an unusual plugin that's no longer maintained, it shouldn't be a problem. In general, old plugins work with newer Cacti, but it depends on what the plugin does.
Who is online
Users browsing this forum: No registered users and 4 guests