- Go to Templates | Host Templates and click on the Add link.
- Enter SNMP Enabled CentOS Server as the name for this host template.
- Click on Create.
- Two additional sections will appear. At the Associated Graph Templates section, select your Host - Running Processes template and click on Add.
- At the Associated Data Queries section, add SNMP - Get Mounted Partitions, SNMP - Get Processor Information, and the SNMP - Interface Statistics data query.
- Click on the Save button.
You created your first host template containing your newly created graph template and three SNMP-based data queries. Once you assign this host template to a device, all four items will be automatically added to that device.
You already assigned a host template to a device in Chapter 2, so now let's briefly talk about what is happening when a host template is assigned to a device.
As you know, host templates are a collection of graphs and data queries. Adding this collection to a host does not link the host back to the host template. The graphs and data queries are added to the host and the link back to the template is lost. Changes that later take place in the host template will not be reflected to the hosts where the specific template has already been added.