Files
Cactidocumentation/Device-Templates.md
T
Thomas Vincent a8c677137c docs: correct Cacti 1.2 monitoring and template workflows (#238)
* docs: clarify device templates and imports in Cacti 1.2

Signed-off-by: Thomas Vincent <thomasvincent@gmail.com>

* docs: align monitoring guides with released Cacti 1.2.31

Signed-off-by: Thomas Vincent <thomasvincent@gmail.com>

* docs: correct SNMP setup and scalar OID examples

Signed-off-by: Thomas Vincent <thomasvincent@gmail.com>

* docs: preserve history when changing collection profiles

Signed-off-by: Thomas Vincent <thomasvincent@gmail.com>

* docs: correct maintenance template workflows and examples

Signed-off-by: Thomas Vincent <thomasvincent@gmail.com>

---------

Signed-off-by: Thomas Vincent <thomasvincent@gmail.com>
2026-10-26 17:00:34 -04:00

2.9 KiB

Device Templates

See Supported Devices in Cacti 1.2 for the bundled package inventory, generic SNMP coverage and device compatibility limits.

Device Templates are Cacti objects that allows you to define classes of Devices that includes from one to many Graph Templates, Data Queries and other Plugin related object types.

Device Templates make a common set of Graph Templates and Data Queries available to devices of the same class. In Cacti 1.2.31, adding an associated non-indexed graph template can create its graph when Enable Automatic Graph Creation is enabled. Indexed data-query graphs use configured graph rules or manual selection of query rows. Assigning a device template does not guarantee that every associated graph will be created or can collect data. Automation device rules select which device template to assign.

A device template's name does not establish support for every model or metric from that vendor. Verify the device's SNMP access, returned query rows and individual measurements before creating graphs. See Templates for bundled examples and import choices.

The Device Templates main screen looks like the image below:

Device Templates Page

From this page, you can see the title of each Device Template, it's ID which is important for the Cacti CLI scripts. You can see if the Device Template can be removed, and the number of Devices using the Device Template. Templates that are used by Devices can not be removed and therefore if you attempt to remove one of these Templates, you will receive and error message.

From the drop down there are three options, they are:

Option Description
Delete Remove the Device Template if it's Deletable
Duplicate Make an exact copy of the Device Template.
Sync Devices Update all Devices using this Device Template with the latest definition, adding, but not removing Graph Templates, and Data Queries.

When editing a Device Template, you will see the page as displayed below. From this page, you can add and remove Graph Templates, Data Queries, and other Plugin objects. In the image below, you can see that the Cisco Router has one Graph Template that of Cisco - CPU Usage and one Data Query that of SNMP - Interface Statistics. There are no Threshold Templates defined on the system, so there is no way to select one.

Device Template Edit Page

To add a Graph Template or Data Query to the Device Template, simply select it from the drop down, and press the Add button. There is no need to Save afterwards. To removed one of these items, simply press the x glyph to the right of the desired Graph Template or Data Query.


Copyright (c) 2004-2026 The Cacti Group