Werk #16607: Handle the uptime of Docker containers across time zones
Component | Checks & agents | ||||
Title | Handle the uptime of Docker containers across time zones | ||||
Date | Apr 12, 2024 | ||||
Level | Trivial Change | ||||
Class | Bug Fix | ||||
Compatibility | Compatible - no manual interaction needed | ||||
Checkmk versions & editions |
|
As of version 2.3, the uptime monitoring service for Docker containers could crash if the container's start time was later than the current CheckMk site's current time. This resulted in a negative uptime calculation error (ValueError: "Cannot render negative timespan"). This could occur in situations where the host system and the container had different configured timezones.
We now correctly handle all timestamps, ensuring accurate uptime calculations regardless of timezone configurations.