Cacti (home)ForumsDocumentation

Differences

This shows you the differences between two versions of the page.

manual:087:3_templates [2009/02/21 11:59]
gandalf
manual:087:3_templates [2009/02/21 12:04] (current)
gandalf
Line 17: Line 17:
 == Graph Templates == == Graph Templates ==
  
-Good News! Almost every setting of a Graph Template is propagated to all related Graphs when saving the changes. But you may encounter problems when checking the Use Per-Graph Value (Ignore this Value) checkbox. When creating new Graphs, the latest definitions are taken into account.+In Cacti, a graph template provides a skeleton for an actual graph. If you have many graphs that share most of their characteristics, using a graph template would probably make sense. After a graph is attached to a particular graph template, all changes made to the graph template will propagate out to all of its graphs.  
 + 
 +Almost every setting of a Graph Template is propagated to all related Graphs when saving the changes. But you may encounter problems when checking the Use Per-Graph Value (Ignore this Value) checkbox. When creating new Graphs, the latest definitions are taken into account.
  
 == Data Templates == == Data Templates ==
  
-No change of a Data Template is propagated to already existing rrd files. But most of them may be changed by using rrdtool tune from command line. Pay attention to not append new Data Source Items to already existing rrd files. There's no rrdtool command to achieve this!+In Cacti, a data template provides a skeleton for an actual data source. If you have many data sources that share most of their characteristics, using a data template would probably make sense. 
 + 
 +No change of a Data Template is propagated to already existing rrd files. But most of them may be changed by using //rrdtool tune// from command line. Pay attention to not append new Data Source Items to already existing rrd files. There's no rrdtool command to achieve this!
  
 == Host Templates == == Host Templates ==
 +
 +Host templates in Cacti serve a different purpose then data and graph templates. Instead of abstracting the fields of a host (this will be part of cacti 0.8.8), a host template allows you to associate graph templates and data queries with a given host type. This way when you assign a host template to a host, all of the relevant graphs to that host type are only one click away from the user.
  
 No change of a Host Template is propagated to already existing Devices. But when creating a new one, latest definitions are taken into account. But there's an easy (bit tedious, perhaps) way to apply changes to already existing Devices: First, change the Host Template to None, then change it back to the desired one. All new items are now associated with this Device. Attention! No items are deleted by this procedure. No change of a Host Template is propagated to already existing Devices. But when creating a new one, latest definitions are taken into account. But there's an easy (bit tedious, perhaps) way to apply changes to already existing Devices: First, change the Host Template to None, then change it back to the desired one. All new items are now associated with this Device. Attention! No items are deleted by this procedure.





Personal Tools