Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Mon May 27, 2019 12:16 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Prevent dependencies getting update when import template
PostPosted: Mon Jan 12, 2015 1:38 am 
Offline

Joined: Sun Jan 04, 2015 1:23 pm
Posts: 32
Hi Guys

I noticed something annoying when I'm importing new device templates.
I changed the graph template items a bit (colours , fields) also suggested values (under data queries).

Since dependencies includes there in the template I'd like to import... all last changes I did in related fields just being reset to the new ones in the template - graph template items and suggested values without any prompt or option to avoid it.

I'm talking mostly about generic "SNMP interface statistics". I'm editing Bits In/Out values and when importing new template all changes getting lost.

Seems like no option to choose specifically which dependencies will be imported and get updated, am I right ? :-?


Top
 Profile  
 
 Post subject: Re: Prevent dependencies getting update when import template
PostPosted: Mon Jan 12, 2015 3:30 am 
Offline
Cacti Guru User
User avatar

Joined: Thu Jan 31, 2008 6:39 am
Posts: 2710
Location: Kressbronn, Germany
Yes, you're right. It install all of the data included in the template.

You could, however, export your changed template and then simply re-import it after you added new templates.

It's a workaround, but that way you also have a backup for your changes which can be easily restored.

_________________
Greetings,
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusTransporter | CereusReporting | nmidWebService | nmidSmokeping | nmidWeb2 |

Code:
CereusServer Master:  SYSTEM STATS: Time:2.5621 Method:spine Processes:1 Threads:16 Hosts:446 HostsPerProcess:446 DataSources:14683 RRDsProcessed:7573
CereusServer Agent:   SYSTEM STATS: Time:27.4840 Method:spine Processes:1 Threads:8 Hosts:16 HostsPerProcess:16 DataSources:114576 RRDsProcessed:48061


Top
 Profile  
 
 Post subject: Re: Prevent dependencies getting update when import template
PostPosted: Mon Jan 12, 2015 3:34 am 
Offline

Joined: Sun Jan 04, 2015 1:23 pm
Posts: 32
phalek wrote:
Yes, you're right. It install all of the data included in the template.

You could, however, export your changed template and then simply re-import it after you added new templates.

It's a workaround, but that way you also have a backup for your changes which can be easily restored.



yeah I know. that's what I do. but I need to remember to do it before each import. since Im still in building it up ..

Do you know to tell if there's any pending feature request already ? Seems very basic thing to have .


Top
 Profile  
 
 Post subject: Re: Prevent dependencies getting update when import template
PostPosted: Mon Jan 12, 2015 4:47 am 
Offline

Joined: Sun Jan 04, 2015 1:23 pm
Posts: 32
phalek wrote:
Yes, you're right. It install all of the data included in the template.

You could, however, export your changed template and then simply re-import it after you added new templates.

It's a workaround, but that way you also have a backup for your changes which can be easily restored.



BTW - I just tried to import back my last good changes and noticed graph template "Interface - Traffic (bits/sec)" for instance, doesn't update the values as it should ONLY when I deleted one by one all fields from the graph and re-import then it updated (by adding all graph item fields)

Really strange ...


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 6 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