From: Florian Forster Date: Thu, 31 May 2007 21:34:29 +0000 (+0200) Subject: collectd-exec(5): Documented the recent changes. X-Git-Tag: collectd-4.0.0~3^2 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=463dec31e5dead2fb9a87568ca551ebb009010dc;p=collectd.git collectd-exec(5): Documented the recent changes. --- diff --git a/src/collectd-exec.pod b/src/collectd-exec.pod index cb6069cc..0baf2ebe 100644 --- a/src/collectd-exec.pod +++ b/src/collectd-exec.pod @@ -15,7 +15,7 @@ collectd-exec - Documentation of collectd's C =head1 DESCRIPTION The C forks of an executable and reads back values that it writes -to C. The executable is forked in a fassion similar to L: It is +to C. The executable is forked in a fashion similar to L: It is forked once and not again until it exits. If it exited, it will be forked again after at most I seconds. It is perfectly legal for the executable to run for a long time and continuously write values to C. @@ -36,16 +36,27 @@ Each line beginning with a C<#> (hash mark) is ignored. =item -Any other line must be of the form C,I,I>, where -I is either B or B, I may not contain -C<,> (comma), C (slash) and C<\0> (null byte) and I is either an -integer (if I is B) or a floating-point number (if I is -B). +Other lines must consist of an I and a I, separated by +a space. A description of these two parts follows: -=back +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. + +Since examples usually let one understand a lot better, here are some: -The values are always considered to be "fresh", i.Ee. the time is set to -"now". + leeloo/cpu-0/cpu-idle N:2299366 + alice/interface/if_octets-eth0 1180647081:421465:479194 + +=back When collectd exits it sends a B to all still running child-processes upon which they have to quit. @@ -72,6 +83,7 @@ must have an UID that is non-zero. L, L, L, +L, L, L =head1 AUTHOR