Werk #12764: agent_prometheus: don't crash if the cAdvisor is used without a namespace prefix
Komponente | Checks & agents |
Titel | agent_prometheus: don't crash if the cAdvisor is used without a namespace prefix |
Datum | 19.05.2021 |
Checkmk Edition | Checkmk Raw (CRE) |
Checkmk-Version | 2.0.0p5 2.1.0b1 |
Level | Kleine Änderung |
Klasse | Bugfix |
Kompatibilität | Inkompatibel - Manuelle Interaktion könnte erforderlich sein |
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.