Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
de1500ef95 | |||
c35d1f0416 |
@ -42,7 +42,7 @@ groups:
|
||||
# Heavy CPU temperature
|
||||
- alert: cpu_temp_threshold_exceeded
|
||||
expr: avg(node_hwmon_temp_celsius{job="node"}) BY (instance)
|
||||
> 70
|
||||
> 50
|
||||
annotations:
|
||||
description: This device's cpu temperature has exceeded the threshold with a value
|
||||
of {{ $value }}.
|
||||
|
@ -4,11 +4,11 @@ global:
|
||||
%if %%tls_smtp == "non"
|
||||
smtp_smarthost: '%%exim_relay_smtp:25'
|
||||
%elif %%tls_smtp == "port 25"
|
||||
smtp_smarthost: '%%exim_relay_smtp:25'
|
||||
smtp_require_tls: true
|
||||
%else
|
||||
smtp_smarthost: '%%exim_relay_smtp:465'
|
||||
smtp_require_tls: true
|
||||
smtp_smarthost: '%%exim_relay_smtp:25'
|
||||
smtp_require_tls: true
|
||||
%else
|
||||
smtp_smarthost: '%%exim_relay_smtp:465'
|
||||
smtp_require_tls: true
|
||||
%end if
|
||||
smtp_from: '%%system_mail_from'
|
||||
%else
|
||||
@ -93,9 +93,9 @@ route:
|
||||
continue: true
|
||||
|
||||
%if not %%is_empty('alSubRoute')
|
||||
routes:
|
||||
%for sroute in %%getVar('alSubRoute',[])
|
||||
%if %%sroute == %%rt
|
||||
routes:
|
||||
- match:
|
||||
%%{sroute.alSubRouteMatchSource}: %%{sroute.alSubRouteMatchValue}
|
||||
receiver: %%sroute.alSubRouteMatchReceiver
|
||||
|
Loading…
Reference in New Issue
Block a user