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/couchbase/alerts.yaml
Vitaly Zhuravlev b3b400137a Add jsonnet-libs mixins
Add blackbox exporter
Add mysql exporter
2024-05-04 12:01:41 +00:00

48 lines
1.8 KiB
YAML

groups:
- name: couchbase
rules:
- alert: CouchbaseHighCPUUsage
annotations:
description: '{{ printf "%.0f" $value }} percent CPU usage on node {{$labels.instance}}
and on cluster {{$labels.couchbase_cluster}}, which is above the threshold
of 85.'
summary: The node CPU usage has exceeded the critical threshold.
expr: |
(sys_cpu_utilization_rate) > 85
for: 5m
labels:
severity: critical
- alert: CouchbaseHighMemoryUsage
annotations:
description: '{{ printf "%.0f" $value }} percent memory usage on node {{$labels.instance}}
and on cluster {{$labels.couchbase_cluster}}, which is above the threshold
of 85.'
summary: There is a limited amount of memory available for a node.
expr: |
100 * (sys_mem_actual_used / clamp_min(sys_mem_actual_used + sys_mem_actual_free, 1)) > 85
for: 5m
labels:
severity: critical
- alert: CouchbaseMemoryEvictionRate
annotations:
description: '{{ printf "%.0f" $value }} evictions in bucket {{$labels.bucket}},
on node {{$labels.instance}}, and on cluster {{$labels.couchbase_cluster}},
which is above the threshold of 10.'
summary: There is a spike in evictions in a bucket, which indicates high memory
pressure.
expr: |
(kv_ep_num_value_ejects) > 10
for: 5m
labels:
severity: warning
- alert: CouchbaseInvalidRequestVolume
annotations:
description: '{{ printf "%.0f" $value }} invalid requests to {{$labels.couchbase_cluster}},
which is above the threshold of 1000.'
summary: There is a high volume of incoming invalid requests, which may indicate
a DOS or injection attack.
expr: |
sum without(instance, job) (rate(n1ql_invalid_requests[2m])) > 1000
for: 2m
labels:
severity: warning