]>
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 | |
4a52eae4 | 21 | LoadPlugin mbmon |
a332b303 | 22 | LoadPlugin memory |
a332b303 | 23 | LoadPlugin ping |
773362c5 | 24 | LoadPlugin processes |
a332b303 | 25 | LoadPlugin rrdtool |
a332b303 CS |
26 | LoadPlugin swap |
27 | LoadPlugin syslog | |
a332b303 CS |
28 | |
29 | <Plugin interface> | |
a332b303 CS |
30 | Interface "lo" |
31 | Interface "ipsec1" | |
32 | Interface "ipsec2" | |
33 | Interface "ipsec3" | |
34 | IgnoreSelected true | |
35 | </Plugin> | |
36 | ||
37 | <Plugin iptables> | |
38 | Chain filter INPUT DROP_INPUT | |
39 | Chain filter FORWARD DROP_OUTPUT | |
40 | Chain filter PSCAN DROP_PScan | |
41 | Chain filter NEWNOTSYN DROP_NEWNOTSYN | |
42 | Chain filter OUTGOINGFW DROP_OUTGOINGFW | |
5362088b MT |
43 | Chain filter INPUT DROP_Wirelessinput |
44 | Chain filter FORWARD DROP_Wirelessforward | |
a332b303 CS |
45 | </Plugin> |
46 | ||
a332b303 CS |
47 | #<Plugin logfile> |
48 | # LogLevel info | |
49 | # File STDOUT | |
50 | #</Plugin> | |
51 | ||
4a52eae4 CS |
52 | <Plugin mbmon> |
53 | Host "127.0.0.1" | |
54 | Port "411" | |
55 | </Plugin> | |
a332b303 | 56 | |
a332b303 CS |
57 | |
58 | <Plugin ping> | |
59 | Host "gateway" | |
60 | </Plugin> | |
61 | ||
62 | <Plugin processes> | |
773362c5 | 63 | Process "sshd" |
518f894b | 64 | Process "smbd" |
773362c5 CS |
65 | Process "nmbd" |
66 | Process "squid" | |
67 | Process "squidguard" | |
68 | Process "pluto" | |
69 | Process "snort" | |
70 | Process "openvpn" | |
71 | Process "qemu" | |
72 | Process "rtorrent" | |
73 | Process "mpd" | |
74 | Process "asterisk" | |
75 | Process "java" | |
76 | Process "mysqld" | |
77 | Process "spamd" | |
a332b303 CS |
78 | </Plugin> |
79 | ||
80 | <Plugin rrdtool> | |
81 | DataDir "/var/log/rrd/collectd" | |
82 | CacheTimeout 300 | |
83 | CacheFlush 900 | |
84 | </Plugin> | |
85 | ||
a332b303 CS |
86 | <Plugin syslog> |
87 | LogLevel info | |
88 | </Plugin> |