Werk #13685: elasticsearch_cluster_health: Handle status correctly

Component Checks & agents
Title elasticsearch_cluster_health: Handle status correctly
Date Jul 13, 2022
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.2.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.1.0p7 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

The "Elasticsearch Cluster Health" ignored the elasticsearch status (green, yellow, red) and always showed up with state "OK". This also held true for a custom mapping defined by service parameters.

To the list of all Werks