X-Git-Url: http://git.ipfire.org/?p=people%2Fpmueller%2Fipfire-2.x.git;a=blobdiff_plain;f=config%2Fcollectd%2Fcollectd.conf;h=aea72fc3f4c82d83aa7b2fc00cff0b46970bf09a;hp=b0166e5d639b301f136e2d6befe0c0673ecae5d7;hb=b3cc1932e4afe74f450d3c05d630da16af5b3846;hpb=fac92c6d25038f61430a4e872e720ba00b539385
diff --git a/config/collectd/collectd.conf b/config/collectd/collectd.conf
index b0166e5d63..aea72fc3f4 100644
--- a/config/collectd/collectd.conf
+++ b/config/collectd/collectd.conf
@@ -10,11 +10,12 @@ PIDFile "/var/run/collectd.pid"
PluginDir "/usr/lib/collectd"
TypesDB "/usr/share/collectd/types.db"
Interval 30
-ReadThreads 3
+ReadThreads 1
LoadPlugin cpu
#LoadPlugin cpufreq
LoadPlugin disk
+LoadPlugin entropy
LoadPlugin interface
LoadPlugin iptables
LoadPlugin load
@@ -27,12 +28,15 @@ LoadPlugin sensors
LoadPlugin swap
LoadPlugin syslog
#LoadPlugin wireless
+LoadPlugin match_regex
+
+include "/etc/collectd.precache"
Interface "lo"
- Interface "ipsec1"
- Interface "ipsec2"
- Interface "ipsec3"
+ Interface "/[0-9]*phys$/"
+ Interface "/^macvtap[0-9]*$/"
+ Interface "/^vnet[0-9]*$/"
IgnoreSelected true
@@ -42,13 +46,11 @@ LoadPlugin syslog
- 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
+ Chain filter POLICYFWD DROP_FORWARD
+ Chain filter POLICYOUT DROP_OUTPUT
+ Chain filter POLICYIN DROP_INPUT
#
@@ -58,6 +60,8 @@ LoadPlugin syslog
Host "gateway"
+ interval 30
+ timeout 10
@@ -66,7 +70,7 @@ LoadPlugin syslog
Process "nmbd"
Process "squid"
Process "squidguard"
- Process "pluto"
+ Process "charon"
Process "snort"
Process "openvpn"
Process "qemu"
@@ -74,7 +78,6 @@ LoadPlugin syslog
Process "mpd"
Process "asterisk"
Process "java"
- Process "mysqld"
Process "spamd"
@@ -87,3 +90,5 @@ LoadPlugin syslog
#include "/etc/collectd.thermal"
+include "/etc/collectd.custom"
+include "/etc/collectd.vpn"