X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Ftypes.db.pod;h=111742ba0dc5c5ae9c3a866dc9920fd4cb566bd1;hb=b61a03b05c1f4040a6599334b65141aa3bd134f5;hp=11c7f794c248568306d97ed5b5931c834089aff4;hpb=03576db7496264c5e7054e6cc765db0beea4a0da;p=collectd.git diff --git a/src/types.db.pod b/src/types.db.pod index 11c7f794..111742ba 100644 --- a/src/types.db.pod +++ b/src/types.db.pod @@ -1,3 +1,5 @@ +=encoding UTF-8 + =head1 NAME types.db - Data-set specifications for the system statistics collection daemon @@ -21,7 +23,8 @@ The format of the data-source specification has been inspired by RRDtool's data-source specification. Each data-source is defined by a quadruple made up of the data-source name, type, minimal and maximal values, delimited by colons (":"): I:I:I:I. I may be either -B or B. I and I define the range of valid values for +B, B, B, or B. I and I define the +range of valid values for data stored for this data-source. If B is specified for either the min or max value, it will be set to unknown, meaning that no range checks will happen. See L for more details. @@ -30,9 +33,22 @@ happen. See L for more details. The location of the types.db file is defined by the B configuration option (see L). It defaults to collectd's shared data -directory, i.Ee. F/share/collectd/>. If you want to specify -custom data-sets, you should do so by using a custom file specified as an -additional argument to the B option. +directory, i.Ee. F/share/collectd/>. + +=head1 CUSTOM TYPES + +If you want to specify custom types, you should do so by specifying a custom +file in addition to the default one (see L) above. You can do that by +having multiple B statements in your configuration file or by +specifying more than one file in one line. + +For example: + + TypesDB "/opt/collectd/share/collectd/types.db" + TypesDB "/opt/collectd/etc/types.db.custom" + +B: Make sure to make this file available on all systems if you're +sending values over the network. =head1 SEE ALSO