From: Florian Forster Date: Sat, 20 Dec 2008 10:20:31 +0000 (+0100) Subject: types.db(5): Explain in more detail how custom types should be added. X-Git-Tag: collectd-4.4.5~3 X-Git-Url: https://git.octo.it/?a=commitdiff_plain;h=49ebc1acf0525d8e328b5e01622f34e65a2cf437;p=collectd.git types.db(5): Explain in more detail how custom types should be added. Apparently there was quite some confusion over this. --- diff --git a/src/types.db.pod b/src/types.db.pod index f0a49f6b..ef1550ca 100644 --- a/src/types.db.pod +++ b/src/types.db.pod @@ -29,9 +29,19 @@ happen. See L for more details. =head1 FILES The location of the types.db file is defined by the B configuration -option (see L). 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. +option (see L). + +=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 of 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" =head1 SEE ALSO