]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blob - config/collectd/collectd.conf
941c631c9380954cbda807a47b8c2464e62382d9
[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 conntrack
16 LoadPlugin cpu
17 #LoadPlugin cpufreq
18 LoadPlugin disk
19 LoadPlugin entropy
20 LoadPlugin interface
21 LoadPlugin iptables
22 LoadPlugin load
23 #LoadPlugin logfile
24 LoadPlugin memory
25 LoadPlugin ping
26 LoadPlugin processes
27 LoadPlugin rrdtool
28 LoadPlugin sensors
29 LoadPlugin swap
30 LoadPlugin syslog
31 #LoadPlugin wireless
32 LoadPlugin match_regex
33
34 include "/etc/collectd.precache"
35
36 <Plugin interface>
37 Interface "lo"
38 Interface "/[0-9]*phys$/"
39 Interface "/^vnet[0-9]*$/"
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 "openvpn"
75 Process "qemu"
76 Process "rtorrent"
77 Process "mpd"
78 Process "asterisk"
79 Process "java"
80 Process "spamd"
81 </Plugin>
82
83 <Plugin rrdtool>
84 DataDir "/var/log/rrd/collectd"
85 </Plugin>
86
87 <Plugin syslog>
88 LogLevel info
89 </Plugin>
90
91 #include "/etc/collectd.thermal"
92 include "/etc/collectd.custom"
93 include "/etc/collectd.vpn"