Werk #8911: Fix CRIT criterion for k8s_pod_container

Component Checks & agents
Title Fix CRIT criterion for k8s_pod_container
Date Sep 9, 2019
Level Trivial Change
Class Bug Fix
Compatibility Incompatible - Manual interaction might be required
Checkmk versions & editions
2.0.0i1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
1.6.0b10 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

Cleanly terminated containers would erroneously mark the check CRIT. Now, the check is only CRIT when a container exited with a non-zero error code, otherwise it remains OK. The check now reports more information: the number of running containers, the number of waiting containers, and the number of terminated containers.

To the list of all Werks