Werk #16215: agent_elasticsearch: resolve error when requesting indices stats
Component | Checks & agents | ||||||
Title | agent_elasticsearch: resolve error when requesting indices stats | ||||||
Date | Nov 6, 2023 | ||||||
Level | Trivial Change | ||||||
Class | Bug Fix | ||||||
Compatibility | Compatible - no manual interaction needed | ||||||
Checkmk versions & editions |
|
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.