]>
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 | |
53f4c74d | 26 | LoadPlugin sensors |
292a6b4e CS |
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> | |
292a6b4e CS |
48 | Chain filter PSCAN DROP_PScan |
49 | Chain filter NEWNOTSYN DROP_NEWNOTSYN | |
94ea1f03 AM |
50 | Chain filter POLICYFWD DROP_FORWARD |
51 | Chain filter POLICYOUT DROP_OUTPUT | |
52 | Chain filter POLICYIN DROP_INPUT | |
292a6b4e CS |
53 | </Plugin> |
54 | ||
55 | #<Plugin logfile> | |
56 | # LogLevel info | |
57 | # File STDOUT | |
58 | #</Plugin> | |
59 | ||
60 | <Plugin ping> | |
61 | Host "gateway" | |
4271343e AF |
62 | interval 30 |
63 | timeout 10 | |
292a6b4e CS |
64 | </Plugin> |
65 | ||
66 | <Plugin processes> | |
67 | Process "sshd" | |
68 | Process "smbd" | |
69 | Process "nmbd" | |
70 | Process "squid" | |
71 | Process "squidguard" | |
033ba034 | 72 | Process "charon" |
292a6b4e CS |
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" | |
82 | </Plugin> | |
83 | ||
84 | <Plugin rrdtool> | |
85 | DataDir "/var/log/rrd/collectd" | |
86 | </Plugin> | |
87 | ||
88 | <Plugin syslog> | |
89 | LogLevel info | |
90 | </Plugin> | |
91 | ||
92 | #include "/etc/collectd.thermal" | |
93 | include "/etc/collectd.custom" |