1COLLECTD.CONF(5)                   collectd                   COLLECTD.CONF(5)
2
3
4

NAME

6       collectd.conf - Configuration for the system statistics collection
7       daemon collectd
8

SYNOPSIS

10         BaseDir "/var/lib/collectd"
11         PIDFile "/run/collectd.pid"
12         Interval 10.0
13
14         LoadPlugin cpu
15         LoadPlugin load
16
17         <LoadPlugin df>
18           Interval 3600
19         </LoadPlugin>
20         <Plugin df>
21           ValuesPercentage true
22         </Plugin>
23
24         LoadPlugin ping
25         <Plugin ping>
26           Host "example.org"
27           Host "provider.net"
28         </Plugin>
29

DESCRIPTION

31       This config file controls how the system statistics collection daemon
32       collectd behaves. The most significant option is LoadPlugin, which
33       controls which plugins to load. These plugins ultimately define
34       collectd's behavior. If the AutoLoadPlugin option has been enabled, the
35       explicit LoadPlugin lines may be omitted for all plugins with a
36       configuration block, i.e. a "<Plugin ...>" block.
37
38       The syntax of this config file is similar to the config file of the
39       famous Apache webserver. Each line contains either an option (a key and
40       a list of one or more values) or a section-start or -end. Empty lines
41       and everything after a non-quoted hash-symbol ("#") are ignored. Keys
42       are unquoted strings, consisting only of alphanumeric characters and
43       the underscore ("_") character. Keys are handled case insensitive by
44       collectd itself and all plugins included with it. Values can either be
45       an unquoted string, a quoted string (enclosed in double-quotes) a
46       number or a boolean expression. Unquoted strings consist of only
47       alphanumeric characters and underscores ("_") and do not need to be
48       quoted. Quoted strings are enclosed in double quotes ("""). You can use
49       the backslash character ("\") to include double quotes as part of the
50       string. Numbers can be specified in decimal and floating point format
51       (using a dot "." as decimal separator), hexadecimal when using the "0x"
52       prefix and octal with a leading zero (0).  Boolean values are either
53       true or false.
54
55       Lines may be wrapped by using "\" as the last character before the
56       newline.  This allows long lines to be split into multiple lines.
57       Quoted strings may be wrapped as well. However, those are treated
58       special in that whitespace at the beginning of the following lines will
59       be ignored, which allows for nicely indenting the wrapped lines.
60
61       The configuration is read and processed in order, i.e. from top to
62       bottom. So the plugins are loaded in the order listed in this config
63       file. It is a good idea to load any logging plugins first in order to
64       catch messages from plugins during configuration. Also,