X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=doc%2Frrdtool.pod;h=cd4757f6f827c7399486efac90a804f6211b87b9;hb=d53241d45f61489bd1bd2fb1aab5e6183db6009d;hp=fee6d356ba5b80d0c7ca70900d49c317bdcd96d4;hpb=7c016dfa001ae254bf4e18126f814ee8f0abd821;p=rrdtool.git diff --git a/doc/rrdtool.pod b/doc/rrdtool.pod index fee6d35..cd4757f 100644 --- a/doc/rrdtool.pod +++ b/doc/rrdtool.pod @@ -6,7 +6,7 @@ rrdtool - round robin database tool =head1 SYNOPSIS -B B<-> | I +B B<-> [workdir]| I =head1 DESCRIPTION @@ -82,6 +82,10 @@ Find last update time of an RRD. Check L. Change the size of individual RRAs ... Dangerous! Check L. +=item B + +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 @@ -235,17 +239,47 @@ 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. 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 +same arguments as on the command line and some spezial 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', +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 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 +current directory to B. + +=head2 RRD Server + +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 + +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 +for example: + + rrdsrv stream tcp nowait root /opt/rrd/bin/rrdtool rrdtool - /var/rrd + +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'. + =head1 SEE ALSO -rrdcreate, rrdupdate, rrdgraph, rrddump, rrdfetch, rrdtune, rrdlast +rrdcreate, rrdupdate, rrdgraph, rrddump, rrdfetch, rrdtune, rrdlast, rrdxport =head1 BUGS