From: Christian Schmidt Date: Thu, 29 Apr 2010 08:20:11 +0000 (+0200) Subject: Readd collectd conf. X-Git-Tag: v2.9-beta1~348 X-Git-Url: http://git.ipfire.org/?p=people%2Fpmueller%2Fipfire-2.x.git;a=commitdiff_plain;h=292a6b4e2f53e71d45104d9ee1eafda64ab1804b Readd collectd conf. --- diff --git a/config/collectd/collectd.conf b/config/collectd/collectd.conf new file mode 100644 index 0000000000..530c81e7b3 --- /dev/null +++ b/config/collectd/collectd.conf @@ -0,0 +1,93 @@ +# +# Config file for collectd(1). +# Please read collectd.conf(5) for a list of options. +# http://collectd.org/ +# + +Hostname "localhost" +BaseDir "/var/log/rrd/collectd" +PIDFile "/var/run/collectd.pid" +PluginDir "/usr/lib/collectd" +TypesDB "/usr/share/collectd/types.db" +Interval 30 +ReadThreads 1 + +LoadPlugin cpu +#LoadPlugin cpufreq +LoadPlugin disk +LoadPlugin interface +LoadPlugin iptables +LoadPlugin load +#LoadPlugin logfile +LoadPlugin memory +LoadPlugin ping +LoadPlugin processes +LoadPlugin rrdtool +LoadPlugin sensors +LoadPlugin swap +LoadPlugin syslog +#LoadPlugin wireless +LoadPlugin match_regex + +include "/etc/collectd.precache" + + + Interface "lo" + Interface "ipsec1" + Interface "ipsec2" + Interface "ipsec3" + IgnoreSelected true + + + + Disk "/[hs]d[a-z][0-9]$/" + IgnoreSelected true + + + + Chain filter INPUT DROP_INPUT + Chain filter FORWARD DROP_OUTPUT + Chain filter PSCAN DROP_PScan + Chain filter NEWNOTSYN DROP_NEWNOTSYN + Chain filter OUTGOINGFW DROP_OUTGOINGFW + Chain filter INPUT DROP_Wirelessinput + Chain filter FORWARD DROP_Wirelessforward + + +# +# LogLevel info +# File STDOUT +# + + + Host "gateway" + + + + Process "sshd" + Process "smbd" + Process "nmbd" + Process "squid" + Process "squidguard" + Process "pluto" + Process "snort" + Process "openvpn" + Process "qemu" + Process "rtorrent" + Process "mpd" + Process "asterisk" + Process "java" + Process "mysqld" + Process "spamd" + + + + DataDir "/var/log/rrd/collectd" + + + + LogLevel info + + +#include "/etc/collectd.thermal" +include "/etc/collectd.custom"