1
0
Fork 0
mirror of https://github.com/monitoring-mixins/website.git synced 2024-12-15 17:50:48 +00:00
monitoring-mixins-website/assets/memcached/alerts.yaml
2024-10-25 03:33:09 +00:00

44 lines
1.6 KiB
YAML

groups:
- name: memcached
rules:
- alert: MemcachedDown
annotations:
description: Memcached instance {{ $labels.job }} / {{ $labels.instance }} is
down for more than 15 minutes.
summary: Memcached instance is down.
expr: |
memcached_up == 0
for: 15m
labels:
severity: critical
- alert: MemcachedConnectionLimitApproaching
annotations:
description: Memcached instance {{ $labels.job }} / {{ $labels.instance }} connection
usage is at {{ printf "%0.0f" $value }}% for at least 15 minutes.
summary: Memcached max connection limit is approaching.
expr: |
(memcached_current_connections / memcached_max_connections * 100) > 80
for: 15m
labels:
severity: warning
- alert: MemcachedConnectionLimitApproaching
annotations:
description: Memcached instance {{ $labels.job }} / {{ $labels.instance }} connection
usage is at {{ printf "%0.0f" $value }}% for at least 15 minutes.
summary: Memcached connections at critical level.
expr: |
(memcached_current_connections / memcached_max_connections * 100) > 95
for: 15m
labels:
severity: critical
- alert: MemcachedOutOfMemoryErrors
annotations:
description: Memcached instance {{ $labels.job }} / {{ $labels.instance }} has
OutOfMemory errors for at least 15 minutes, current rate is {{ printf "%0.0f"
$value }}
summary: Memcached has OutOfMemory errors.
expr: |
sum without (slab) (rate(memcached_slab_items_outofmemory_total[5m])) > 0
for: 15m
labels:
severity: warning