]>
Commit | Line | Data |
---|---|---|
292a6b4e 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" | |
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 interface | |
19 | LoadPlugin iptables | |
20 | LoadPlugin load | |
21 | #LoadPlugin logfile | |
22 | LoadPlugin memory | |
23 | LoadPlugin ping | |
24 | LoadPlugin processes | |
25 | LoadPlugin rrdtool | |
26 | LoadPlugin sensors | |
27 | LoadPlugin swap | |
28 | LoadPlugin syslog | |
29 | #LoadPlugin wireless | |
30 | LoadPlugin match_regex | |
31 | ||
32 | include "/etc/collectd.precache" | |
33 | ||
34 | <Plugin interface> | |
35 | Interface "lo" | |
36 | Interface "ipsec1" | |
37 | Interface "ipsec2" | |
38 | Interface "ipsec3" | |
39 | IgnoreSelected true | |
40 | </Plugin> | |
41 | ||
42 | <Plugin "disk"> | |
43 | Disk "/[hs]d[a-z][0-9]$/" | |
44 | IgnoreSelected true | |
45 | </Plugin> | |
46 | ||
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 | |
292a6b4e CS |
52 | </Plugin> |
53 | ||
54 | #<Plugin logfile> | |
55 | # LogLevel info | |
56 | # File STDOUT | |
57 | #</Plugin> | |
58 | ||
59 | <Plugin ping> | |
60 | Host "gateway" | |
4271343e AF |
61 | interval 30 |
62 | timeout 10 | |
292a6b4e CS |
63 | </Plugin> |
64 | ||
65 | <Plugin processes> | |
66 | Process "sshd" | |
67 | Process "smbd" | |
68 | Process "nmbd" | |
69 | Process "squid" | |
70 | Process "squidguard" | |
71 | Process "pluto" | |
72 | Process "snort" | |
73 | Process "openvpn" | |
74 | Process "qemu" | |
75 | Process "rtorrent" | |
76 | Process "mpd" | |
77 | Process "asterisk" | |
78 | Process "java" | |
79 | Process "mysqld" | |
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" |