X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fcollectd-perl.pod;h=85e7a8a78d27153dcf647b17e33bd9acfab96236;hb=67e4e517f58dac2a7b0e63b80256231480bfa59d;hp=acb8abda9a3825b23e4f7b1395577c2c3ff07982;hpb=a940e2555464956ae7b61d8d0d742f2acc001c5f;p=collectd.git diff --git a/src/collectd-perl.pod b/src/collectd-perl.pod index acb8abda..85e7a8a7 100644 --- a/src/collectd-perl.pod +++ b/src/collectd-perl.pod @@ -163,7 +163,7 @@ and collectd: =item Config-Item -A config-item is one structure which keeps the informations provided in the +A config-item is one structure which keeps the information provided in the configuration file. The array of children keeps one entry for each configuration option. Each such entry is another config-item structure, which may nest further if nested blocks are used. @@ -182,7 +182,7 @@ structure. The general layout looks like this: [{ name => 'data_source_name', - type => DS_TYPE_COUNTER || DS_TYPE_GAUGE, + type => DS_TYPE_COUNTER || DS_TYPE_GAUGE || DS_TYPE_DERIVE || DS_TYPE_ABSOLUTE, min => value || undef, max => value || undef }, ...] @@ -297,6 +297,10 @@ there is a large number of predefined data-sets available in the B file which are automatically registered with collectd - see L for a description of the format of this file. +B: Using B to register a data-set is deprecated. Add +the new type to a custom L file instead. This functionality might +be removed in a future version of collectd. + If the I argument is any of the other types (B, B, ...) then I is expected to be a function name. If the name is not prefixed with the plugin's package name collectd will add it automatically. @@ -565,6 +569,10 @@ available (B<:all> will export all of them): =item B +=item B + +=item B + =back =item B<:log>