Explore the latest product updates and best practices at our hybrid Checkmk Conference #12 from June 16-18, 2026 – Register here

Werk #18885: kube: KeyError: 'user'

Component Checks & agents
Title kube: KeyError: 'user'
Date Dec 1, 2025
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.5.0b1 Checkmk Community, Checkmk Pro, Checkmk Ultimate, Checkmk Ultimate MT
2.4.0p18 Checkmk Community, Checkmk Pro, Checkmk Ultimate, Checkmk Ultimate MT

Previously, the special agents agent_kube and agent_prometheus could crash with

  File "/omd/sites/test/lib/python3/cmk/special_agents/utils/node_exporter.py", line 370, in _process_kernel_info
    "{cpu} {user} {nice} {system} {idle} {iowait} {irq} "
KeyError: 'user'

This would occur if the Prometheus endpoint reported node_cpu_guest_seconds_total, but omitted node_cpu_seconds_total for a specific node.

With this Werk, the special agents will continue collecting monitoring information in the absence of node_cpu_seconds_total. The section with the missing data will be omitted, since the check plug-in kernel_util cannot function without this data.

To the list of all Werks