X-Git-Url: https://git.octo.it/?p=rrdtool.git;a=blobdiff_plain;f=doc%2Frrdtool.pod;h=58a85615dffa0a3cd2a6fb6b68a782656157375d;hp=cd4757f6f827c7399486efac90a804f6211b87b9;hb=f207955a7e325708d056d3dd912863dc9930a71c;hpb=5c240077e0a6f12a27972a13ba3f694c2989ba35 diff --git a/doc/rrdtool.pod b/doc/rrdtool.pod index cd4757f..58a8561 100644 --- a/doc/rrdtool.pod +++ b/doc/rrdtool.pod @@ -16,28 +16,28 @@ It is pretty easy to gather status information from all sorts of things, ranging from the temperature in your office to the number of octets which have passed through the FDDI interface of your router. But it is not so trivial to store this data in a efficient and -systematic manner. This is where B kicks in. It lets you +systematic manner. This is where B kicks in. It lets you I the data you gather from all kinds of data-sources -(B). The data analysis part of rrdtool is based on the ability to +(B). The data analysis part of RRDtool is based on the ability to quickly generate graphical representations of the data values collected over a definable time period. In this man page you will find general information on the design and -functionality of the Round Robin Database Tool (rrdtool). For a more +functionality of the Round Robin Database Tool (RRDtool). For a more detailed description of how to use the individual functions of the -B check the corresponding man page. +B check the corresponding man page. -For an introduction to the usage of rrdtool make sure you check L. +For an introduction to the usage of RRDtool make sure you check L. =head2 FUNCTIONS While the man pages talk of command line switches you have to set in -order to make B work it is important to note that the -B can be 'remote controlled' through a set of pipes. This +order to make B work it is important to note that the +B can be remotely controlled through a set of pipes. This saves a considerable amount of startup time when you plan to make -B do a lot of things quickly. Check the section on L<"Remote +B do a lot of things quickly. Check the section on L<"Remote Control"> further down. There is also a number of language bindings -for rrdtool which allow you to use it directly from perl, python, tcl, +for RRDtool which allow you to use it directly from perl, python, tcl, php, ... =over 8 @@ -50,6 +50,10 @@ Set up a new Round Robin Database (RRD). Check L. Store new data values into an RRD. Check L. +=item B + +Operation equivalent to B except for output. Check L. + =item B Create a graph from data stored in one or several RRD. Apart from @@ -58,17 +62,17 @@ generating graphs, data can also be extracted to stdout. Check L. =item B Dump the contents of an RRD in plain ASCII. In connection with -restore you can use it to transport an rrd from one architecture to another. +restore you can use it to transport an RRD from one architecture to another. Check L. =item B -Restore an RRD in XML format to a binary rrd ... Check L +Restore an RRD in XML format to a binary RRD ... Check L =item B Get data for a certain time period from a RRD. The graph function -uses fetch to retrieve its data from an rrd. Check L. +uses fetch to retrieve its data from an RRD. Check L. =item B @@ -78,6 +82,10 @@ Alter setup of an RRD. Check L. Find last update time of an RRD. Check L. +=item B + +Get information about an RRD. Check L. + =item B Change the size of individual RRAs ... Dangerous! Check L. @@ -88,7 +96,7 @@ Export data retrieved from one or several RRD. Check L =item B -This is a standalone tool for producing rrd graphs on the fly. Check +This is a standalone tool for producing RRD graphs on the fly. Check L. =back @@ -102,7 +110,7 @@ L. When monitoring the state of a system, it is convenient to have the data available at a constant interval. Unfortunately you may not always be able to fetch data at exactly the time you want -to. Therefore B lets you update the logfile at any time you +to. Therefore B lets you update the logfile at any time you want. It will automatically interpolate the value of the data-source (B) at the latest official time-slot and write this value to the log. The value you have supplied is stored as well and is also taken @@ -115,7 +123,7 @@ interested to know the development of the data over the last year. You could do this by simply storing the data in 1 minute interval, for one year. While this would take considerable disk space it would also take a lot of time to analyze the data when you wanted to create a graph -covering the whole year. B offers a solution to this of this +covering the whole year. B offers a solution to this of this problem through its data consolidation feature. When setting up an Round Robin Database (B), you can define at which interval this consolidation should occur, and what consolidation function @@ -132,7 +140,7 @@ for a certain amount of time, while using a known amount of storage space. It works like this: If you want to store 1000 values in 5 minute -interval, B will allocate space for 1000 data values and a +interval, B will allocate space for 1000 data values and a header area. In the header it will store a pointer telling which one of the values in the storage area was last written to. New values are written to the Round Robin Archive in a ... you guess it @@ -156,7 +164,7 @@ the wine cellar, total minutes down time ...) As mentioned earlier, the B stores data at a constant interval. Now it may happen that no new data is available when a value has to be written to the B. Data acquisition may not be -possible for one reason or an other. The B handles these +possible for one reason or an other. The B handles these situations by storing an I<*UNKNOWN*> value into the database. The value 'I<*UNKNOWN*>' is supported through all the functions of the database. When consolidating the amount of I<*UNKNOWN*> data is @@ -168,7 +176,7 @@ written to the B. =item Graphing -The B also allows one to generate reports in numerical and +The B also allows one to generate reports in numerical and graphical form based on the data stored in one or several Bs. The graphing feature is fully configurable. Size, color and contents of the graph can be defined freely. Check L @@ -178,7 +186,7 @@ for more information on this. by Jake Brutlag Ejakeb@corp.webtv.netE -The B also provides the building blocks for near real-time +The B also provides the building blocks for near real-time aberrant behavior detection. These components include: =over 12 @@ -200,7 +208,7 @@ or sequence of observed values is I from the predicted value(s). Each of these components is briefly described: -Holt-Winters Time Series Forecasting Algorithm is an online, or incremental, +Holt-Winters Time Series forecasting algorithm is an on-line, or incremental, algorithm that adaptively predicts future observations in a time series. It's forecast is the sum of three components: a baseline (or intercept), a linear trend over time (or slope), and a seasonal coefficient (a periodic effect, @@ -213,7 +221,7 @@ can also be viewed as a smoothed value for the time series. The measure of deviation is a seasonal weighted absolute deviation. The term I means deviation is measured separately for each time point in the -seasonal cycle. As with Holt-Winters Forecasting, deviation is predicted using +seasonal cycle. As with Holt-Winters forecasting, deviation is predicted using the measure computed from past values (but only at that point in the seasonal cycle). After the value is observed, the algorithm learns from the observed value via exponential smoothing. Confidence bands for the observed time series are generated @@ -223,10 +231,10 @@ as a continuous line rather than a set of discrete points). Aberrant behavior (a potential failure) is reported whenever the number of times the observed value violates the confidence bands meets or exceeds a specified threshold within a specified temporal window (i.e. 5 violations -during the past 45 minutes with a value observed every 5 mintues). +during the past 45 minutes with a value observed every 5 minutes). This functionality is embedded in a set of related B. In particular, a FAILURES -B logs potential failures. Presumably a front-end application to B can +B logs potential failures. Presumably a front-end application to B can utilize this B to initiate real-time alerts if that is desired. You can find a detailed description of how to set this up in L. @@ -235,24 +243,24 @@ You can find a detailed description of how to set this up in L. =head2 REMOTE CONTROL -When you start B with the command line option 'B<->', it waits +When you start B with the command line option 'B<->', it waits for input via standard in. With this feature you can improve -performance by attaching B to another process (mrtg is one -example) through a set of pipes. Over the pipes B accepts the -same arguments as on the command line and some spezial commands like +performance by attaching B to another process (MRTG is one +example) through a set of pipes. Over the pipes B accepts the +same arguments as on the command line and some special commands like B and B. For detail helps about the server commands type : rrdtool help cd|mkdir|ls|quit -When a command is completed, rrdtool will print the string 'C', +When a command is completed, RRDtool will print the string 'C', followed by timing information of the form BI BI both values are running totals of seconds -since rrdtool was started. If an error occurs, a line of the -form 'C I' will be printed. B +since RRDtool was started. If an error occurs, a line of the +form 'C I' will be printed. B will not abort if possible, but follow the ERROR line with an OK line. -If a B is spezified and the UID is 0, rrdtool will do a -chroot to the workdir. If the UID is not 0, rrdtool only changes the +If a B is specified and the UID is 0, RRDtool will do a +chroot to the workdir. If the UID is not 0, RRDtool only changes the current directory to B. =head2 RRD Server @@ -260,12 +268,12 @@ current directory to B. If you want to create a RRD-Server, you must choose a TCP/IP Service number and add them to I like this: - rrdsrv 13900/tcp # rrd server + rrdsrv 13900/tcp # RRD server -Attention: the tcp port 13900 isn't official registered for rrdsrv. You +Attention: the TCP port 13900 isn't official registered for rrdsrv. You can use any unused port in your services, but the server an the client system must use the same port of curse. -After this you can add the rrdtool as meta-server to I +After this you can add the RRDtool as meta-server to I for example: rrdsrv stream tcp nowait root /opt/rrd/bin/rrdtool rrdtool - /var/rrd @@ -273,7 +281,7 @@ for example: Don't forget to create the database directory /var/rrd and reinitialize your inetd. If all was correct, you can access the server with perl sockets, tools -like netcat or a quickhack test 'telnet localhost rrdsrv'. +like netcat or a quick test 'telnet localhost rrdsrv'.