Werk #18885 · Dec 1, 25
kube: KeyError: 'user'
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.
Details
- Class:
- Bug Fixes
- Level:
- Trivial
- Component:
- Checks
- Versions:
- 2.5.0b1All Editions
- 2.4.0p18All Editions