Page 1 of 1
Interfaces monitoring for errors
Posted: Mon Jun 29, 2020 8:52 am
by aceadm
Hello,
I would like to monitor interface statistics on cisco switches and ASA, like discards, errors, broadcasts etc. Is there a way or a plug in that I can use on all my devices to monitor and have graphs per interface?
The only script I found is the check_all_interfaces script, which brings the total errors etc. for a device but not per interface which is crucial.
Any help would be welcome
Re: Interfaces monitoring for errors
Posted: Mon Jun 29, 2020 3:51 pm
by cdienger
This may be able to help -
https://www.cisco.com/c/en/us/support/d ... unter.html. Specially the "SNMP Counters and show Command Equivalent Questions" section which has the OIDs for broadcast, discards, and errors per interface. If you run the Cisco commands and the snmpwalk commands as described, does it provide you the information you need? If so, then you can probably search for a plugin a bit easier with this knowledge or just use the SNMP wizard in XI to get the info -
https://www.youtube.com/watch?v=jGUIbM09TKc.
Re: Interfaces monitoring for errors
Posted: Tue Jun 30, 2020 2:18 am
by aceadm
cdienger wrote:This may be able to help -
https://www.cisco.com/c/en/us/support/d ... unter.html. Specially the "SNMP Counters and show Command Equivalent Questions" section which has the OIDs for broadcast, discards, and errors per interface. If you run the Cisco commands and the snmpwalk commands as described, does it provide you the information you need? If so, then you can probably search for a plugin a bit easier with this knowledge or just use the SNMP wizard in XI to get the info -
https://www.youtube.com/watch?v=jGUIbM09TKc.
Hello cdienger,
Thank you for your answer, the issue is that we're using a lot of stack switches with 150-200 interfaces each, it's kinda too much to have all those services created for each device and a huge admin effort to name them accordingly. Also I'd had to create different services for discards, errors etc as they have different OIDs. Would prefer a graph with all of those metrics together for each interface.
Re: Interfaces monitoring for errors
Posted: Tue Jun 30, 2020 4:30 pm
by cdienger
I'm not aware of a plugin that will put them all together like that so you'll probably have to go about creating a plugin to do what you'd want. Check out
https://nagios-plugins.org/doc/guidelines.html for information on creating a custom plugin and
https://assets.nagios.com/downloads/nag ... ios-XI.pdf on integrating a custom plugin with XI.
Re: Interfaces monitoring for errors
Posted: Tue Jun 30, 2020 4:53 pm
by aceadm
Thank you for your help. I'll look into them.
Re: Interfaces monitoring for errors
Posted: Wed Jul 01, 2020 11:06 am
by cdienger
Sounds good. Feel to open a new thread if you have any issues or questions about it.