Werk #14343: KUBE agent_kube: change ContainerTerminatedState's start and end time to be optional

Component Checks & agents
Title KUBE agent_kube: change ContainerTerminatedState's start and end time to be optional
Date Jun 9, 2022
Checkmk Editon Checkmk Raw (CRE)
Checkmk Version 2.2.0i1 2.1.0p3
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed

Previously, the Kubernetes special agent raised the error "[special_kube] TypeError: Can not convert to timestamp: 'None' of type " when a terminated container had no information about either its start or finish time. With this werk, the assumption that the start and finish times are always set is removed, and is thus consistent with the Kubernetes specification. The check plug-in is also modified to display the time-related information depending on what fields are returned.

To the list of all Werks