Uploaded image for project: 'ZABBIX FEATURE REQUESTS'
  1. ZABBIX FEATURE REQUESTS
  2. ZBXNEXT-2286

net.if.discovery filtration

XMLWordPrintable

      I have linux servers tha are running many virtual machines. On these systems I have 4 physical interfaces, 20 vlan interfaces (for access to different networks), 20 bridge interfaces (one for each vlan) and 10 vnet interfaces (1 for every virtual machine). When I use default net.if.discovery i have too many items and I don't want them. I need statistics only for physical interfaces. it would be nice to add field #IFTYPE get would look like this:

      [root@zabbix zabbix]# zabbix_get -s client -k net.if.discovery
      {
              "data":[
                      {
                              "{#IFNAME}":"lo",                           "{#IFTYPE}":"localhost" },
                      {
                              "{#IFNAME}":"eth0",                           "{#IFTYPE}":"physical"},
                      {
                              "{#IFNAME}":"eth1",                           "{#IFTYPE}":"physical"},
                      {
                              "{#IFNAME}":"eth2",                           "{#IFTYPE}":"physical"},
                      {
                              "{#IFNAME}":"eth3",                           "{#IFTYPE}":"physical"},
                      {
                              "{#IFNAME}":"eth0.200",                           "{#IFTYPE}":"vlan"},
                      {
                              "{#IFNAME}":"brbackbone",                           "{#IFTYPE}":"bridge"}]}
      

      filters for discovery could be adjusted by MACROs same as it is for vfs.fs.discovery.

            Unassigned Unassigned
            yuri Juraj Pisar
            Votes:
            3 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: