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.
|
2016-01-03 18:39:26 +00:00
|
|
|
|
|
|
|
## 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
|
2016-01-03 18:39:26 +00:00
|
|
|
|
|
|
|
## Load Plugins ##
|
2015-11-28 14:25:29 +00:00
|
|
|
LoadPlugin write_graphite
|
2016-01-03 18:39:26 +00:00
|
|
|
LoadPlugin syslog
|
|
|
|
LoadPlugin cpu
|
|
|
|
LoadPlugin load
|
|
|
|
LoadPlugin memory
|
|
|
|
LoadPlugin processes
|
2016-02-10 09:58:33 +00:00
|
|
|
LoadPlugin conntrack
|
2016-01-03 18:39:26 +00:00
|
|
|
LoadPlugin users
|
2016-01-04 00:11:50 +00:00
|
|
|
LoadPlugin uptime
|
|
|
|
LoadPlugin interface
|
2016-01-09 18:50:44 +00:00
|
|
|
LoadPlugin filecount
|
2016-01-09 11:33:20 +00:00
|
|
|
<Plugin "filecount">
|
|
|
|
<Directory "/opt/freifunk/tunneldigger_interfaces">
|
|
|
|
Instance "tunneldigger-connections"
|
2016-01-25 17:46:47 +00:00
|
|
|
Name "l2tp*"
|
2016-01-09 11:33:20 +00:00
|
|
|
</Directory>
|
|
|
|
</Plugin>
|
2015-11-28 14:25:29 +00:00
|
|
|
<Plugin write_graphite>
|
|
|
|
<Carbon>
|
2016-07-10 21:00:59 +00:00
|
|
|
Host "10.188.0.10"
|
2015-11-28 14:25:29 +00:00
|
|
|
Port "2003"
|
|
|
|
Prefix "collectd.gateways."
|
|
|
|
StoreRates true
|
|
|
|
AlwaysAppendDS false
|
|
|
|
EscapeCharacter "_"
|
|
|
|
</Carbon>
|
|
|
|
</Plugin>
|
2016-01-03 18:39:26 +00:00
|
|
|
|
2015-11-28 14:25:29 +00:00
|
|
|
<Plugin syslog>
|
|
|
|
LogLevel info
|
|
|
|
</Plugin>
|
2016-01-03 18:39:26 +00:00
|
|
|
|
|
|
|
###########################################################
|
2015-11-28 14:25:29 +00:00
|
|
|
Include "/etc/collectd/filters.conf"
|
|
|
|
Include "/etc/collectd/thresholds.conf"
|