X-Git-Url: https://git.octo.it/?p=rrdtool.git;a=blobdiff_plain;f=doc%2Frrdupdate.pod;h=c285ee372545e02595607c12a3445d01ebe64916;hp=cc0b452f76ce0e9faeb3d6cbd54058f5fa86f40f;hb=22129bb15a8ad204cf8a5e88e8834ec0b51908c0;hpb=342b22c3e74a10d7049285c2cea7383676bcfc95 diff --git a/doc/rrdupdate.pod b/doc/rrdupdate.pod index cc0b452..c285ee3 100644 --- a/doc/rrdupdate.pod +++ b/doc/rrdupdate.pod @@ -6,6 +6,7 @@ rrdupdate - Store a new set of values into the RRD B {B | B} I S<[B<--template>|B<-t> I[B<:>I]...]> +S<[B<--daemon> I
]> S|IB<:>I[B<:>I...]> SB<@>I[B<:>I...]> S<[IB<:>I[B<:>I...] ...]> @@ -29,6 +30,9 @@ RRA (consolidation function and PDPs per CDP), and data source (name). Note that depending on the arguments of the current and previous call to update, the list may have no entries or a large number of entries. +Since B requires direct disk access, the B<--daemon> option cannot be +used with this command. + =item I The name of the B you want to update. @@ -56,6 +60,15 @@ 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<--daemon> I
+ +If given, B will try to connect to the caching daemon L +at I
and will fail if the connection cannot be established. If the +connection is successfully established the values will be sent to the daemon +instead of accessing the files directly. + +For a list of accepted formats, see the B<-l> option in the L manual. + =item B|IB<:>I[B<:>I...] The data used for updating the RRD was acquired at a certain @@ -82,20 +95,65 @@ separator. =back -=head1 EXAMPLE +=head1 ENVIRONMENT VARIABLES + +The following environment variables may be used to change the behavior of +Cupdate>: + +=over + +=item B + +If this environment variable is set it will have the same effect as specifying +the C<--daemon> option on the command line. If both are present, the command +line argument takes precedence. + +=back + +=head1 EXAMPLES + +=over + +=item * C Update the database file demo1.rrd with 3 known and one I<*UNKNOWN*> value. Use the current time as the update time. +=item * + C 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 +=item * + +C + +Update the file C with a single data source, using the +current time. If the caching daemon cannot be reached, do B fall back to +direct file access. + +=item * + +C + +Use the UNIX domain socket C to contact the caching daemon. If +the caching daemon is not available, update the file C directly. +B Since a relative path is specified, the following disturbing effect +may occur: If the daemon is available, the file relative to the working +directory B is used. If the daemon is not available, the file +relative to the current working directory of the invoking process is used. +B Don't do relative paths, kids! + +=back + +=head1 AUTHORS -Tobias Oetiker +Tobias Oetiker , +Florian Forster atEverplant.org>