X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fcollectd-exec.pod;h=eaa4f8b43dec48ee8a3d2d3d9ce29f2270590d1d;hb=3b19fa6b46228ad7966e10a89856fb46da0f7739;hp=0baf2ebe1c2972c800e8de73dbbce8c6590ee9b8;hpb=463dec31e5dead2fb9a87568ca551ebb009010dc;p=collectd.git diff --git a/src/collectd-exec.pod b/src/collectd-exec.pod index 0baf2ebe..eaa4f8b4 100644 --- a/src/collectd-exec.pod +++ b/src/collectd-exec.pod @@ -36,25 +36,48 @@ Each line beginning with a C<#> (hash mark) is ignored. =item -Other lines must consist of an I and a I, separated by -a space. A description of these two parts follows: +Other lines must consist of an I, an optional I and a +I, separated by a spaces. A description of these two parts follows: An I is of the form CBIB<->IBIB<->I> with both I-parts being optional. If they're omitted the hyphen must be omitted, too. -A I is a colon-separated list of values, prepended by the time -stamp in epoch, i.Ee. the same format RRDTool uses, see L. -As with the argument passed to RRDTool you can use B as the current time and -B for undefined values. However, undefined values can only passed for -B values. When setting B for a B data source the behavior is -undefined. +The I is an optional list of I, where each option if a +key-value-pair. A list of currently understood options can be found below, all +other options will be ignored. + +I is a colon-seperated list of the time and the values, each either +an integer if the data-source is a counter, of a double if the data-source if +of type "gauge". You can submit an undefined gauge-value by using B. When +submitting B to a counter the behavior is undefined. The time is given as +epoch (i.Ee. standard UNIX time). + +You can mix options and values, but the order is important: Options only +effect following values, so specifying an option as last field is allowed, but +useless. Also, an option applies to B following values, so you don't need +to re-set an option over and over again. + +The currently defined B are: + +=over 4 + +=item BI + +Gives the interval in which the data identified by I is being +collected. + +=back + +Please note that this is the same format as used in the B, see +L. There's also a bit more information on identifiers in +case you're confused. Since examples usually let one understand a lot better, here are some: leeloo/cpu-0/cpu-idle N:2299366 - alice/interface/if_octets-eth0 1180647081:421465:479194 + alice/interface/if_octets-eth0 interval=10 1180647081:421465:479194 =back