与发现 文件系统 的方式相似,如此也可以发现网络接口。
你可以在过滤器,监控项,触发器 和图表的原型的发现规则中使用{#IFNAME}宏。
举例:你想在“net.if.discovery”的基础上创建监控项原型。
In a similar way as file systems are discovered, it is possible to also discover network interfaces.
The item key to use in the discovery rule is
net.if.discovery
This item is supported since Zabbix agent 2.0.
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”: