Browse Source

Renommage alertmanager en prometheus-alertmanager

tags/pkg/stable/eole-2.7.0/1.0.0-0
William Petit 5 months ago
parent
commit
71787a9cf6
1 changed files with 7 additions and 7 deletions
  1. 7
    7
      dicos/70_prometheus.xml

+ 7
- 7
dicos/70_prometheus.xml View File

@@ -3,17 +3,17 @@
3 3
     <files>
4 4
       <file filelist='prometheus'   name='/etc/default/prometheus' source='prometheus.defaults'  mkdir='True' rm='True'/>
5 5
         <file filelist='prometheus'   name='/etc/prometheus/prometheus.yml'          mkdir='True' rm='True'/>
6
-        <file filelist='alertmanager' name='/etc/prometheus/alertmanager.yml'        mkdir='True' rm='True'/>
7
-        <file filelist='alertmanager' name='/etc/prometheus/rules.d/alert-rules.yml' mkdir='True' rm='True'/>
8
-        <file filelist='alertmanager' name='/etc/prometheus/rules.d/predict-rules.yml' mkdir='True' rm='True'/>
6
+        <file filelist='prometheus-alertmanager' name='/etc/prometheus/alertmanager.yml'        mkdir='True' rm='True'/>
7
+        <file filelist='prometheus-alertmanager' name='/etc/prometheus/rules.d/alert-rules.yml' mkdir='True' rm='True'/>
8
+        <file filelist='prometheus-alertmanager' name='/etc/prometheus/rules.d/predict-rules.yml' mkdir='True' rm='True'/>
9 9
         <file filelist='grafana'      name='/etc/grafana/grafana.ini'                mkdir='True' rm='True'/>
10 10
 
11 11
         <service>prometheus</service>
12
-        <service>alertmanager</service>
12
+        <service>prometheus-alertmanager</service>
13 13
         <service>grafana-server</service>
14 14
         <service_access service='prometheus'>
15 15
             <port service_accesslist="prometheus">9090</port>
16
-            <port service_accesslist="alertmanager">9093</port>
16
+            <port service_accesslist="prometheus-alertmanager">9093</port>
17 17
         </service_access>
18 18
         <service_access service='grafana-server'>
19 19
             <port service_accesslist="grafana">3000</port>
@@ -257,8 +257,8 @@
257 257
         <condition name='disabled_if_in' source='activerAlertmanager'>
258 258
             <param>non</param>
259 259
             <target type='family'>alertes prometheus</target>
260
-            <target type='filelist'>alertmanager</target>
261
-            <target type='service_accesslist'>alertmanager</target>
260
+            <target type='filelist'>prometheus-alertmanager</target>
261
+            <target type='service_accesslist'>prometheus-alertmanager</target>
262 262
         </condition>
263 263
 
264 264
         <condition name='disabled_if_in' source='addTargetPrometheus'>

Loading…
Cancel
Save