upgrade from 0.8.8 to 1.2 - obolete plugins

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
fantomas
Posts: 7
Joined: Mon Oct 12, 2020 7:23 am

upgrade from 0.8.8 to 1.2 - obolete plugins

Post by fantomas »

Hello,

I recently upgraded some servers from 0.8.8h (debian 9) to 1.2.2 (debian 10).

we use plugins like settings and rrdclean, which are built in since 1.0.0 and after upgrade I see errors in "plugins" menu saying "Plugin directory is missing".

Is there a way to remove obsolete plugins from cacti?
Should I remove them before upgrade?

or should I simply drop their records from the cacti database? (how?)

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

Re: upgrade from 0.8.8 to 1.2 - obolete plugins

Post by TheWitness »

RRDclean is in the core of Cacti now. In fact, you can set RRD Autopurge in Cacti now. But that's an old version. Try to get yourself to 1.2.14 if you can. Discuss this with the Debian guys.
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?
fantomas
Posts: 7
Joined: Mon Oct 12, 2020 7:23 am

Re: upgrade from 0.8.8 to 1.2 - obolete plugins

Post by fantomas »

I know that rrdclean is in the core of cacti.

I am talking about plugins that stay listed in list of plugins after upgrade, after I uninstall them in cacti and remove their directories.

I can remove the rest of attachments, but not rrdclean and settings, they stay listed there and I don't know how to get rid of them.

I attached image of how it looks:
rrdclean is listed, status says "Plugin Error" and when I hover mouse over is, title says "Plugin directory is missing!"

the old directory exists, and the plugin stays displayed and message appear even when I remove the directory.

the same applies for "settings" plugin.
Attachments
Screenshot at 2020-10-23 08-47-21.png
Screenshot at 2020-10-23 08-47-21.png (96.66 KiB) Viewed 870 times
fantomas
Posts: 7
Joined: Mon Oct 12, 2020 7:23 am

Re: upgrade from 0.8.8 to 1.2 - obolete plugins

Post by fantomas »

I should note that plugins autom8, errorimage, discovery are easily uninstallable after upgrade

I just don't know if the configuration won't be lost because of this.
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: upgrade from 0.8.8 to 1.2 - obolete plugins

Post by TheWitness »

Oh, that's a good point. Can you please open a bug in the GitHub bug tracking tool. We need an un-register deprecated plugins function that is run as a part of the upgrade. For you right now, it's simply an annoyance, or should be.
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?
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests