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.
ntfy
Dustin 2021-10-30 16:31:49 -05:00
parent 881c8de625
commit 689d53abfd
2 changed files with 4 additions and 3 deletions

View File

@ -1,7 +1,6 @@
collectd_default_config: true
collectd_load_network_plugin: true
collectd_network_servers:
- ff18::efc0:4a42
collectd_load_network_plugin: false
collectd_network_servers: []
collectd_network_listen: []
collectd_disable_plugins: []

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 %}