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
Last published date
Overview
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
Resolution
The SolarWinds Platform uses these OIDs:
| Object | Name Object Identifier (OID) | Description |
| ifInDiscards | 1.3.6.1.2.1.2.2.1.13 | The 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. |
| ifInErrors | 1.3.6.1.2.1.2.2.1.14 | The number of inbound packets that contained errors preventing them from being deliverable to a higher-layer protocol. |
| ifOutDiscards | 1.3.6.1.2.1.2.2.1.19 | The number of outbound packets that were chosen to be discarded even though no errors had been detected to prevent their being transmitted. |
| ifOutErrors | 1.3.6.1.2.1.2.2.1.20 | The 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 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.