From 35354e059a77479a7a135c1e4fc71c76523fd7c4 Mon Sep 17 00:00:00 2001 From: oetiker Date: Tue, 10 Jun 2008 23:12:55 +0000 Subject: [PATCH 1/1] prepare for the release of rrdtool-1.3.0 git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1432 a5681a0c-68f1-0310-ab6d-d61299d08faa --- bindings/perl-piped/RRDp.pm | 2 +- bindings/perl-shared/RRDs.pm | 2 +- doc/rrdbuild.pod | 10 +++++----- doc/rrdcreate.pod | 23 +++++++---------------- doc/rrdgraph.pod | 23 +++++++++++------------ doc/rrdgraph_graph.pod | 40 +++++++++++++++++----------------------- rrdtool.spec | 2 +- src/pngsize.c | 2 +- src/rrd.h | 2 +- src/rrd_cgi.c | 2 +- src/rrd_create.c | 2 +- src/rrd_datalang.c | 2 +- src/rrd_diff.c | 2 +- src/rrd_dump.c | 2 +- src/rrd_error.c | 2 +- src/rrd_fetch.c | 2 +- src/rrd_first.c | 2 +- src/rrd_format.c | 2 +- src/rrd_format.h | 2 +- src/rrd_gfx.c | 2 +- src/rrd_graph.c | 2 +- src/rrd_graph_helper.c | 2 +- src/rrd_hw.c | 2 +- src/rrd_hw.h | 2 +- src/rrd_i18n.h | 2 +- src/rrd_info.c | 2 +- src/rrd_is_thread_safe.h | 2 +- src/rrd_last.c | 2 +- src/rrd_lastupdate.c | 2 +- src/rrd_not_thread_safe.c | 2 +- src/rrd_open.c | 2 +- src/rrd_resize.c | 2 +- src/rrd_restore.c | 2 +- src/rrd_rpncalc.c | 2 +- src/rrd_rpncalc.h | 2 +- src/rrd_thread_safe.c | 2 +- src/rrd_thread_safe_nt.c | 2 +- src/rrd_tool.c | 2 +- src/rrd_tool.h | 2 +- src/rrd_tune.c | 2 +- src/rrd_update.c | 2 +- src/rrd_version.c | 2 +- src/rrd_xport.c | 2 +- src/rrd_xport.h | 2 +- src/rrdupdate.c | 2 +- 45 files changed, 81 insertions(+), 97 deletions(-) diff --git a/bindings/perl-piped/RRDp.pm b/bindings/perl-piped/RRDp.pm index 18151f3..a99e56e 100644 --- a/bindings/perl-piped/RRDp.pm +++ b/bindings/perl-piped/RRDp.pm @@ -120,7 +120,7 @@ sub cmd (@); sub end (); sub read (); -$VERSION=1.299908060801; +$VERSION=1.3000; sub start ($){ croak "rrdtool is already running" diff --git a/bindings/perl-shared/RRDs.pm b/bindings/perl-shared/RRDs.pm index e5b06ad..d151db4 100644 --- a/bindings/perl-shared/RRDs.pm +++ b/bindings/perl-shared/RRDs.pm @@ -7,7 +7,7 @@ use vars qw(@ISA $VERSION); require DynaLoader; -$VERSION=1.299908060801; +$VERSION=1.3000; bootstrap RRDs $VERSION; diff --git a/doc/rrdbuild.pod b/doc/rrdbuild.pod index d244137..1a281e5 100644 --- a/doc/rrdbuild.pod +++ b/doc/rrdbuild.pod @@ -41,7 +41,7 @@ Where you want to install the software. Once you have decided. Save the two locations into environment variables. BUILD_DIR=/tmp/rrdbuild - INSTALL_DIR=/usr/local/rrdtool-1.3rc9 + INSTALL_DIR=/usr/local/rrdtool-1.3.0 If your F is mounted with the option noexec (RHEL seems todo that) you have to choose @@ -55,9 +55,9 @@ Now make sure the BUILD_DIR exists and go there: Lets first assume you already have all the necessary libraries pre-installed. - wget http://oss.oetiker.ch/rrdtool/pub/rrdtool-1.3rc9.tar.gz - gunzip -c rrdtool-1.3rc9.tar.gz | tar xf - - cd rrdtool-1.3rc9 + wget http://oss.oetiker.ch/rrdtool/pub/rrdtool-1.3.0.tar.gz + gunzip -c rrdtool-1.3.0.tar.gz | tar xf - + cd rrdtool-1.3.0 ./configure --prefix=$INSTALL_DIR && make && make install Ok, this was very optimistic. This try will probably have ended with @@ -336,7 +336,7 @@ because it seems that a fair number of people have ill configured python and tcl setups that would prevent rrdtool from building if they are included in their current state. - cd $BUILD_DIR/rrdtool-1.3rc9 + cd $BUILD_DIR/rrdtool-1.3.0 ./configure --prefix=$INSTALL_DIR --disable-tcl --disable-python $MAKE clean $MAKE diff --git a/doc/rrdcreate.pod b/doc/rrdcreate.pod index 03012e0..abb42fc 100644 --- a/doc/rrdcreate.pod +++ b/doc/rrdcreate.pod @@ -16,15 +16,13 @@ The create function of RRDtool lets you set up new Round Robin Database (B) files. The file is created at its final, full size and filled with I<*UNKNOWN*> data. -=over 8 - -=item I +=head2 I The name of the B you want to create. B files should end with the extension F<.rrd>. However, B will accept any filename. -=item B<--start>|B<-b> I (default: now - 10s) +=head2 B<--start>|B<-b> I (default: now - 10s) Specifies the time in seconds since 1970-01-01 UTC when the first value should be added to the B. B will not accept @@ -33,12 +31,12 @@ any data timed before or at the time specified. See also AT-STYLE TIME SPECIFICATION section in the I documentation for other ways to specify time. -=item B<--step>|B<-s> I (default: 300 seconds) +=head2 B<--step>|B<-s> I (default: 300 seconds) Specifies the base interval in seconds with which data will be fed into the B. -=item BIB<:>IB<:>I +=head2 BIB<:>IB<:>I A single B can accept input from several data sources (B), for example incoming and outgoing traffic on a specific communication @@ -63,7 +61,7 @@ In order to decide which data source type to use, review the definitions that follow. Also consult the section on "HOW TO MEASURE" for further insight. -=over 4 +=over =item B @@ -89,9 +87,7 @@ room. Internally, derive works exactly like COUNTER but without overflow checks. So if your counter does not reset at 32 or 64 bit you might want to use DERIVE and combine it with a MIN value of 0. -=over - -=item NOTE on COUNTER vs DERIVE +B by Don Baarda Edon.baarda@baesystems.comE @@ -110,8 +106,6 @@ probably preferable. If you are using a 64bit counter, just about any max setting will eliminate the possibility of mistaking a reset for a counter wrap. -=back - =item B is for counters which get reset upon reading. This is used for fast counters @@ -159,8 +153,7 @@ names of data source listed previously in the create command. This is similar to the restriction that Bs must refer only to Bs and Bs previously defined in the same graph command. -=item BIB<:>I - +=head2 BIB<:>I The purpose of an B is to store data in the round robin archives (B). An archive consists of a number of data values or statistics for @@ -218,8 +211,6 @@ a I which then goes into the archive. I defines how many generations of data values are kept in an B. Obviously, this has to be greater than zero. -=back - =head1 Aberrant Behavior Detection with Holt-Winters Forecasting In addition to the aggregate functions, there are a set of specialized diff --git a/doc/rrdgraph.pod b/doc/rrdgraph.pod index 159d6af..048171a 100644 --- a/doc/rrdgraph.pod +++ b/doc/rrdgraph.pod @@ -50,9 +50,8 @@ graph it (or print it). This ends the B sequence. =head1 OPTIONS -=over 4 -=item B +=head2 B This alternate version of B takes the same arguments and performs the same function. The I stands for I, which describes the output @@ -60,7 +59,7 @@ returned. B will return a lot of information about the graph using the same format as rrdtool info (key = value). See the bottom of the document for more information. -=item filename +=head2 I The name and path of the graph to generate. It is recommended to end this in C<.png>, C<.svg> or C<.eps>, but B does not enforce this. @@ -68,7 +67,7 @@ end this in C<.png>, C<.svg> or C<.eps>, but B does not enforce this. I can be 'C<->' to send the image to C. In this case, no other output is generated. -=item Time range +=head2 Time range [B<-s>|B<--start> I