Compare commits
2 Commits
60148bfee4
...
dist/mse/2
Author | SHA1 | Date | |
---|---|---|---|
489463f06b | |||
4ef331f6a1 |
@ -34,6 +34,16 @@ groups:
|
|||||||
- alert: filesystem_threshold_exceeded
|
- alert: filesystem_threshold_exceeded
|
||||||
expr: node_filesystem_avail{job="%%{job_name_node}",mountpoint="/"} / node_filesystem_size{job="%%{job_name_node}"}
|
expr: node_filesystem_avail{job="%%{job_name_node}",mountpoint="/"} / node_filesystem_size{job="%%{job_name_node}"}
|
||||||
* 100 < 20
|
* 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:
|
annotations:
|
||||||
description: This device's filesystem usage has exceeded the threshold with
|
description: This device's filesystem usage has exceeded the threshold with
|
||||||
a value of {{ $value }}.
|
a value of {{ $value }}.
|
||||||
|
@ -4,11 +4,11 @@ global:
|
|||||||
%if %%tls_smtp == "non"
|
%if %%tls_smtp == "non"
|
||||||
smtp_smarthost: '%%exim_relay_smtp:25'
|
smtp_smarthost: '%%exim_relay_smtp:25'
|
||||||
%elif %%tls_smtp == "port 25"
|
%elif %%tls_smtp == "port 25"
|
||||||
smtp_smarthost: '%%exim_relay_smtp:25'
|
smtp_smarthost: '%%exim_relay_smtp:25'
|
||||||
smtp_require_tls: true
|
smtp_require_tls: true
|
||||||
%else
|
%else
|
||||||
smtp_smarthost: '%%exim_relay_smtp:465'
|
smtp_smarthost: '%%exim_relay_smtp:465'
|
||||||
smtp_require_tls: true
|
smtp_require_tls: true
|
||||||
%end if
|
%end if
|
||||||
smtp_from: '%%system_mail_from'
|
smtp_from: '%%system_mail_from'
|
||||||
%else
|
%else
|
||||||
|
Reference in New Issue
Block a user