[packages] collectd: use a BuildPlugin template, link -mod-rrdtool plugin against...
[openwrt/svn-archive/archive.git] / utils / collectd / files / collectd.conf
1 #
2 # collectd(1) config for OpenWrt.
3 # Please read collectd.conf(5) for a list of options.
4 # http://collectd.org/
5 #
6
7 # Select one of the following modes:
8 # In client mode the daemon collects the data locally and sends its results
9 # to one or more network addresses. This is the default mode.
10 Mode Client
11 # In the log mode, data is collected locally and written in
12 # text files that reside in DataDir. Be careful as it could fill
13 # the memory of your device with Datadir pointing to /tmp.
14 #Mode Log
15
16 # Set the IP-address(es) and UDP-port(s) to send packets to.
17 # The port option is optional.
18 #Server ff18::efc0:4a42 25826
19 #Server 239.192.74.66 25826
20
21 DataDir "/var/lib/collectd"
22 PIDFile "/var/run/collectd.pid"
23 PluginDir "/usr/lib/collectd"
24 TypesDB "/usr/lib/collectd/types.db"
25
26 LoadPlugin cpu
27 LoadPlugin disk
28 LoadPlugin df
29 LoadPlugin load
30 LoadPlugin memory
31 #LoadPlugin ping
32 #LoadPlugin processes
33 #LoadPlugin serial
34 LoadPlugin wireless
35
36 #<Plugin df>
37 # FSType tmpfs
38 # IgnoreSelected true
39 #</Plugin>
40
41 #<Plugin ping>
42 # Host host.foo.bar
43 #</Plugin>
44
45 #<Plugin processes>
46 # Process name
47 #</Plugin>
48
49 #<Plugin traffic>
50 # Interface lo
51 # Interface imq0
52 # Interface wifi
53 # IgnoreSelected true
54 #</Plugin>