Get the App
SLTechnology News&Howtos  ›  Servers  › 

Zabbix automatically discovers filter network card

Shulou Source: shulou.com Published: 2022-06-03 04:44:25 10月04日 Update

By default, when the network interface in the Zabbix template automatically discovers the interface, it will generate a lot of item, and sometimes there will be some interfaces that we don't need, so we need to filter them out. For example, the following figure:

Here we only want to monitor the eth0-3 Nic on the server. When other cal and other initial ones are not needed, we can set them as follows:

First of all: set-"General -" Select regular expression

When we are done, we create a regular expression named: Network interface discovery2-the condition of the expression is shown in the following figure ^ XXX represents a name that begins with XX.

After completing the update, we select the expression configuration we just created in the filter for automatically discovering the Nic in the template:

By updating, we can filter out the network card information that we do not want when the network card is automatically discovered.

Tags: Network card expression interface beginning template regular update following figure information available in name situation time sometimes server condition network filter service monitoring Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno MariaDB Huawei vpn Docker Linux