I have found a few posts regarding this issue, but nothing has let me so far anywhere. I am trying to exclude unused (disconnected) network interfaces from the reported data by using a filter and not manually disable them in the result for the device, etc. Details are:
Zabbix 6, Template is a slightly changed (for OIDs mostly) copy of Cisco Catalyst 3750V2 SNMP
Example data to be filtered: Interface te1/0/14(), where te1/0/14 is {#IFNAME} and () is {#IFALIAS} (from the template)
Macro in the template is {$NET.IF.IFALIAS.EMPTY}, Value: "Null"
I added one more Filter to the standard ones from the template: {#IFALIAS} does not match {$NET.IF.IFALIAS.EMPTY}
Latest data shows all network ports, connected or not.
Any suggestions on how to go about this? Any changes for the macro other than keeping it null?
Thanks.
Zabbix 6, Template is a slightly changed (for OIDs mostly) copy of Cisco Catalyst 3750V2 SNMP
Example data to be filtered: Interface te1/0/14(), where te1/0/14 is {#IFNAME} and () is {#IFALIAS} (from the template)
Macro in the template is {$NET.IF.IFALIAS.EMPTY}, Value: "Null"
I added one more Filter to the standard ones from the template: {#IFALIAS} does not match {$NET.IF.IFALIAS.EMPTY}
Latest data shows all network ports, connected or not.
Any suggestions on how to go about this? Any changes for the macro other than keeping it null?
Thanks.

Comment