add snmp package
diff --git a/collectd/files/collectd.conf b/collectd/files/collectd.conf
index bef82ee..c266c7d 100644
--- a/collectd/files/collectd.conf
+++ b/collectd/files/collectd.conf
@@ -897,4 +897,4 @@
{%- endfor %}
Include "/etc/collectd/filters.conf"
-Include "/etc/collectd/thresholds.conf"
\ No newline at end of file
+Include "/etc/collectd/thresholds.conf"
diff --git a/collectd/files/plugin_snmp.conf b/collectd/files/plugin_snmp.conf
index e32b2b4..80c0924 100644
--- a/collectd/files/plugin_snmp.conf
+++ b/collectd/files/plugin_snmp.conf
@@ -23,4 +23,4 @@
</Host>
{%- endfor %}
</Plugin>
-{%- endif %}
\ No newline at end of file
+{%- endif %}
diff --git a/collectd/map.jinja b/collectd/map.jinja
index 7a84ba3..0816db0 100644
--- a/collectd/map.jinja
+++ b/collectd/map.jinja
@@ -16,14 +16,14 @@
'supported_services': supported_services
},
'Debian': {
- 'pkgs': ['collectd-core'],
+ 'pkgs': ['collectd-core', 'snmp'],
'service': 'collectd',
'config_file': '/etc/collectd/collectd.conf',
'config_dir': '/etc/collectd/conf.d',
'supported_services': supported_services
},
'RedHat': {
- 'pkgs': ['collectd', 'collectd-virt', 'collectd-ping', ],
+ 'pkgs': ['collectd', 'collectd-virt', 'collectd-ping', 'net-snmp'],
'service': 'collectd',
'config_file': '/etc/collectd.conf',
'config_dir': '/etc/collectd.d',