Chapter 3. Creating and Using Templates

Cacti provides a facility to create templates for data, graphs, and hosts. This chapter is going to explain how to create these templates and apply them to the devices.

This chapter is going to cover the following topics:

  • An introduction to templates
  • Defining a data template
  • Defining a graph template
  • Defining a host template
  • Assigning a host template to a device
  • Importing/exporting templates
  • References to the template repository

So let's get started…

An introduction to templates

Cacti has templates which can be used to simplify the process of creating and administering graphs, as well as assigning them to specific types of hosts. There are three different types of templates: graph, host, and data.

Data templates

Get Cacti 0.8 Beginner's Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.