Werk #15019: Fix proxmox agent crash with shutdown nodes

Component Checks & agents
Title Fix proxmox agent crash with shutdown nodes
Date Jan 30, 2023
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.2.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.1.0p21 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

The proxmox agent would fail with a KeyError when a proxmox VE node was shutdown.

The error occured because a we do not get information for the timezone of shutdown nodes. The timezone information is used to convert timestamps for backups to utc. When no timezone information is found for a node we use the timezone of the first node we process.

To the list of all Werks