mirror of
https://github.com/saltstack-formulas/smokeping-formula.git
synced 2026-04-26 04:33:57 +02:00
Update Alerts
This commit is contained in:
parent
fc95efd2c4
commit
46d099f5a1
@ -4,10 +4,10 @@
|
||||
to = {{ salt['pillar.get']('smokeping:alerts:to', 'alertee@address.somewhere') }}
|
||||
from = {{ salt['pillar.get']('smokeping:alerts:from', 'smokealert@company.xy') }}
|
||||
|
||||
{% for alert, options in smokeping.alerts.iteritems() -%}
|
||||
{% for alert, options in smokeping.alerts.items() -%}
|
||||
{% if options is mapping() %}
|
||||
+ {{ alert }}
|
||||
{% for key, value in options.iteritems() -%}
|
||||
{% for key, value in options.items() -%}
|
||||
{{ key }} = {{ value }}
|
||||
{% endfor %}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user