Jerry Zhao 421fdfe39a Add collectd cookbook
Will associate monitored processes with roles later.

Change-Id: I33a14255a11f52be87c1551a3dd2b4542c11eebc
2014-08-05 21:00:01 -07:00

19 lines
633 B
Plaintext

# Config file for collectd(1).
#
# Some plugins need additional configuration and are disabled by default.
# Please read collectd.conf(5) for details.
#
# You should also read /usr/share/doc/collectd/README.Debian.plugins before
# enabling any more plugins.
Hostname "<%= @node[:fqdn] %>"
FQDNLookup true
BaseDir "<%= @node[:collectd][:base_dir] %>"
PluginDir "<%= @node[:collectd][:plugin_dir] %>"
TypesDB "<%= @node[:collectd][:types_db].join('", "') %>"
Interval <%= @node[:collectd][:interval] %>
ReadThreads <%= @node[:collectd][:read_threads] %>
Include "/etc/collectd/plugins/*.conf"
Include "/etc/collectd/thresholds.conf"