Compare commits

...

2 Commits

Author SHA1 Message Date
vfebvre 489463f06b Merge branch 'unstable' into dist/eole/2.7.0/unstable 2021-10-21 11:33:33 +02:00
vfebvre 4ef331f6a1 ajout surveillance /var 2021-10-21 11:00:11 +02:00
1 changed files with 10 additions and 0 deletions

View File

@ -34,6 +34,16 @@ groups:
- alert: filesystem_threshold_exceeded
expr: node_filesystem_avail{job="%%{job_name_node}",mountpoint="/"} / node_filesystem_size{job="%%{job_name_node}"}
* 100 < 20
for: 2m
annotations:
description: This device's filesystem usage has exceeded the threshold with
a value of {{ $value }}.
summary: Instance {{ $labels.instance }} filesystem usage is dangerously high
# Heavy "/var" use
- alert: var_filesystem_threshold_exceeded
expr: node_filesystem_avail{job="node",mountpoint="/var"} / node_filesystem_size{job="node"}
* 100 < 20
annotations:
description: This device's filesystem usage has exceeded the threshold with
a value of {{ $value }}.