ansible.fftdf.supernode/files/collectd.conf.j2

54 lines
1.1 KiB
Plaintext
Raw Normal View History

2015-11-28 14:25:29 +00:00
# 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-core/README.Debian.plugins
# before enabling any more plugins.
## General ##
2015-11-28 14:25:29 +00:00
Hostname "{{ sn_hostname }}"
FQDNLookup true
BaseDir "/var/lib/collectd"
PluginDir "/usr/lib/collectd"
2016-01-03 20:18:05 +00:00
Interval 60
2015-11-28 14:25:29 +00:00
Timeout 2
ReadThreads 5
## Load Plugins ##
2015-11-28 14:25:29 +00:00
LoadPlugin write_graphite
LoadPlugin syslog
LoadPlugin cpu
LoadPlugin load
LoadPlugin memory
LoadPlugin processes
LoadPlugin users
2016-01-04 00:11:50 +00:00
LoadPlugin uptime
LoadPlugin interface
2015-11-28 14:25:29 +00:00
<Plugin write_graphite>
<Carbon>
Host "10.188.1.27"
Port "2003"
Prefix "collectd.gateways."
StoreRates true
AlwaysAppendDS false
EscapeCharacter "_"
</Carbon>
</Plugin>
2016-01-04 00:11:50 +00:00
<Plugin "interface">
Interface "eth0"
Interface "bat0"
IgnoreSelected false
2015-11-28 14:25:29 +00:00
</Plugin>
2015-11-28 14:25:29 +00:00
<Plugin syslog>
LogLevel info
</Plugin>
###########################################################
2015-11-28 14:25:29 +00:00
Include "/etc/collectd/filters.conf"
Include "/etc/collectd/thresholds.conf"