smokeping-formula/smokeping/files/Targets

21 lines
557 B
Plaintext
Raw Normal View History

2016-07-14 13:58:43 +02:00
{%- from "smokeping/map.jinja" import smokeping with context -%}
{%- set targets = smokeping.targets -%}
*** Targets ***
probe = {{ smokeping.targets.probe }}
menu = Top
title = {{ smokeping.targets.title }}
remark = {{ salt['pillar.get']('smokeping:targets:remark', '') }}
alerts = {{ salt['pillar.get']('smokeping:targets:alerts', '') }}
{% for target, options in smokeping.targets.iteritems() -%}
{% if options is mapping() -%}
+ {{ target }}
{% for key, value in options.iteritems() -%}
{{ key }} = {{ value }}
{% endfor %}
{% endif %}
{% endfor %}