]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blob - config/collectd/collectd.conf
Merge branch 'next' of ssh://git.ipfire.org/pub/git/ipfire-2.x into vpn-statistic1
[people/pmueller/ipfire-2.x.git] / config / collectd / collectd.conf
1 #
2 # Config file for collectd(1).
3 # Please read collectd.conf(5) for a list of options.
4 # http://collectd.org/
5 #
6
7 Hostname "localhost"
8 BaseDir "/var/log/rrd/collectd"
9 PIDFile "/var/run/collectd.pid"
10 PluginDir "/usr/lib/collectd"
11 TypesDB "/usr/share/collectd/types.db"
12 Interval 30
13 ReadThreads 1
14
15 LoadPlugin cpu
16 #LoadPlugin cpufreq
17 LoadPlugin disk
18 LoadPlugin entropy
19 LoadPlugin interface
20 LoadPlugin iptables
21 LoadPlugin load
22 #LoadPlugin logfile
23 LoadPlugin memory
24 LoadPlugin ping
25 LoadPlugin processes
26 LoadPlugin rrdtool
27 LoadPlugin sensors
28 LoadPlugin swap
29 LoadPlugin syslog
30 #LoadPlugin wireless
31 LoadPlugin match_regex
32
33 include "/etc/collectd.precache"
34
35 <Plugin interface>
36 Interface "lo"
37 Interface "ipsec1"
38 Interface "ipsec2"
39 Interface "ipsec3"
40 IgnoreSelected true
41 </Plugin>
42
43 <Plugin "disk">
44 Disk "/[hs]d[a-z][0-9]$/"
45 IgnoreSelected true
46 </Plugin>
47
48 <Plugin iptables>
49 Chain filter PSCAN DROP_PScan
50 Chain filter NEWNOTSYN DROP_NEWNOTSYN
51 Chain filter POLICYFWD DROP_FORWARD
52 Chain filter POLICYOUT DROP_OUTPUT
53 Chain filter POLICYIN DROP_INPUT
54 </Plugin>
55
56 #<Plugin logfile>
57 # LogLevel info
58 # File STDOUT
59 #</Plugin>
60
61 <Plugin ping>
62 Host "gateway"
63 interval 30
64 timeout 10
65 </Plugin>
66
67 <Plugin processes>
68 Process "sshd"
69 Process "smbd"
70 Process "nmbd"
71 Process "squid"
72 Process "squidguard"
73 Process "charon"
74 Process "snort"
75 Process "openvpn"
76 Process "qemu"
77 Process "rtorrent"
78 Process "mpd"
79 Process "asterisk"
80 Process "java"
81 Process "mysqld"
82 Process "spamd"
83 </Plugin>
84
85 <Plugin rrdtool>
86 DataDir "/var/log/rrd/collectd"
87 </Plugin>
88
89 <Plugin syslog>
90 LogLevel info
91 </Plugin>
92
93 #include "/etc/collectd.thermal"
94 include "/etc/collectd.custom"
95 include "/etc/collectd.vpn"