commit
8989793ea1
|
@ -31,9 +31,6 @@
|
||||||
{%- if alert.get('enabled', True) %}
|
{%- if alert.get('enabled', True) %}
|
||||||
ALERT {{ alertname }}
|
ALERT {{ alertname }}
|
||||||
IF {{ alert.if }}
|
IF {{ alert.if }}
|
||||||
{%- if alert.for is defined %}
|
|
||||||
FOR {{ alert.for }}
|
|
||||||
{%- endif %}
|
|
||||||
{%- if alert.for is defined %}FOR {{ alert.for }}{%- endif %}
|
{%- if alert.for is defined %}FOR {{ alert.for }}{%- endif %}
|
||||||
{%- if alert.labels is defined %}
|
{%- if alert.labels is defined %}
|
||||||
LABELS {
|
LABELS {
|
||||||
|
|
|
@ -10,4 +10,7 @@ include:
|
||||||
{%- if pillar.prometheus.pushgateway is defined %}
|
{%- if pillar.prometheus.pushgateway is defined %}
|
||||||
- prometheus.pushgateway
|
- prometheus.pushgateway
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
|
{%- if pillar.prometheus.collectd_exporter is defined %}
|
||||||
|
- prometheus.collectd_exporter
|
||||||
|
{%- endif %}
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
|
|
Loading…
Reference in a new issue