r/collectd: Disable network plugin by default

The default configuration for *collectd* no longer needs the network
plugin enabled, as hosts are scraped directly by Prometheus now.
This commit is contained in:
2021-10-30 16:31:49 -05:00
parent 881c8de625
commit 689d53abfd
2 changed files with 4 additions and 3 deletions

View File

@@ -2,6 +2,7 @@
LoadPlugin network
{% endif %}
{% if collectd_network_servers or collectd_network_listen %}
<Plugin network>
{% for server in collectd_network_servers %}
{% if server is string %}
@@ -22,3 +23,4 @@ LoadPlugin network
{% endif %}
{% endfor %}
</Plugin>
{% endif %}