X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fcollectd-unixsock.pod;h=d17852a79affe9d7f943c38069b2669fe1a39c50;hb=89783745dc59079eab34e0c52de6e5e972f50eb2;hp=1be0654d8b971407ebe2de77996bc7b27f220cb2;hpb=12c1e32ec71ffd5d90af5df4b430fba04d91aed5;p=collectd.git diff --git a/src/collectd-unixsock.pod b/src/collectd-unixsock.pod index 1be0654d..d17852a7 100644 --- a/src/collectd-unixsock.pod +++ b/src/collectd-unixsock.pod @@ -52,13 +52,13 @@ Example: =item B -Returnes a list of the values available in the value cache together with the +Returns a list of the values available in the value cache together with the time of the last update, so that querying applications can issue a B command for the values that have changed. The first line's status number is the number of identifiers returned or less -than zero if an error occured. Each of the following lines containes the -update time as an epoch value and the identifier, seperated by a space. +than zero if an error occurred. Each of the following lines contains the +update time as an epoch value and the identifier, separated by a space. Example: -> | LISTVAL @@ -77,13 +77,17 @@ daemon which will dispatch it to all it's write-plugins. 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. +omitted, too. I and each I-part may be chosen freely as long +as the tuple (plugin, plugin instance, type instance) uniquely identifies the +plugin within collectd. I identifies the type and number of values +(i.Ee. data-set) passed to collectd. A large list of predefined +data-sets is available in the B file. 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 +I is a colon-separated 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 @@ -112,6 +116,64 @@ Example: -> | PUTVAL testhost/interface/if_octets-test0 interval=10 1179574444:123:456 <- | 0 Success +=item B [I] BI + +Submits a notification to the daemon which will then dispatch it to all plugins +which have registered for receiving notifications. + +The B if followed by a list of options which further describe the +notification. The B option is special in that it will consume the rest +of the line as its value. The B, B, and B