blob: 2c489940a9aae117bf4f647f708627d5cca9aaee [file] [log] [blame]
Filip Pytloun6d4b7a22015-10-06 16:28:31 +02001========
2Collectd
3========
4
Ales Komarek28f26b32015-12-03 22:23:28 +01005Collectd 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.
Filip Pytloun6d4b7a22015-10-06 16:28:31 +02006
7Sample pillars
8==============
9
Ales Komarek60fe7792015-11-19 09:45:42 +010010Send data over TCP to Graphite Carbon
Filip Pytloun6d4b7a22015-10-06 16:28:31 +020011
12.. code-block:: yaml
13
14 collectd:
15 client:
16 enabled: true
17 read_interval: 60
Ales Komarek60fe7792015-11-19 09:45:42 +010018 backend:
19 carbon:
20 host: carbon1.comain.com
21 port: 2003
Filip Pytloun6d4b7a22015-10-06 16:28:31 +020022
23Send data over AMQP
24
25.. code-block:: yaml
26
27 collectd:
28 client:
29 enabled: true
30 read_interval: 60
Ales Komarek60fe7792015-11-19 09:45:42 +010031 backend:
32 amqp:
33 host: broker1.comain.com
34 port: 5672
35 user: monitor
36 password: amqp-pwd
37 virtual_host: '/monitor'
Filip Pytloun6d4b7a22015-10-06 16:28:31 +020038
Ales Komarek60fe7792015-11-19 09:45:42 +010039Monitor network devices, defined in 'external' dictionary
Filip Pytloun6d4b7a22015-10-06 16:28:31 +020040
41.. code-block:: yaml
42
Ales Komarek60fe7792015-11-19 09:45:42 +010043 external:
44 network_device:
45 MX80-01:
46 community: test
47 model: Juniper_MX80
48 management:
49 address: 10.0.0.254
50 port: fxp01
51 engine: snmp/ssh
52 interface:
53 xe-0/0/0:
54 description: MEMBER-OF-LACP-TO-QFX
55 type: 802.3ad
56 subinterface:
57 xe-0/0/0.0:
58 description: MEMBER-OF-LACP-TO-QFX
Filip Pytloun6d4b7a22015-10-06 16:28:31 +020059 collectd:
60 client:
61 enabled: true
Ales Komarek60fe7792015-11-19 09:45:42 +010062 ...
Filip Pytloun6d4b7a22015-10-06 16:28:31 +020063
64Read more
65=========
66
67* http://collectd.org/documentation.shtml
68* http://www.canopsis.org/2013/02/collectd-graphite/
69* http://collectd.org/documentation/manpages/collectd.conf.5.shtml#plugin_libvirt
70* http://libvirt.org/uri.html#URI_qemu