X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fcollectd-unixsock.pod;h=9fefccda155f36388e8f14766e46addd79cf01db;hb=60287b5590970eb5a92183d73324c2aec096a282;hp=40626d3739db266d3f10043485cbf45fd1e7b27f;hpb=9002c1d31775655e4ad99f11ff9aeccb89944254;p=collectd.git diff --git a/src/collectd-unixsock.pod b/src/collectd-unixsock.pod index 40626d37..9fefccda 100644 --- a/src/collectd-unixsock.pod +++ b/src/collectd-unixsock.pod @@ -61,7 +61,7 @@ Example: <- | 1 Value found <- | value=1.260000e+00 -=item B +=item B [I] 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 @@ -80,6 +80,28 @@ Example: <- | 1182204284 myhost/cpu-0/cpu-user ... +Valid options are B, B, B, B and +B. Each option takes a regular expression as its argument. If at +least one regular expression is supplied, only values where each appropriate +part of the identifier satisfies the given regular expression are returned. + +Example: + -> | LISTVAL plugin_instance="^$" + <- | 5 Matching values + <- | 1300311250.802 myhost/load/load + <- | 1300311250.802 myhost/memory/memory-buffered + <- | 1300311250.802 myhost/memory/memory-cached + <- | 1300311250.804 myhost/memory/memory-free + <- | 1300311250.802 myhost/memory/memory-used + +Regular expressions follow the I syntax (ERE) +described in L and will match case-sensitive. It is recommended to +enclose the regular expression in double quotes. Please note that you will +need to escape the backslash and double quote characters in this case. To +request all values from hosts with the German top level domain ".de", for +example, use: + LISTVAL host="\\.de$" + =item B I [I] I Submits one or more values (identified by I, see below) to the