mirror of
https://github.com/monitoring-mixins/website.git
synced 2024-12-14 11:37:31 +00:00
33 lines
1.2 KiB
YAML
33 lines
1.2 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
|