]>
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" | |
11 | TypesDB "/usr/lib/collectd/types.db" | |
12 | Interval 30 | |
13 | ReadThreads 3 | |
14 | ||
a332b303 | 15 | LoadPlugin cpu |
a332b303 | 16 | LoadPlugin disk |
a332b303 CS |
17 | LoadPlugin interface |
18 | LoadPlugin iptables | |
a332b303 CS |
19 | LoadPlugin load |
20 | #LoadPlugin logfile | |
7bf4d18c | 21 | #LoadPlugin mbmon |
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 | |
a332b303 CS |
29 | |
30 | <Plugin interface> | |
a332b303 CS |
31 | Interface "lo" |
32 | Interface "ipsec1" | |
33 | Interface "ipsec2" | |
34 | Interface "ipsec3" | |
35 | IgnoreSelected true | |
36 | </Plugin> | |
37 | ||
38 | <Plugin iptables> | |
39 | Chain filter INPUT DROP_INPUT | |
40 | Chain filter FORWARD DROP_OUTPUT | |
41 | Chain filter PSCAN DROP_PScan | |
42 | Chain filter NEWNOTSYN DROP_NEWNOTSYN | |
43 | Chain filter OUTGOINGFW DROP_OUTGOINGFW | |
5362088b MT |
44 | Chain filter INPUT DROP_Wirelessinput |
45 | Chain filter FORWARD DROP_Wirelessforward | |
a332b303 CS |
46 | </Plugin> |
47 | ||
a332b303 CS |
48 | #<Plugin logfile> |
49 | # LogLevel info | |
50 | # File STDOUT | |
51 | #</Plugin> | |
52 | ||
a332b303 CS |
53 | <Plugin ping> |
54 | Host "gateway" | |
55 | </Plugin> | |
56 | ||
57 | <Plugin processes> | |
773362c5 | 58 | Process "sshd" |
518f894b | 59 | Process "smbd" |
773362c5 CS |
60 | Process "nmbd" |
61 | Process "squid" | |
62 | Process "squidguard" | |
63 | Process "pluto" | |
64 | Process "snort" | |
65 | Process "openvpn" | |
66 | Process "qemu" | |
67 | Process "rtorrent" | |
68 | Process "mpd" | |
69 | Process "asterisk" | |
70 | Process "java" | |
71 | Process "mysqld" | |
72 | Process "spamd" | |
a332b303 CS |
73 | </Plugin> |
74 | ||
75 | <Plugin rrdtool> | |
76 | DataDir "/var/log/rrd/collectd" | |
77 | CacheTimeout 300 | |
78 | CacheFlush 900 | |
79 | </Plugin> | |
80 | ||
a332b303 CS |
81 | <Plugin syslog> |
82 | LogLevel info | |
83 | </Plugin> |