include plugin snmp in collect.conf
diff --git a/collectd/files/collectd.conf b/collectd/files/collectd.conf
index cae53fe..bef82ee 100644
--- a/collectd/files/collectd.conf
+++ b/collectd/files/collectd.conf
@@ -878,6 +878,10 @@
# <Node>
#</Plugin>
+{%- if pillar.get('external', {}).network_device is defined %}
+Include "{{ client.config_dir }}/plugin_snmp.conf"
+{%- endif %}
+
{%- for plugin in client.get('plugins', []) %}
Include "{{ client.config_dir }}/{{ plugin.name }}.conf"
{%- endfor %}
@@ -893,5 +897,4 @@
{%- endfor %}
Include "/etc/collectd/filters.conf"
-Include "/etc/collectd/thresholds.conf"
-
+Include "/etc/collectd/thresholds.conf"
\ No newline at end of file