]>
Commit | Line | Data |
---|---|---|
a332b303 CS |
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" | |
646370c1 | 11 | TypesDB "/usr/share/collectd/types.db" |
a332b303 | 12 | Interval 30 |
d7cd8ad9 | 13 | ReadThreads 1 |
a332b303 | 14 | |
a332b303 | 15 | LoadPlugin cpu |
d2c65e37 | 16 | #LoadPlugin cpufreq |
a332b303 | 17 | LoadPlugin disk |
a332b303 CS |
18 | LoadPlugin interface |
19 | LoadPlugin iptables | |
a332b303 CS |
20 | LoadPlugin load |
21 | #LoadPlugin logfile | |
a332b303 | 22 | LoadPlugin memory |
a332b303 | 23 | LoadPlugin ping |
773362c5 | 24 | LoadPlugin processes |
a332b303 | 25 | LoadPlugin rrdtool |
7bf4d18c | 26 | LoadPlugin sensors |
a332b303 CS |
27 | LoadPlugin swap |
28 | LoadPlugin syslog | |
d2c65e37 | 29 | #LoadPlugin wireless |
d7cd8ad9 CS |
30 | LoadPlugin match_regex |
31 | ||
32 | include "/etc/collectd.precache" | |
a332b303 CS |
33 | |
34 | <Plugin interface> | |
a332b303 CS |
35 | Interface "lo" |
36 | Interface "ipsec1" | |
37 | Interface "ipsec2" | |
38 | Interface "ipsec3" | |
39 | IgnoreSelected true | |
40 | </Plugin> | |
41 | ||
4c06c549 | 42 | <Plugin "disk"> |
fac92c6d | 43 | Disk "/[hs]d[a-z][0-9]$/" |
4c06c549 CS |
44 | IgnoreSelected true |
45 | </Plugin> | |
46 | ||
a332b303 CS |
47 | <Plugin iptables> |
48 | Chain filter INPUT DROP_INPUT | |
49 | Chain filter FORWARD DROP_OUTPUT | |
50 | Chain filter PSCAN DROP_PScan | |
51 | Chain filter NEWNOTSYN DROP_NEWNOTSYN | |
52 | Chain filter OUTGOINGFW DROP_OUTGOINGFW | |
5362088b MT |
53 | Chain filter INPUT DROP_Wirelessinput |
54 | Chain filter FORWARD DROP_Wirelessforward | |
a332b303 CS |
55 | </Plugin> |
56 | ||
a332b303 CS |
57 | #<Plugin logfile> |
58 | # LogLevel info | |
59 | # File STDOUT | |
60 | #</Plugin> | |
61 | ||
a332b303 CS |
62 | <Plugin ping> |
63 | Host "gateway" | |
64 | </Plugin> | |
65 | ||
66 | <Plugin processes> | |
773362c5 | 67 | Process "sshd" |
518f894b | 68 | Process "smbd" |
773362c5 CS |
69 | Process "nmbd" |
70 | Process "squid" | |
71 | Process "squidguard" | |
72 | Process "pluto" | |
73 | Process "snort" | |
74 | Process "openvpn" | |
75 | Process "qemu" | |
76 | Process "rtorrent" | |
77 | Process "mpd" | |
78 | Process "asterisk" | |
79 | Process "java" | |
80 | Process "mysqld" | |
81 | Process "spamd" | |
a332b303 CS |
82 | </Plugin> |
83 | ||
84 | <Plugin rrdtool> | |
85 | DataDir "/var/log/rrd/collectd" | |
a332b303 CS |
86 | </Plugin> |
87 | ||
a332b303 CS |
88 | <Plugin syslog> |
89 | LogLevel info | |
90 | </Plugin> | |
4be3afa0 | 91 | |
366aa0cb | 92 | #include "/etc/collectd.thermal" |
b122df87 | 93 | include "/etc/collectd.custom" |