Handle counter rollovers in the SolarWinds Platform
Specify a method that decides what happens if a polled value is less than the previous polled value.
SolarWinds Platform products are capable of handling either 32-bit or 64-bit counters.
By default, counters are assumed to be 32-bit.
32-bit counters have a maximum value of 232, or 4,294,967,296.
64-bit counters have a maximum value of 264, or 18,446,744,073,709,551,616.
- Log in to the SolarWinds Platform Web Console as an administrator.
- Click Settings > All Settings in the menu bar.
- In the Thresholds & Polling grouping, click Polling Settings.
- Scroll down to the Calculations & Thresholds area, and select the Counter Rollover method.
- If you use 32-bit counters, select Method 1.
This method detects a rollover, and calculates based on it.
First, the method checks whether the device rebooted and reset its counters to 0. In this case, the last value is 0.
When it is a real rollover, we take the maximum value of the 32 or 64 bit number, take the difference between the maximum and the last polled value, and add it to the current polled value: (MaxValue - LastPolledValue) + CurrentPolledValue
- If you use 64-bit counters, select Method 2.
When a rollover is detected, Orion drops the poll and takes a new sample within 20 seconds. The new data point is stored, throwing the first data point away.
In memory, we have the value from the previous poll (A) and the LastPolledValue (B). Because B < A, we detect counter rollover. Orion drops the last poll and does a fast poll within 20 seconds. The value stored in the database is calculated as C-B.
Orion fully supports the use of 64-bit counters, but these counters can exhibit erratic behavior in some implementations. If you notice peculiar results, disable the use of 64-bit counters for the problem device, and contact the device manufacturer.
- If you use 32-bit counters, select Method 1.
The rollover method is changed for your polled nodes.