diff --git a/rules/redis.yml b/rules/redis.yml index 6de2d5c..2dca8ca 100644 --- a/rules/redis.yml +++ b/rules/redis.yml @@ -48,7 +48,7 @@ groups: description: "Redis has not been backuped for 24 hours\n VALUE = {{ $value }}\n LABELS = {{ $labels }}" - alert: RedisOutOfSystemMemory - expr: redis_memory_used_bytes / redis_total_system_memory_bytes * 100 > 90 + expr: redis_memory_used_bytes / redis_total_system_memory_bytes * 100 > 90 and on(instance) redis_memory_max_bytes > 0 for: 5m labels: severity: page