X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fcollectd-unixsock.pod;h=2339625635a9232152f3824460626428dca9b210;hb=3bb58d8d87a0db2b3177cbc52c2078c5543e7944;hp=5769329fa1e4df6078c5e17a7bd6ed3e3599b4dd;hpb=c89c9b7b5e498e5a77c6eb1b1a88593fcced85f5;p=collectd.git diff --git a/src/collectd-unixsock.pod b/src/collectd-unixsock.pod index 5769329f..23396256 100644 --- a/src/collectd-unixsock.pod +++ b/src/collectd-unixsock.pod @@ -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-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 +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