Hi everyone,
So I was trying to setup a LLD for SNMP device interfaces that would do the trick to discover available interfaces and put some items/graphs on them.
What is the problem - we have a lot of network devices and lots of interfaces on all of them, but around 3/4 of the interfaces are inactive (are "down", or, for SNMP, their ifOperStatus is "down" or "2" or so.). Therefore I want to filter discovered interfaces based on ifOperStatus.
From LLD discovery I saw that it's clearly impossible to have more than one SNMP value for filtering in discovery - like, for {#SNMPVALUE} macro.
So, what is the best thing to do if I want both the SNMP interface description (ifName) and filter with ifOperStatus?
If it's not possible, what is the best method to modify zabbix to support this? I read about discovery scripts, but as far as I see they are only good for agent-ish stuff discovery.
Thanks!
-mk
So I was trying to setup a LLD for SNMP device interfaces that would do the trick to discover available interfaces and put some items/graphs on them.
What is the problem - we have a lot of network devices and lots of interfaces on all of them, but around 3/4 of the interfaces are inactive (are "down", or, for SNMP, their ifOperStatus is "down" or "2" or so.). Therefore I want to filter discovered interfaces based on ifOperStatus.
From LLD discovery I saw that it's clearly impossible to have more than one SNMP value for filtering in discovery - like, for {#SNMPVALUE} macro.
So, what is the best thing to do if I want both the SNMP interface description (ifName) and filter with ifOperStatus?
If it's not possible, what is the best method to modify zabbix to support this? I read about discovery scripts, but as far as I see they are only good for agent-ish stuff discovery.
Thanks!
-mk


Comment