blob: eaf927374aeddbf4826f043ace15361c1898bca2 [file] [log] [blame]
Filip Pytloun6d4b7a22015-10-06 16:28:31 +02001========
2Collectd
3========
4
5Collectd is a daemon which collects system performance statistics periodically and provides mechanisms to store the values in a variety of ways, for example in RRD files.
6
7Sample pillars
8==============
9
10Send data over TCP to Graphite Carbon (old way plugins)
11
12.. code-block:: yaml
13
14 collectd:
15 client:
16 enabled: true
17 read_interval: 60
18 plugins:
19 - name: cpu
20 - name: df
21 - name: disk
22 - name: entropy
23 - name: interface
24 - name: load
25 - name: memory
26 - name: processes
27 - name: swap
28 - name: uptime
29 - name: users
30 - name: write_graphite
31 host: carbon1.comain.com
32 port: 2003
33
34Gather libvirt data from local KVM
35
36.. code-block:: yaml
37
38 collectd:
39 client:
40 enabled: true
41 read_interval: 60
42 plugins:
43 - name: cpu
44 - name: libvirt
45 connection: 'qemu:///system'
46
47Send data over AMQP
48
49.. code-block:: yaml
50
51 collectd:
52 client:
53 enabled: true
54 read_interval: 60
55 plugins:
56 - name: cpu
57 - name: users
58 - name: amqp
59 host: broker1.comain.com
60 port: 5672
61 user: monitor
62 password: amqp-pwd
63 virtual_host: '/monitor'
64
65Send data over carbon
66
67.. code-block:: yaml
68
69 collectd:
70 client:
71 enabled: true
72 backend:
73 carbon:
74 engine: carbon
75 host: metrics.domain.com
76 port: 2003
77
78Read more
79=========
80
81* http://collectd.org/documentation.shtml
82* http://www.canopsis.org/2013/02/collectd-graphite/
83* http://collectd.org/documentation/manpages/collectd.conf.5.shtml#plugin_libvirt
84* http://libvirt.org/uri.html#URI_qemu