X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=src%2Fcollectd-unixsock.pod;h=1f3f56a28ffbfd98e8fcba88c43045815483619c;hb=56688f815d42e6aa3e52b5c419ef643a8ebae712;hp=b787646c4bade9ffd13300bed9bcf3f9387905e7;hpb=6e779261c08a8996ed476d23638fc62ad867fa5f;p=collectd.git diff --git a/src/collectd-unixsock.pod b/src/collectd-unixsock.pod index b787646c..1f3f56a2 100644 --- a/src/collectd-unixsock.pod +++ b/src/collectd-unixsock.pod @@ -36,12 +36,12 @@ The following commands are implemented: =item B I If the value identified by I (see below) is found the complete -value-list is returned. The response is a space seperated list of +value-list is returned. The response is a space separated list of name-value-pairs: I IB<=>I[ IB<=>I[ ...]] -If I is less then zero, an error occured. Otherwise it contains the +If I is less then zero, an error occurred. Otherwise it contains the number of values that follow. Each value is of the form IB<=>I. Counter-values are converted to a rate, e.Eg. bytes per second. Undefined values are returned as B. @@ -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 @@ -83,7 +83,7 @@ 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,11 +112,66 @@ 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