# Device Templates See [Supported Devices in Cacti 1.2](Supported-Devices.md) 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](Graph-Rules.md) 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](Device-Rules.md) 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](Templates.md) for bundled examples and import choices. The **Device Templates** main screen looks like the image below: ![Device Templates Page](images/device-templates.png) 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](images/device-templates-edit.png) 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