X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=doc%2Frrdupdate.pod;h=5d6044ac5ba1dd7005d32092228bdcb072cdfe65;hb=d6f7c5f9ec4a2711cd3dbd6fe941c92c2055d41b;hp=cc0b452f76ce0e9faeb3d6cbd54058f5fa86f40f;hpb=ccbdd7cacd3d7cf5d28990f2248f0ecda18a85fd;p=rrdtool.git diff --git a/doc/rrdupdate.pod b/doc/rrdupdate.pod index cc0b452..5d6044a 100644 --- a/doc/rrdupdate.pod +++ b/doc/rrdupdate.pod @@ -6,6 +6,8 @@ rrdupdate - Store a new set of values into the RRD B {B | B} I S<[B<--template>|B<-t> I[B<:>I]...]> +S<[B<--cache> | B<--nocache>]> +S<[B<--daemon> I
]> S|IB<:>I[B<:>I...]> SB<@>I[B<:>I...]> S<[IB<:>I[B<:>I...] ...]> @@ -56,6 +58,36 @@ function. If this is done accidentally (and this can only be done using the template switch), B will ignore the value specified for the COMPUTE B. +=item B<--cache> | B<--nocache> + +Force the use of the caching daemon or force direct file access. If B<--cache> +is given, B will try to contact the caching daemon B and will +fail if it cannot connect to the daemon. If the connection is successfully +established the values will be sent to the daemon instead of accessing the +files directly. If B<--nocache> is given no connection attempt is made. If +neither option is specified B will try to contact the daemon and, if +no connection may be established, will fall back to direct file access. + +Examples: + + rrdtool update --cache /var/lib/rrd/foo.rrd N:123 + rrdtool update --nocache /var/lib/rrd/bar.rrd N:234 + +=item B<--daemon> I
+ +Specifies the address of the caching daemon. If I
begins with C +the everything after this prefix will be considered to be a UNIX domain socket. +Otherwise the address is interpreted as network address or node name as +understood by L. One practical consequence is that both, IPv4 +and IPv6, may be used if the system supports it. + +Examples: + + rrdtool update --daemon unix:/tmp/rrdd.sock /var/lib/rrd/foo.rrd N:123 + rrdtool update --daemon ::1 /var/lib/rrd/bar.rrd N:234 + rrdtool update --daemon 10.0.0.2 /var/lib/rrd/baz.rrd N:345 + rrdtool update --daemon rrdtool.example.com /var/lib/rrd/qux.rrd N:456 + =item B|IB<:>I[B<:>I...] The data used for updating the RRD was acquired at a certain @@ -95,7 +127,8 @@ Update the database file demo2.rrd which expects data from a single data-source, three times. First with an I<*UNKNOWN*> value then with two regular readings. The update interval seems to be around 300 seconds. -=head1 AUTHOR +=head1 AUTHORS -Tobias Oetiker +Tobias Oetiker , +Florian Forster atEverplant.org>