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 |
|
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.