Doing a test upgrade from .8.7e PIA 2.5. to .8.7h and PIA 3.0. I am able to get Thold up and running. However, all of my previous thresholds, and threshold templates are gone.
I am able to create new threshold templates and thresholds without an error.
Did something change between versions that would prevent the threshold information from being able to be upgraded?
Lost Thresholds & Threshold templates during upgrade -solved
Moderators: Developers, Moderators
Lost Thresholds & Threshold templates during upgrade -solved
Last edited by jjancel on Tue Dec 06, 2011 10:17 am, edited 1 time in total.
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Re: Lost Thresholds & Threshold templates during upgrade
No, but when you uninstall, everything is removed. You should check to see if the table is empty or if there are errors bringing up the templates.
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?
Re: Lost Thresholds & Threshold templates during upgrade
That makes sense. When I did the upgrade, I saw that Thold was listed under Plugin Management. However, I had not installed any plugins into the plugin directory yet. So I was confused, and disabled and removed the Thold that was listed there. I then installed the latest version.
This also explains why all the user accounts lost their email addresses.
Thanks!
This also explains why all the user accounts lost their email addresses.
Thanks!
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Re: Lost Thresholds & Threshold templates during upgrade -so
Yea, that API (Uninstall API) is not preferred IMHO. Cause there are several dependencies these days with fields in the various tables and an all or nothing approach is 'bad' for a lack of another public term that I would normally use in public conversation.
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?
Re: Lost Thresholds & Threshold templates during upgrade -so
I'm getting here a few years late, but earlier this week I upgraded my cactiCORP (cactiEZ) from 0.0.8b to 0.0.8h and yesterday I noticed I lost my tholds.
BUT I have the backup.sh running (with a few mods) so I've daily backups.
So I took the cacti-backup.sql and the syslog.sql from the backup tar, and pasted those backup databases over the current. Don't know if I broke something else yet, but my tholds are back (God knows how I lost them in the first place, since I did not uninstall anything during upgrade).
Hope it helps.
BUT I have the backup.sh running (with a few mods) so I've daily backups.
So I took the cacti-backup.sql and the syslog.sql from the backup tar, and pasted those backup databases over the current. Don't know if I broke something else yet, but my tholds are back (God knows how I lost them in the first place, since I did not uninstall anything during upgrade).
Hope it helps.
Code: Select all
Corporate Cacti
CactiEZ 0.7 (upgraded to 0.0.8h) - Spine 0.8.8h - RRDTool 1.4.7 - Apache 2.2.15 - Settings 0.71 - Maint 0.3 - Thold0.5 - Errorimage 0.2 - Webmin 0.1
Watermark 0.2 - Monitor 1.3 - Realtime 0.5 - Nectar 0.35a - Fix64bit 0.4 - Autom8 0.36 - Quicktree 0.2
Code: Select all
Business Cacti
CactiEZ 0.7 - Spine 0.8.8b - RRDTool 1.3.8 - Apache 2.2.15 - Settings 0.71 - Maint 0.3 - Thold0.5 - Errorimage 0.2 - Jqueryskin 0.1
Webmin 0.1 - Watermark 0.2 - Monitor 1.3 - Realtime 0.5 - Nectar 0.35a - Fix64bit 0.4 - Autom8 0.36 - Quicktree 0.2 - Syslog 1.22
Who is online
Users browsing this forum: No registered users and 1 guest