summaryrefslogtreecommitdiff
path: root/modules/nixos/monitoring/rules/redis.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'modules/nixos/monitoring/rules/redis.yaml')
-rw-r--r--modules/nixos/monitoring/rules/redis.yaml86
1 files changed, 42 insertions, 44 deletions
diff --git a/modules/nixos/monitoring/rules/redis.yaml b/modules/nixos/monitoring/rules/redis.yaml
index f6d1fe1..c07c819 100644
--- a/modules/nixos/monitoring/rules/redis.yaml
+++ b/modules/nixos/monitoring/rules/redis.yaml
@@ -10,12 +10,12 @@ groups:
labels:
severity: critical
annotations:
- summary: Redis down (instance {{ $labels.instance }})
+ summary: Redis down at {{ $labels.instance }}.
description: |-
Redis instance is down.
- VALUE = {{ $value }}
- LABELS = {{ $labels }}
+ VALUE = {{ $value }}
+ LABELS = {{ $labels }}
- alert: RedisMissingMaster
expr: >-
@@ -25,12 +25,12 @@ groups:
labels:
severity: critical
annotations:
- summary: Redis missing master (instance {{ $labels.instance }})
+ summary: Redis missing master at {{ $labels.instance }}).
description: |-
- Redis cluster has no node marked as master.
+ Redis cluster has no node marked as a master.
- VALUE = {{ $value }}
- LABELS = {{ $labels }}
+ VALUE = {{ $value }}
+ LABELS = {{ $labels }}
- alert: RedisTooManyMasters
expr: >-
@@ -39,12 +39,12 @@ groups:
labels:
severity: critical
annotations:
- summary: Redis too many masters (instance {{ $labels.instance }})
+ summary: Redis too many masters at {{ $labels.instance }}.
description: |-
- Redis cluster has too many nodes marked as master.
+ Redis cluster has too many nodes marked as a master.
- VALUE = {{ $value }}
- LABELS = {{ $labels }}
+ VALUE = {{ $value }}
+ LABELS = {{ $labels }}
- alert: RedisDisconnectedSlaves
expr: >-
@@ -56,12 +56,12 @@ groups:
labels:
severity: critical
annotations:
- summary: Redis disconnected slaves (instance {{ $labels.instance }})
+ summary: Redis disconnected slaves at {{ $labels.instance }}.
description: |-
Redis is not replicating for all slaves.
- VALUE = {{ $value }}
- LABELS = {{ $labels }}
+ VALUE = {{ $value }}
+ LABELS = {{ $labels }}
- alert: RedisReplicationBroken
expr: >-
@@ -70,12 +70,12 @@ groups:
labels:
severity: critical
annotations:
- summary: Redis replication broken (instance {{ $labels.instance }})
+ summary: Redis replication broken at {{ $labels.instance }}.
description: |-
Redis instance lost a slave.
- VALUE = {{ $value }}
- LABELS = {{ $labels }}
+ VALUE = {{ $value }}
+ LABELS = {{ $labels }}
- alert: RedisClusterFlapping
expr: >-
@@ -84,14 +84,12 @@ groups:
labels:
severity: critical
annotations:
- summary: Redis cluster flapping (instance {{ $labels.instance }})
+ summary: Redis cluster flapping at {{ $labels.instance }}.
description: |-
- Changes have been detected in the Redis replica connection. This can
- occur when replica nodes lose connection to the master and reconnect
- (a.k.a flapping).
+ Changes have been detected in the Redis replica connection. This can occur when replica nodes lose connection to the master and reconnect (a.k.a flapping).
- VALUE = {{ $value }}
- LABELS = {{ $labels }}
+ VALUE = {{ $value }}
+ LABELS = {{ $labels }}
- alert: RedisMissingBackup
expr: >-
@@ -101,12 +99,12 @@ groups:
labels:
severity: critical
annotations:
- summary: Redis missing backup (instance {{ $labels.instance }})
+ summary: Redis missing backup at {{ $labels.instance }}.
description: |-
Redis has not been backed up for 24 hours.
- VALUE = {{ $value }}
- LABELS = {{ $labels }}
+ VALUE = {{ $value }}
+ LABELS = {{ $labels }}
- alert: RedisOutOfSystemMemory
expr: >-
@@ -118,12 +116,12 @@ groups:
labels:
severity: warning
annotations:
- summary: Redis out of system memory (instance {{ $labels.instance }})
+ summary: Redis out of system memory at {{ $labels.instance }}.
description: |-
- Redis is running out of system memory (> 90%).
+ Redis is running out of system memory.
- VALUE = {{ $value }}
- LABELS = {{ $labels }}
+ VALUE = {{ $value }}
+ LABELS = {{ $labels }}
- alert: RedisOutOfConfiguredMaxmemory
expr: >-
@@ -139,12 +137,12 @@ groups:
labels:
severity: warning
annotations:
- summary: Redis out of configured maxmemory (instance {{ $labels.instance }})
+ summary: Redis out of configured maxmemory at {{ $labels.instance }}.
description: |-
- Redis is running out of configured maxmemory (> 90%).
+ Redis is running out of configured maxmemory.
- VALUE = {{ $value }}
- LABELS = {{ $labels }}
+ VALUE = {{ $value }}
+ LABELS = {{ $labels }}
- alert: RedisTooManyConnections
expr: >-
@@ -153,12 +151,12 @@ groups:
labels:
severity: warning
annotations:
- summary: Redis too many connections (instance {{ $labels.instance }})
+ summary: Redis too many connections at {{ $labels.instance }}.
description: |-
Redis instance has too many connections.
- VALUE = {{ $value }}
- LABELS = {{ $labels }}
+ VALUE = {{ $value }}
+ LABELS = {{ $labels }}
- alert: RedisNotEnoughConnections
expr: >-
@@ -167,12 +165,12 @@ groups:
labels:
severity: warning
annotations:
- summary: Redis not enough connections (instance {{ $labels.instance }})
+ summary: Redis not enough connections at {{ $labels.instance }}.
description: |-
- Redis instance should have more connections (> 1).
+ Redis instance should have more connections.
- VALUE = {{ $value }}
- LABELS = {{ $labels }}
+ VALUE = {{ $value }}
+ LABELS = {{ $labels }}
- alert: RedisRejectedConnections
expr: >-
@@ -181,9 +179,9 @@ groups:
labels:
severity: critical
annotations:
- summary: Redis rejected connections (instance {{ $labels.instance }})
+ summary: Redis rejected connections at {{ $labels.instance }}.
description: |-
Some connections to Redis have been rejected.
- VALUE = {{ $value }}
- LABELS = {{ $labels }}
+ VALUE = {{ $value }}
+ LABELS = {{ $labels }}