Catch up on the latest product updates, best practices, and expert insights from the Checkmk Conference #12 – Watch the livestream recordings now

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
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.2.0b1 Checkmk Community, Checkmk Pro, Checkmk Ultimate, Checkmk Ultimate MT
2.1.0p3 Checkmk Community, Checkmk Pro, Checkmk Ultimate MT

Previously, the Kubernetes special agent raised the error [special_kube] TypeError: Can not convert to timestamp: 'None' of type <class 'NoneType’> 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