官术网_书友最值得收藏!

Time for action – defining a host template

  1. Go to Templates | Host Templates and click on the Add link.
  2. Enter SNMP Enabled CentOS Server as the name for this host template.
  3. Click on Create.
  4. Two additional sections will appear. At the Associated Graph Templates section, select your Host - Running Processes template and click on Add.
  5. At the Associated Data Queries section, add SNMP - Get Mounted Partitions, SNMP - Get Processor Information, and the SNMP - Interface Statistics data query.
  6. Click on the Save button.
    Time for action – defining a host template

What just happened?

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.

Tip

Create host templates for standard devices in your network

Creating a host template will reduce the time needed for creating a device within Cacti, especially if there are many devices in a network that share the same graphs.

Assigning a host template to a 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.

主站蜘蛛池模板: 福贡县| 乌什县| 太和县| 北票市| 深州市| 休宁县| 商河县| 崇信县| 页游| 香河县| 宁夏| 隆回县| 长顺县| 阿坝| 襄汾县| 达孜县| 苍山县| 南岸区| 莱阳市| 舒兰市| 靖远县| 通城县| 巴彦淖尔市| 卢龙县| 简阳市| 昌邑市| 温宿县| 夏河县| 驻马店市| 湾仔区| 大埔县| 格尔木市| 鹰潭市| 晋宁县| 房山区| 建宁县| 昆明市| 屯门区| 新竹市| 平泉县| 成武县|