We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents bd31d46 + 3e949d5 commit 61cd074Copy full SHA for 61cd074
check_elasticsearch
@@ -435,7 +435,7 @@ class ElasticSearchCheck(NagiosCheck):
435
"shard %d" % (idx_name, shard_no))
436
437
for replica in primary_replica_map[primary]:
438
- if replica.state != SHARD_STATE['STARTED']:
+ if replica.state not in ( SHARD_STATE['STARTED'], SHARD_STATE['RELOCATING'] ):
439
downgraded |= self.downgrade_health(YELLOW)
440
detail.append("Index '%s' replica down on "
441
0 commit comments