1COLLECTD(1)                        collectd                        COLLECTD(1)
2
3
4

NAME

6       collectd - System statistics collection daemon
7

SYNOPSIS

9       collectd [options]
10

DESCRIPTION

12       collectd is a daemon that receives system statistics and makes them
13       available in a number of ways. The main daemon itself doesn't have any
14       real functionality apart from loading, querying and submitting to
15       plugins. For a description of available plugins please see "PLUGINS"
16       below.
17

OPTIONS

19       Most of collectd's configuration is done using using a configfile. See
20       collectd.conf(5) for an in-depth description of all options.
21
22       -C <config-file>
23           Specify an alternative config file. This is the place to go when
24           you wish to change collectd's behavior. The path may be relative to
25           the current working directory.
26
27       -t  Test the configuration only. The program immediately exits after
28           parsing the config file. A return code not equal to zero indicates
29           an error.
30
31       -T  Test the plugin read callbacks only. The program immediately exits
32           after invoking the read callbacks once. A return code not equal to
33           zero indicates an error.
34
35       -P <pid-file>
36           Specify an alternative pid file. This overwrites any settings in
37           the config file. This is thought for init-scripts that require the
38           PID-file in a certain directory to work correctly. For everyday-
39           usage use the PIDFile config-option.
40
41       -f  Don't fork to the background. collectd will also not close standard
42           file descriptors, detach from the session nor write a pid file.
43           This is mainly thought for 'supervising' init replacements such as
44           runit.
45
46       -h  Output usage information and exit.
47

PLUGINS

49       As noted above, the real power of collectd lies within it's plugins. A
50       (hopefully complete) list of plugins and short descriptions can be
51       found in the README file that is distributed with the sourcecode. If
52       you're using a package it's a good bet to search somewhere near
53       /usr/share/doc/collectd.
54
55       There are two big groups of plugins, input and output plugins:
56
57       ·   Input plugins are queried periodically. They somehow acquire the
58           current value of whatever they where designed to work with and
59           submit these values back to the daemon, i. e. they "dispatch" the
60           values. As an example, the "cpu plugin" reads the current cpu-
61           counters of time spent in the various modes (user, system, nice,
62           ...) and dispatches these counters to the daemon.
63
64       ·   Output plugins get the dispatched values from the daemon and does
65           something with them. Common applications are writing to RRD-files,
66           CSV-files or sending the data over a network link to a remote box.
67
68       Of course not all plugins fit neatly into one of the two above
69       categories. The "network plugin", for example, is able to send (i. e.
70       "write") and receive (i. e. "dispatch") values. Also, it opens a socket
71       upon initialization and dispatches the values when it receives them and
72       isn't triggered at the same time the input plugins are being read. You
73       can think of the network receive part as working asynchronous if it
74       helps.
75
76       In addition to the above, there are "logging plugins". Right now those
77       are the "logfile plugin" and the "syslog plugin". With these plugins
78       collectd can provide information about issues and significant
79       situations to the user.  Several loglevels let you suppress
80       uninteresting messages.
81
82       Starting with version 4.3.0 collectd has support for monitoring. This
83       is done by checking thresholds defined by the user. If a value is out
84       of range, a notification will be dispatched to "notification plugins".
85       See collectd.conf(5) for more detailed information about threshold
86       checking.
87
88       Please note that some plugins, that provide other means of
89       communicating with the daemon, have manpages of their own to describe
90       their functionality in more detail. In particular those are
91       collectd-email(5), collectd-exec(5), collectd-perl(5),
92       collectd-snmp(5), and collectd-unixsock(5)
93

SIGNALS

95       collectd accepts the following signals:
96
97       SIGINT, SIGTERM
98           These signals cause collectd to shut down all plugins and
99           terminate.
100
101       SIGUSR1
102           This signal causes collectd to signal all plugins to flush data
103           from internal caches. E. g. the "rrdtool plugin" will write all
104           pending data to the RRD files. This is the same as using the "FLUSH
105           -1" command of the "unixsock plugin".
106

SEE ALSO

108       collectd.conf(5), collectd-email(5), collectd-exec(5),
109       collectd-perl(5), collectd-snmp(5), collectd-unixsock(5), types.db(5),
110       <http://collectd.org/>
111

AUTHOR

113       Florian Forster <octo@verplant.org>
114
115
116
1174.9.5                             2011-03-26                       COLLECTD(1)
Impressum