Werk #16215: agent_elasticsearch: resolve error when requesting indices stats

Komponente Checks & agents
Titel agent_elasticsearch: resolve error when requesting indices stats
Datum 06.11.2023
Level Kleine Änderung
Klasse Bugfix
Kompatibilität Kompatibel - benötigt kein manuelles Eingreifen
Checkmk versions & editions
2.3.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.2.0p14 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.1.0p37 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

There is a special error case which arises when trying to request the indices stats from Elasticsearch which has at least one alias pointing to a closed index. In the previous version, the special agent completely failed in such scenarios. This werk resolves this by requesting only the accessible indices.

Zur Liste aller Werks