Page MenuHomeSoftware Heritage

Elasticsearch: Monitor the max opened shards on a cluster
Closed, MigratedEdits Locked

Description

Monitor the number of shards opened in a cluster and raise an alert if it reaches a defined threshold compared to the max allowed :

Current cout:

curl -s http://192.168.100.61:9200/_stats\?pretty | jq '._shards'
{
  "total": 2934,
  "successful": 2934,
  "failed": 0
}

Max rules:

[1000|cluster.max_shards_per_nodes setting] * number of nodes

Event Timeline

vsellier triaged this task as Normal priority.Apr 8 2021, 4:35 PM
vsellier created this task.
vsellier claimed this task.

Theses errors will be caught by the alert created in T3222