X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=doc%2Frrdupdate.html;h=22185370294e000ef4242631f9499527ab135b87;hb=b842962742cfc367774753e855adbfb6d796b631;hp=556515b10f93524a13852da5c9249989b64a5f69;hpb=3741f89bbcc7e8c9dbab7d76bbd2fe28249cfded;p=pkg-rrdtool.git diff --git a/doc/rrdupdate.html b/doc/rrdupdate.html index 556515b..2218537 100644 --- a/doc/rrdupdate.html +++ b/doc/rrdupdate.html @@ -9,8 +9,10 @@ -

+ +
+

+ + +

@@ -34,6 +41,7 @@

SYNOPSIS

rrdtool {update | updatev} filename [--template|-t ds-name[:ds-name]...] +[--daemon address] [--] N|timestamp:value[:value...] at-timestamp@value[:value...] [timestamp:value[:value...] ...]

@@ -45,7 +53,7 @@ is time aligned (interpolated) according to the properties of the RRD to which the data is written.

-
updatev
+
updatev

This alternate version of update takes the same arguments and @@ -56,13 +64,15 @@ invocation of update. The values are indexed by timestamp (time_t), 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 updatev requires direct disk access, the --daemon option cannot be +used with this command.

-
filename
+
filename

The name of the RRD you want to update.

-
--template|-t ds-name[:ds-name]...
+
--template|-t ds-name[:ds-name]...

By default, the update function expects its data input in the order @@ -83,7 +93,16 @@ function. If this is done accidentally (and this can only be done using the template switch), RRDtool will ignore the value specified for the COMPUTE DST.

-
N|timestamp:value[:value...]
+
--daemon address
+ +
+

If given, RRDTool will try to connect to the caching daemon the rrdcached manpage +at address 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 -l option in the the rrdcached manpage manual.

+
+
N|timestamp:value[:value...]

The data used for updating the RRD was acquired at a certain @@ -96,6 +115,12 @@ specification with the '@' character instead of a ':'. Getting the timing right to the second is especially important when you are working with data-sources of type COUNTER, DERIVE or ABSOLUTE.

+

When using negative time values, options and data have to be separated +by two dashes (--), else the time value would be parsed as an option. +See below for an example.

+

When using negative time values, options and data have to be separated +by two dashes (--), else the time value would be parsed as an option. +See below for an example.

The remaining elements of the argument are DS updates. The order of this list is the same as the order the data sources were defined in the RRA. If there is no data for a certain data-source, the letter @@ -110,19 +135,63 @@ separator.


-

EXAMPLE

+

ENVIRONMENT VARIABLES

+

The following environment variables may be used to change the behavior of +rrdtoolupdate:

+
+
RRDCACHED_ADDRESS
+ +
+

If this environment variable is set it will have the same effect as specifying +the --daemon option on the command line. If both are present, the command +line argument takes precedence.

+
+
+

+

+
+

EXAMPLES

+


-

AUTHOR

-

Tobias Oetiker <tobi@oetiker.ch>

+

AUTHORS

+

Tobias Oetiker <tobi@oetiker.ch>, +Florian Forster <octo at verplant.org>