1TYPES.DB(5) collectd TYPES.DB(5)
2
3
4
6 types.db - Data-set specifications for the system statistics collection
7 daemon collectd
8
10 bitrate value:GAUGE:0:4294967295
11 counter value:COUNTER:U:U
12 if_octets rx:COUNTER:0:4294967295, tx:COUNTER:0:4294967295
13
15 The types.db file contains one line for each data-set specification.
16 Each line consists of two fields delimited by spaces and/or horizontal
17 tabs. The first field defines the name of the data-set, while the
18 second field defines a list of data-source specifications, delimited by
19 spaces and, optionally, a comma (",") right after each list-entry.
20
21 The format of the data-source specification has been inspired by
22 RRDtool's data-source specification. Each data-source is defined by a
23 quadruple made up of the data-source name, type, minimal and maximal
24 values, delimited by colons (":"): ds-name:ds-type:min:max. ds-type may
25 be either ABSOLUTE, COUNTER, DERIVE, or GAUGE. min and max define the
26 range of valid values for data stored for this data-source. If U is
27 specified for either the min or max value, it will be set to unknown,
28 meaning that no range checks will happen. See rrdcreate(1) for more
29 details.
30
32 The location of the types.db file is defined by the TypesDB
33 configuration option (see collectd.conf(5)). It defaults to collectd's
34 shared data directory, i. e. prefix/share/collectd/.
35
37 If you want to specify custom types, you should do so by specifying a
38 custom file in addition to the default one (see FILES) above. You can
39 do that by having multiple TypesDB statements in your configuration
40 file or by specifying more than one file in one line.
41
42 For example:
43
44 TypesDB "/opt/collectd/share/collectd/types.db"
45 TypesDB "/opt/collectd/etc/types.db.custom"
46
47 Note: Make sure to make this file available on all systems if you're
48 sending values over the network.
49
51 collectd(1), collectd.conf(5), rrdcreate(1)
52
54 collectd has been written by Florian Forster <octo at collectd.org>.
55
56 This manpage has been written by Sebastian Harl <sh at tokkee.org>.
57
58
59
605.9.2 2019-09-16 TYPES.DB(5)