Compare commits

...

3 Commits

Author SHA1 Message Date
de1500ef95 correction syntaxe subroutes 2022-02-07 12:23:45 +01:00
c35d1f0416 fix mise en page configuration alertmanager 2022-02-07 11:17:10 +01:00
43e34f8de8 modification configuration d'alertmanager 2020-12-17 10:21:49 +01:00

View File

@ -81,6 +81,7 @@ route:
- match:
%%{sroute.alSubRouteMatchSource}: %%alSubRouteMatchValue
receiver: %%alSubRouteMatchReceiver
continue: true
%end if
%end for
%end if
@ -89,14 +90,16 @@ route:
- match:
%%{rt.alRouteMatchSource}: %%{rt.alRouteMatchValue}
receiver: %%rt.alRouteMatchReceiver
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
continue: true
%end if
%end for
%end if