Hello,
I am migrating our company from What's Up to Zabbix. We have several thousand Cisco switches of varying models. My goal is to have zabbix automatically discover only the trunk ports. From what I have gathered so far, this needs to be done inside the discovery section of a template. I have not succeeded in finding any existing threads that explain the setup in enough detail.
The OID I need to use is 1.3.6.1.4.1.9.5.1.9.3.1.8. This will return a value of 1 for trunking and 2 for not trunking. The end of the OID also lines up with the interface. Where I'm stuck is the logic to tell Zabbix to monitor the interfaces that respond with 1
Example SNMPwalk response for interfaces 23-26 of a Cisco switch.
SNMPv2-SMI::enterprises.9.5.1.9.3.1.8.1.23 = INTEGER: 2
SNMPv2-SMI::enterprises.9.5.1.9.3.1.8.1.24 = INTEGER: 2
SNMPv2-SMI::enterprises.9.5.1.9.3.1.8.1.25 = INTEGER: 1
SNMPv2-SMI::enterprises.9.5.1.9.3.1.8.1.26 = INTEGER: 1
Thanks in advance for any assistance.
I am migrating our company from What's Up to Zabbix. We have several thousand Cisco switches of varying models. My goal is to have zabbix automatically discover only the trunk ports. From what I have gathered so far, this needs to be done inside the discovery section of a template. I have not succeeded in finding any existing threads that explain the setup in enough detail.
The OID I need to use is 1.3.6.1.4.1.9.5.1.9.3.1.8. This will return a value of 1 for trunking and 2 for not trunking. The end of the OID also lines up with the interface. Where I'm stuck is the logic to tell Zabbix to monitor the interfaces that respond with 1
Example SNMPwalk response for interfaces 23-26 of a Cisco switch.
SNMPv2-SMI::enterprises.9.5.1.9.3.1.8.1.23 = INTEGER: 2
SNMPv2-SMI::enterprises.9.5.1.9.3.1.8.1.24 = INTEGER: 2
SNMPv2-SMI::enterprises.9.5.1.9.3.1.8.1.25 = INTEGER: 1
SNMPv2-SMI::enterprises.9.5.1.9.3.1.8.1.26 = INTEGER: 1
Thanks in advance for any assistance.

Comment