Prevent default graph templates being changed during Cacti upgrade

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

Moderators: Developers, Moderators

Post Reply
avantat
Posts: 25
Joined: Fri Jun 20, 2014 2:29 pm

Prevent default graph templates being changed during Cacti upgrade

Post by avantat »

Hi all,

I wanted to see what is the best way to preserve modified (default) graph templates during an upgrade?
Let’s say I have changed the colors of the graph template “Host MIB - Available Disk Space”. After an upgrade (eg 1.2.26 to 1.2.27) this will get changed back to the original color scheme. Current graphs are not affected, but creating new graphs will use the default colors. My understanding is the template is saved in the database.
I think the two options I have is to export the modified graphs before the upgrade and import them back after the upgrade. Or to not use default graph templates, but rather duplicate them and change them to my liking.
Just wanted to see if this is the best way or if I’m missing something.

Thanks!

Cacti 1.2.26 on Ubuntu 22.04 LTS
User avatar
macan
Cacti Guru User
Posts: 1106
Joined: Tue Mar 18, 2008 2:30 am
Location: Czech

Re: Prevent default graph templates being changed during Cacti upgrade

Post by macan »

Update process has page which templates update/install. I think when you Don't choose any here, templates will not change.
Let the Cacti grow!
avantat
Posts: 25
Joined: Fri Jun 20, 2014 2:29 pm

Re: Prevent default graph templates being changed during Cacti upgrade

Post by avantat »

I'm clearly blind, thanks for pointing this out! Worked as it should.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest