Werk #12764: agent_prometheus: don't crash if the cAdvisor is used without a namespace prefix

Component Checks & agents
Title agent_prometheus: don't crash if the cAdvisor is used without a namespace prefix
Date May 19, 2021
Level Trivial Change
Class Bug Fix
Compatibility Incompatible - Manual interaction might be required
Checkmk versions & editions
2.1.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
2.0.0p5 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

This werk only affects you if you use the scrape target cAdvisor with the option "Entity level used to create Checkmk piggyback hosts" set to "Pod". If "Prepend namespace prefix for hosts" was not selected, the agent crashed with an error message. To be consistent with the remaining entity levels and the scrape target "Kube-state-metrics" the value is now mandatory.

To the list of all Werks