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

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.

主站蜘蛛池模板: 新蔡县| 阿图什市| 宝鸡市| 乐安县| 威海市| 崇礼县| 玛曲县| 麻城市| 高邮市| 阿拉善盟| 乃东县| 荆门市| 垫江县| 平泉县| 常熟市| 全州县| 阜阳市| 育儿| 美姑县| 津南区| 珲春市| 来凤县| 株洲市| 濮阳市| 郁南县| 陆川县| 长宁县| 宜春市| 葫芦岛市| 济宁市| 广州市| 绩溪县| 隆林| 高州市| 冀州市| 和政县| 牙克石市| 江华| 云阳县| 义乌市| 江达县|