Hi All,
Hoping I can get some advice on an idea I have around modifying Network interface discovery in respect to the link down Trigger Prototype on Cisco IOS by SNMP.
In short, I have found that in my environment the issue is I see a lot of 'link down' problems on access ports, which basically is unimportant to me and all I want to see is an alert on a Trunk port. I have checked and can see I can disable the trigger with $IFCONTROL:"{#IFNAME}"}=0 Macro but this looks like it might stop it for all ports (at Host level) or on trigger per port level (which would take me about 2 months of work for the many switches/ports in our environment)!
So I did some checking and after a bit of research on the other things I can grab from SNMP it looks like I just need to modify the trigger prototype to check IOD 1.3.6.1.4.1.9.9.46.1.6.1.1.14 which returns a value status of VLAN Trunking (1) or Non Trunking (2) so I could only alert ONLY if it is VLAN Trunking.
Now I am trying to work out how to rewrite the Trigger to include that check. I'm not a great coder and new to Zabbix (and its ways) and am continuing to research on how to best implement this 'check', but lso thought I would put it out to the forum while I still have some hair left!
Does anyone have a) any awesome suggestions? b) an example where they have done a similar thing? c) and the big one, opinions on modifying the Trigger as mentioned above? (Will it break something, somewhere else or yup its a great idea/bad idea or the one I am hoping for is "that'd be super easy, just do this"! ).
TIA
Nick
Hoping I can get some advice on an idea I have around modifying Network interface discovery in respect to the link down Trigger Prototype on Cisco IOS by SNMP.
In short, I have found that in my environment the issue is I see a lot of 'link down' problems on access ports, which basically is unimportant to me and all I want to see is an alert on a Trunk port. I have checked and can see I can disable the trigger with $IFCONTROL:"{#IFNAME}"}=0 Macro but this looks like it might stop it for all ports (at Host level) or on trigger per port level (which would take me about 2 months of work for the many switches/ports in our environment)!
So I did some checking and after a bit of research on the other things I can grab from SNMP it looks like I just need to modify the trigger prototype to check IOD 1.3.6.1.4.1.9.9.46.1.6.1.1.14 which returns a value status of VLAN Trunking (1) or Non Trunking (2) so I could only alert ONLY if it is VLAN Trunking.
Now I am trying to work out how to rewrite the Trigger to include that check. I'm not a great coder and new to Zabbix (and its ways) and am continuing to research on how to best implement this 'check', but lso thought I would put it out to the forum while I still have some hair left!
Does anyone have a) any awesome suggestions? b) an example where they have done a similar thing? c) and the big one, opinions on modifying the Trigger as mentioned above? (Will it break something, somewhere else or yup its a great idea/bad idea or the one I am hoping for is "that'd be super easy, just do this"! ).
TIA
Nick
Comment