Remove legacy configuration options

This commit is contained in:
Jeroen Geusebroek
2019-01-21 17:24:01 +01:00
parent 5764b4bc90
commit f826414f5f
3 changed files with 2 additions and 57 deletions

View File

@ -66,25 +66,6 @@
{{ items }} {{ items }}
{% endfor %} {% endfor %}
{% endif %} {% endif %}
{% if item.pass is defined and item.pass is iterable %}
[{{ item.plugin }}.pass]
{% for items in item.pass %}
{{ items }}
{% endfor %}
{% endif %}
{% if item.drop is defined and item.drop is iterable %}
[{{ item.plugin }}.drop]
{% for items in item.drop %}
{{ items }}
{% endfor %}
{% endif %}
{% if item.specifications is defined and item.specifications is iterable %}
[[{{item.plugin}}.specifications]]
{% for items in item.specifications %}
{{ items }}
{% endfor %}
{% endif %}
{% endfor %} {% endfor %}
{% endif %} {% endif %}

View File

@ -27,18 +27,6 @@
{{ items }} {{ items }}
{% endfor %} {% endfor %}
{% endif %} {% endif %}
{% if item.value.pass is defined and item.value.pass is iterable %}
[{{ item.value.plugin | default(item.key) }}.pass]
{% for items in item.value.pass %}
{{ items }}
{% endfor %}
{% endif %}
{% if item.value.drop is defined and item.value.drop is iterable %}
[{{ item.value.plugin | default(item.key) }}.drop]
{% for items in item.value.drop %}
{{ items }}
{% endfor %}
{% endif %}
{% if item.value.objects is defined and item.value.objects is iterable %} {% if item.value.objects is defined and item.value.objects is iterable %}
{% for object in item.value.objects %} {% for object in item.value.objects %}
[[inputs.{{ item.value.plugin | default(item.key) }}.object]] [[inputs.{{ item.value.plugin | default(item.key) }}.object]]
@ -48,10 +36,4 @@
Measurement = {{ object.measurement | default("win_perf_counters") | to_json }} Measurement = {{ object.measurement | default("win_perf_counters") | to_json }}
IncludeTotal = {{ object.total | default(false) | string | lower }} IncludeTotal = {{ object.total | default(false) | string | lower }}
{% endfor %} {% endfor %}
{% endif %} {% endif %}
{% if item.value.specifications is defined and item.value.specifications is iterable %}
[[{{item.value.plugin | default(item.key)}}.specifications]]
{% for items in item.value.specifications %}
{{ items }}
{% endfor %}
{% endif %}

View File

@ -94,18 +94,6 @@
{{ items }} {{ items }}
{% endfor %} {% endfor %}
{% endif %} {% endif %}
{% if item.pass is defined and item.pass is iterable %}
[{{ item.plugin }}.pass]
{% for items in item.pass %}
{{ items }}
{% endfor %}
{% endif %}
{% if item.drop is defined and item.drop is iterable %}
[{{ item.plugin }}.drop]
{% for items in item.drop %}
{{ items }}
{% endfor %}
{% endif %}
{% if item.objects is defined and item.objects is iterable %} {% if item.objects is defined and item.objects is iterable %}
{% for object in item.objects %} {% for object in item.objects %}
[[inputs.{{ item.plugin }}.object]] [[inputs.{{ item.plugin }}.object]]
@ -116,12 +104,6 @@
IncludeTotal = {{ object.total | default(false) | string | lower }} IncludeTotal = {{ object.total | default(false) | string | lower }}
{% endfor %} {% endfor %}
{% endif %} {% endif %}
{% if item.specifications is defined and item.specifications is iterable %}
[[{{item.plugin}}.specifications]]
{% for items in item.specifications %}
{{ items }}
{% endfor %}
{% endif %}
{% endfor %} {% endfor %}
{% endif %} {% endif %}