mirror of
https://github.com/saltstack-formulas/smokeping-formula.git
synced 2025-01-31 18:05:25 +01:00
65b2c516ec
fix: replace deprecated `iteritems` with `items` * Add files via upload Adjusted *.iteritems() to *.items() which will work for Python 3 aswell as Python 2 (since iteritems is outdated for python3 and breaks the salt-state). * Delete Alerts * Delete Probes * Delete Targets * Update Alerts * Update Probes * Update Targets
10 lines
240 B
Plaintext
10 lines
240 B
Plaintext
{%- from "smokeping/map.jinja" import smokeping with context -%}
|
|
*** Probes ***
|
|
|
|
{% for probe, settings in smokeping.probes.items() %}
|
|
+ {{ probe }}
|
|
{% for key, value in settings.items() %}
|
|
{{ key }} = {{ value }}
|
|
{% endfor %}
|
|
{% endfor %}
|