Compare commits

..

2 Commits

Author SHA1 Message Date
vfebvre de1500ef95 correction syntaxe subroutes 2022-02-07 12:23:45 +01:00
vfebvre c35d1f0416 fix mise en page configuration alertmanager 2022-02-07 11:17:10 +01:00
2 changed files with 7 additions and 7 deletions

View File

@ -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 }}.

View File

@ -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