Zabbix Documentation 4.0

3.04.04.2 (current)In development:4.4 (devel)Unsupported:1.82.02.22.43.23.4

User Tools

Site Tools


Sidebar

zh:manual:discovery:low_level_discovery:network_interfaces

1 发现网络接口

与发现 文件系统 的方式相似,如此也可以发现网络接口。

键值

发现规则 中的键值应用是:

net.if.discovery

此监控项从Zabbix 2.0开始支持。

支持宏

你可以在过滤器,监控项,触发器 和图表的原型的发现规则中使用{#IFNAME}宏。

举例:你想在“net.if.discovery”的基础上创建监控项原型。

  • “net.if.in[{#IFNAME},bytes]”,
  • “net.if.out[{#IFNAME},bytes]”.

1 Discovery of network interfaces

In a similar way as file systems are discovered, it is possible to also discover network interfaces.

Item key

The item key to use in the discovery rule is

net.if.discovery

This item is supported since Zabbix agent 2.0.

Supported macros

You may use the {#IFNAME} macro in the discovery rule filter and prototypes of items, triggers and graphs.

Examples of item prototypes that you might wish to create based on “net.if.discovery”:

  • “net.if.in[{#IFNAME},bytes]”,
  • “net.if.out[{#IFNAME},bytes]”.