X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=doc%2Frrdtool.html;h=a3cc6acea3435e0c7511505cdea24b0d7533a77d;hb=8892808f3a79ec485e273390213ef3f16792eb54;hp=2673b6b2d480bf03132568d893fd0fe393424bf2;hpb=ba531669d795b10244c358135249016c5898519b;p=pkg-rrdtool.git diff --git a/doc/rrdtool.html b/doc/rrdtool.html index 2673b6b..a3cc6ac 100644 --- a/doc/rrdtool.html +++ b/doc/rrdtool.html @@ -76,95 +76,82 @@ saves a considerable amount of startup time when you plan to make 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

- -
rrdcgi +
rrdcgi

This is a standalone tool for producing RRD graphs on the fly. Check the rrdcgi manpage.

-

HOW DOES RRDTOOL WORK?

-
Data Acquisition +
Data Acquisition

When monitoring the state of a system, it is convenient to have the @@ -177,8 +164,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 @@ -195,16 +181,13 @@ 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 Robin Archives (RRA). This is a very efficient manner to store data for a certain amount of time, while using a known and constant amount of storage space.

-
-

It works like this: If you want to store 1'000 values in 5 minute interval, RRDtool will allocate space for 1'000 data values and a header area. In the header it will store a pointer telling which slots @@ -215,22 +198,17 @@ manner. This automatically limits the history to the last 1'000 values single RRD, you can setup another one, for storing 750 data values at a 2 hour interval, for example, and thus keep a log for the last two months at a lower resolution.

-
-

The use of RRAs guarantees that the RRD does not grow over time and that old data is automatically eliminated. By using the consolidation feature, you can still keep data for a very long time, while gradually reducing the resolution of the data along the time axis.

-
-

Using different consolidation functions (CF) allows you to store 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 @@ -246,8 +224,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 @@ -256,16 +233,12 @@ 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

-
-

RRDtool provides the building blocks for near real-time aberrant behavior detection. These components include:

-