Browse Source

Adding some values for match sources

Philippe Caseiro 11 months ago
parent
commit
0fbffcc6d2
1 changed files with 12 additions and 0 deletions
  1. 12
    0
      dicos/70_prometheus.xml

+ 12
- 0
dicos/70_prometheus.xml View File

@@ -169,6 +169,18 @@
169 169
             <param>['Node Exporter','Port']</param>
170 170
         </check>
171 171
 
172
+        <check name='valid_enum' target='alRouteMatchSource'>
173
+            <param>['','service','severity']</param>
174
+        </check>
175
+
176
+        <check name='valid_enum' target='alRouteMatchRegExpSource'>
177
+            <param>['','service','severity']</param>
178
+        </check>
179
+
180
+        <check name='valid_enum' target='alSubRouteMatchSource'>
181
+            <param>['','service','severity']</param>
182
+        </check>
183
+
172 184
         <condition name='disabled_if_in' source='alSMTPAuth'>
173 185
             <param>non</param>
174 186
             <target type='variable'>alSMTPUser</target>