X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=doc%2Frrdtool.html;h=fd28c52009242f0e02cc450d165adc9898434238;hb=645054bac6187b0e83fd4125fd59e4feda216b64;hp=6ce597d6957ae0d0aced1937ff7f41c67c849585;hpb=1559397b94b4af3de73cfa23c04be31d8bee53e7;p=pkg-rrdtool.git diff --git a/doc/rrdtool.html b/doc/rrdtool.html index 6ce597d..fd28c52 100644 --- a/doc/rrdtool.html +++ b/doc/rrdtool.html @@ -9,8 +9,10 @@ -

+ +
+

+ + +

@@ -77,71 +84,76 @@ further down. There is also a number of language bindings for RRDtool which allow you to use it directly from Perl, python, Tcl, PHP, etc.

-
create
+
create

Set up a new Round Robin Database (RRD). Check the rrdcreate manpage.

-
update
+
update

Store new data values into an RRD. Check the rrdupdate manpage.

-
updatev
+
updatev

Operationally equivalent to update except for output. Check the rrdupdate manpage.

-
graph
+
graph

Create a graph from data stored in one or several RRDs. Apart from generating graphs, data can also be extracted to stdout. Check the rrdgraph manpage.

-
dump
+
dump

Dump the contents of an RRD in plain ASCII. In connection with restore you can use this to move an RRD from one computer architecture to another. Check the rrddump manpage.

-
restore
+
restore

Restore an RRD in XML format to a binary RRD. Check the rrdrestore manpage

-
fetch
+
fetch

Get data for a certain time period from a RRD. The graph function uses fetch to retrieve its data from an RRD. Check the rrdfetch manpage.

-
tune
+
tune

Alter setup of an RRD. Check the rrdtune manpage.

-
last
+
last

Find the last update time of an RRD. Check the rrdlast manpage.

-
info
+
info

Get information about an RRD. Check the rrdinfo manpage.

-
rrdresize
+
rrdresize

Change the size of individual RRAs. This is dangerous! Check the rrdresize manpage.

-
xport
+
xport
-

Export data retrieved from one or several RRDs. Check the rrdxport manpage

+

Export data retrieved from one or several RRDs. Check the rrdxport manpage.

-
rrdcgi
+
flushcached
+ +
+

Flush the values for a specific RRD file from memory. Check the rrdflushcached manpage.

+
+
rrdcgi

This is a standalone tool for producing RRD graphs on the fly. Check @@ -152,7 +164,7 @@ uses fetch to retrieve its data from an RRD. Check t

HOW DOES RRDTOOL WORK?

-
Data Acquisition
+
Data Acquisition

When monitoring the state of a system, it is convenient to have the @@ -165,7 +177,7 @@ interpolated value to the log. The original value you have supplied is stored as well and is also taken into account when interpolating the next log entry.

-
Consolidation
+
Consolidation

You may log data at a 1 minute interval, but you might also be @@ -182,7 +194,7 @@ consolidated values (see rrdcreate). You can define any number of different consolidation setups within one RRD. They will all be maintained on the fly when new data is loaded into the RRD.

-
Round Robin Archives
+
Round Robin Archives

Data values of the same consolidation setup are stored into Round @@ -209,7 +221,7 @@ exactly the type of information that actually interests you: the maximum one minute traffic on the LAN, the minimum temperature of your wine cellar, the total minutes of down time, etc.

-
Unknown Data
+
Unknown Data

As mentioned earlier, the RRD stores data at a constant @@ -225,7 +237,7 @@ performed to make sure that the percentage of unknown values in the data point is above a configurable level. If not, an *UNKNOWN* value will be written to the RRA.

-
Graphing
+
Graphing

RRDtool allows you to generate reports in numerical and @@ -234,7 +246,7 @@ graphical form based on the data stored in one or several contents of the graph can be defined freely. Check the rrdgraph manpage for more information on this.

-
Aberrant Behavior Detection
+
Aberrant Behavior Detection

by Jake Brutlag

@@ -261,7 +273,7 @@ a time series. Its forecast is the sum of three components: a baseline coefficient (a periodic effect, such as a daily cycle). There is one seasonal coefficient for each time point in the period (cycle). After a value is observed, each of these components is updated via -exponential smoothing. This means that the algorithm ``learns'' from +exponential smoothing. This means that the algorithm "learns" from past values and uses them to predict the future. The rate of adaptation is governed by 3 parameters, alpha (intercept), beta (slope), and gamma (seasonal). The prediction can also be viewed as a @@ -333,8 +345,17 @@ such a port unless you are sure what you are doing.


+

RRDCACHED, THE CACHING DAEMON

+

For very big setups, updating thousands of RRD files often becomes a serious IO +problem. If you run into such problems, you might want to take a look at +the rrdcached manpage, a caching daemon for RRDTool which may help you lessen the +stress on your disks.

+

+

+

SEE ALSO

-

rrdcreate, rrdupdate, rrdgraph, rrddump, rrdfetch, rrdtune, rrdlast, rrdxport

+

rrdcreate, rrdupdate, rrdgraph, rrddump, rrdfetch, rrdtune, rrdlast, rrdxport, +rrdflushcached, rrdcached