mirror of
https://github.com/samber/awesome-prometheus-alerts.git
synced 2026-06-26 11:27:00 +08:00
fix(rule): remove RedisTooManyMasters
This commit is contained in:
parent
3131a2d96f
commit
31c8473872
1 changed files with 0 additions and 9 deletions
|
|
@ -22,15 +22,6 @@ groups:
|
|||
summary: Redis missing master (instance {{ $labels.instance }})
|
||||
description: "Redis cluster has no node marked as master.\n VALUE = {{ $value }}\n LABELS = {{ $labels }}"
|
||||
|
||||
- alert: RedisTooManyMasters
|
||||
expr: 'count(redis_instance_info{role="master"}) > 1'
|
||||
for: 0m
|
||||
labels:
|
||||
severity: critical
|
||||
annotations:
|
||||
summary: Redis too many masters (instance {{ $labels.instance }})
|
||||
description: "Redis cluster has too many nodes marked as master.\n VALUE = {{ $value }}\n LABELS = {{ $labels }}"
|
||||
|
||||
- alert: RedisDisconnectedSlaves
|
||||
expr: 'count without (instance, job) (redis_connected_slaves) - sum without (instance, job) (redis_connected_slaves) - 1 > 1'
|
||||
for: 0m
|
||||
|
|
|
|||
Loading…
Reference in a new issue