Werk #20145: Azure: Fix shifted timestamps and possible crash on non-UTC sites
| Component | Checks & agents | ||||||
| Title | Azure: Fix shifted timestamps and possible crash on non-UTC sites | ||||||
| Date | Jun 29, 2026 | ||||||
| Level | Trivial Change | ||||||
| Class | Bug Fix | ||||||
| Compatibility | Compatible - no manual interaction needed | ||||||
| Checkmk versions & editions |
|
Monitoring of Microsoft Azure uses a shared helper to parse the timestamps returned by the Azure API. This helper discarded the timezone information and returned a timezone-naive value, causing check plugins to crash with:
ValueError("Cannot render negative timespan")
With this Werk, Azure timestamps are handled as UTC, so the resulting ages and times are correct regardless of the monitoring site's timezone.
The fix applies to both the current Azure integration (azure_v2) and the deprecated Azure special agent (azure_deprecated).
No user action is required.