0
0
mirror of https://github.com/saltstack-formulas/smokeping-formula.git synced 2024-11-27 23:07:50 +01:00
smokeping-formula/smokeping/files/Targets

21 lines
549 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.items() -%}
2016-07-14 13:58:43 +02:00
{% if options is mapping() -%}
+ {{ target }}
{% for key, value in options.items() -%}
2016-07-14 13:58:43 +02:00
{{ key }} = {{ value }}
{% endfor %}
{% endif %}
{% endfor %}