First, automatically discover the network card and monitor
Create a new template first
1. The Discovery rule name is Network interface discovery
Key value is Net.if.discovery
2, filter to add the macro to the {#IFNAME} matches @Network interfaces for discovery
3. New Project prototype
Create a monitor entry for the traffic coming in from the NIC
Incoming network traffic on {#IFNAME}
Zabbix Agent
net.if.in[{#IFNAME}]
Number of the non-positive
Decimal
Bps
Self-setting multiplier is 8
Storage value changed to difference per second rate
Traffic monitoring entry for new network card
Outgoing network traffic on {#IFNAME}
net.if.out[{#IFNAME}]
Number of the non-positive
Decimal
Bps
Self-setting multiplier is 8
Storage value changed to difference per second rate
Create a new graphic prototype
Name network traffic on {#IFNAME}
Project, you can add a project prototype.
After creating the template, you can add the host to the template, you can realize the automatic detection and monitoring of the network card.