How does it work? And when the status is updated from down->up?
All of the _prev values get updated when the poller polls the device. Basically…
- the poller runs
- it collects a new value
- it moves the current database value (ifOperStatus to ifOperStatus_prev)
- then it writes the new value to ifOperStatus
Scenario, you’re doing 5min polling and a device does down at 13:00 and comes back up at 13:15:
12:55
- ifOperStatus = up
- ifOperStatus_prev = up
13:00
- ifOperStatus = down
- ifOperStatus_prev = up
13:05
- ifOperStatus = down
- ifOperStatus_prev = down
13:10
- ifOperStatus = down
- ifOperStatus_prev = down
13:15
- ifOperStatus = up
- ifOperStatus_prev = down
13:20
- ifOperStatus = up
- ifOperStatus_prev = up
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.