I'm trying to understand how to get interface errors via SNMP. I do get stats via SNMP for ifInErrors / ifOutErrors etc, but I'm trying to get output via SNMP for the errors visible via the 'sh int x' command - CRC errors, input / output errors, collisions, runts. giants etc.).
1) The SNMP ifInError / ifOutError seems to give an overall counter of all errors from the time the device has started - Am I correct about this?
2) Is there any way I can get the interface-specific errors noted above via SNMP?
Depends on the device and version of code, but most likely you will get what you want from the CISCO-IF-EXTENSION-MIB. Look at objects like cieIfInRuntsErrs, cieIfInGiantsErrs, and cieIfInFramingErrs. You will also get some ethernet-specific errors from the ETHERLIKE-MIB.