Werk #7065: k8s_stats: fix crashes regarding timestamp parsing

Component Checks & agents
Title k8s_stats: fix crashes regarding timestamp parsing
Date Mar 7, 2019
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
1.6.0b1
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
1.6.0b1
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
1.6.0b1
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
1.6.0b1
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
1.6.0b1
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
1.6.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
1.5.0p13 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

The Kubernetes API provides timestamps for the k8s_stats checks in the RFC3339Nano format with different timezones and a varying number of trailing zeros in the seconds field. This lead to a crash of the k8s_stats.network check. To resolve this issues the timestamps are now converted to unix timestamps in the special agent.

To the list of all Werks