Smarts IP: How does Smarts calculate the HighErrorRate percentage?
search cancel

Smarts IP: How does Smarts calculate the HighErrorRate percentage?

book

Article ID: 304085

calendar_today

Updated On:

Products

VMware

Environment

VMware Smart Assurance - SMARTS

Resolution

How does Smarts calculate the HighErrorRate percentage?



To calculate the HighErrorRate value, first the following Standard MIB OIDs are polled: 

Standard MIB
          ifInErrors                     = "1.3.6.1.2.1.2.2.1.14"
          ifInDiscards                 = "1.3.6.1.2.1.2.2.1.13"
          ifInUnknownProtos     = "1.3.6.1.2.1.2.2.1.15"
          ifInUcastPkts              = "1.3.6.1.2.1.2.2.1.11"
          ifInNUcastPkts            = "1.3.6.1.2.1.2.2.1.12"

          ifOutErrors                  = "1.3.6.1.2.1.2.2.1.20"
          ifOutDiscards              = "1.3.6.1.2.1.2.2.1.19"
          ifOutUcastPkts            = "1.3.6.1.2.1.2.2.1.17"
          ifOutNUcastPkts         = "1.3.6.1.2.1.2.2.1.18"

Based on polling results for these OIDs, the following calculations used to derive the value for HighErrorRate:

InputPacketRate
     = rate(ifInErrors, PollingInterval)  +
          rate(ifInDiscards, PollingInterval) +
          rate(ifInUnknownProtos, PollingInterval) +
          rate(ifInUcastPkts, PollingInterval) +
          rate(ifInNUcastPkts, PollingInterval);

OutputPacketRate
     = rate(ifOutErrors, PollingInterval) + 
         rate(ifOutDiscards, PollingInterval) +
         rate(ifOutUcastPkts, PollingInterval) + 
         rate(ifOutNUcastPkts, PollintInterval;

InputPacketErrorPct
    = (InputPacketErrorRate / (InputPacketRate) * 100;

OutputPacketErrorPct
    = (OutputPacketErrorRate / (OutputPacketRate) * 100;

HighErrorRate
    event HighErrorRate
          = CurrentUtilization > MinimumUtilization &&
              (InputPacketErrorPct > ErrorThreshold ||
              OutputPacketErrorPct > ErrorThreshold);