X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fcollectdctl.pod;h=d921330464aba9487d7d9caa4fee7480497ad691;hb=f2daf5deea1d50dbb834cffa0c8106b5456c9d82;hp=8bd8970529c502a15f13a1aae01ed567a0ddc846;hpb=d0d5d5fa42cd77042d4c3077bb67cfeb8c9cd701;p=collectd.git diff --git a/src/collectdctl.pod b/src/collectdctl.pod index 8bd89705..d9213304 100644 --- a/src/collectdctl.pod +++ b/src/collectdctl.pod @@ -1,3 +1,5 @@ +=encoding UTF-8 + =head1 NAME collectdctl - Control interface for collectd @@ -83,6 +85,18 @@ C plugin. Each value is printed on its own line. I.Ee., this command returns a list of valid identifiers that may be used with the other commands. +=item B IidentifierE> [BIsecondsE>] +Ivalue-list(s)E> + +Submit one or more values (identified by IidentifierE>, see below) +to the daemon which will then dispatch them to the write plugins. B +specifies the interval (in seconds) used to collect the values following that +option. It defaults to the default of the running collectd instance receiving +the data. Multiple Ivalue-list(s)E> (see below) may be specified. +Each of them will be submitted to the daemon. The values have to match the +data-set definition specified by the type as given in the identifier (see +L for details). + =back =head1 IDENTIFIERS @@ -100,15 +114,45 @@ Hostname defaults to the local (non-fully qualified) hostname if omitted. No error is returned if the specified identifier does not exist (this is a limitation in the C library). +=head1 VALUE-LIST + +A value list describes one data-set as handled by collectd. It is a colon +(C<:>) separated list of the time and the values. Each value is either given +as an integer if the data-type is a counter, or as a double if the data-type +is a gauge value. A literal C is interpreted as an undefined gauge value. +The number of values and the data-types have to match the type specified in +the identifier (see L for details). The time is specified as +epoch (i.Ee., standard UNIX time) or as a literal C which will be +interpreted as now. + +=head1 EXAMPLES + +=over 4 + +=item C + +Flushes all CPU wait RRD values of the first CPU of the local host. +I.Ee., writes all pending RRD updates of that data-source to disk. + +=item C + +Query the latest number of logged in users on all hosts known to the local +collectd instance. + +=back + =head1 SEE ALSO -L -L -L +L, +L, +L, +L =head1 AUTHOR -collectd has been written by Florian Forster Eocto at verplant.orgE +collectd has been written by Florian Forster Eocto at collectd.orgE and many contributors (see `AUTHORS'). collectdctl has been written by