X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fcollectd-unixsock.pod;h=3ef24386548abf19a4588d0d9710a7eb4b744f3c;hb=9861c52f3ff659035062f0927ca8442341eff4ce;hp=1be0654d8b971407ebe2de77996bc7b27f220cb2;hpb=0f0dd3b00845209b865862c073813caf44d01ae8;p=collectd.git diff --git a/src/collectd-unixsock.pod b/src/collectd-unixsock.pod index 1be0654d..3ef24386 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,14 +77,18 @@ 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 +The I is an optional list of I, where each option is 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 +I is a colon-separated list of the time and the values, each either +an integer if the data-source is a counter, or a double if the data-source is 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). @@ -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