Network Management

How Interface Errors and Discards are counted

When it comes to discards, the SolarWinds Platform polls a set of OIDs and saves results in the database and then displays them via Web.

First published date

9/17/2019 11:30 PM

Last published date

7/31/2025 8:54 PM

Overview

If a device's MIBs are not correctly returning valid values to us, then this is a vendor issue and we recommend reaching out to them.
To verify SolarWinds is showing correct information, check from Interfaces Table & InterfaceErrorsView in the Database Manager on the SolarWinds server.
You can check which Machine type is having issues and check OIDs in MIB walks to using SNMP Walk located at C:\Program Files\Solarwinds\Orion\SnmpWalk.exe by default.

Product section

Network Performance Monitor

Resolution

The SolarWinds Platform uses these OIDs:
 

ObjectName Object Identifier (OID)Description
ifInDiscards1.3.6.1.2.1.2.2.1.13The number of inbound packets that were chosen to be discarded even though no errors had been detected to prevent their being deliverable to a higher-layer protocol.
ifInErrors1.3.6.1.2.1.2.2.1.14The number of inbound packets that contained errors preventing them from being deliverable to a higher-layer protocol.
ifOutDiscards1.3.6.1.2.1.2.2.1.19The number of outbound packets that were chosen to be discarded even though no errors had been detected to prevent their being transmitted.
ifOutErrors1.3.6.1.2.1.2.2.1.20The number of outbound packets that could not be transmitted because of errors.




Calculations:

  •  Take value polled on first poll
  •  Then on Next Poll, compare the two, so you can see the difference
  •  e.g. If the first Poll was 140 and 2nd 160, discards would be 20
  •  Out_Discards = ifOutDiscards – prevOutDiscards
  •  OutDiscardsToday and OutDiscardsHour in interfaces table will be updated per every polling interval
  •  Repeat above for OutErrors, InDiscards, InErrors if needed
  • OutErrorsThisHour/OutErrorsToday, InDiscardsThisHour/InDiscardsToday, InErrorsThisHour/InErrorsToday, InDiscardsThisHour/InDiscardsToday will be reset accordingly 
  • e.g
  • OutErrorsThisHour before 5pm shows 194563
  • It was being reset after 5pm, and then the figure showing the sum of Out_Errors after 5pm poll
-- Scripts are not supported under any SolarWinds support program or service.
-- Scripts are provided AS IS without warranty of any kind. SolarWinds further
-- disclaims all warranties including, without limitation, any implied warranties
-- of merchantability or of fitness for a particular purpose. The risk arising
-- out of the use or performance of the scripts and documentation stays with you.
-- In no event shall SolarWinds or anyone else involved in the creation,
-- production, or delivery of the scripts be liable for any damages whatsoever
-- (including, without limitation, damages for loss of business profits, business
-- interruption, loss of business information, or other pecuniary loss) arising
-- out of the use of or inability to use the scripts or documentation.