Code

rrdtool.git
22 years agothis file and all the external libraries configurability was contributed by mat zimme...
oetiker [Thu, 31 Jan 2002 22:44:34 +0000 (22:44 +0000)]
this file and all the external libraries configurability was contributed by mat zimmermann

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@72 a5681a0c-68f1-0310-ab6d-d61299d08faa

22 years agoallow use of libraries already installed on the system
oetiker [Thu, 31 Jan 2002 22:43:13 +0000 (22:43 +0000)]
allow use of libraries already installed on the system

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@71 a5681a0c-68f1-0310-ab6d-d61299d08faa

22 years agomake "18:00 yesterday" work Pavel Mores <pvl@uh.cz>
oetiker [Thu, 31 Jan 2002 11:56:24 +0000 (11:56 +0000)]
make "18:00 yesterday" work  Pavel Mores <pvl@uh.cz>

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@70 a5681a0c-68f1-0310-ab6d-d61299d08faa

22 years agoweeknumber is not %V which is more appropriate than %W
oetiker [Thu, 31 Jan 2002 07:23:12 +0000 (07:23 +0000)]
weeknumber is not %V which is more appropriate than %W

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@69 a5681a0c-68f1-0310-ab6d-d61299d08faa

22 years agocopy ltmain.sh
oetiker [Thu, 31 Jan 2002 06:36:27 +0000 (06:36 +0000)]
copy ltmain.sh

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@68 a5681a0c-68f1-0310-ab6d-d61299d08faa

22 years agothis also
oetiker [Thu, 17 Jan 2002 20:31:31 +0000 (20:31 +0000)]
this also

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@67 a5681a0c-68f1-0310-ab6d-d61299d08faa

22 years agothis is not needed anymore
oetiker [Thu, 17 Jan 2002 20:30:46 +0000 (20:30 +0000)]
this is not needed anymore

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@66 a5681a0c-68f1-0310-ab6d-d61299d08faa

22 years agokilling remains
oetiker [Thu, 17 Jan 2002 20:28:01 +0000 (20:28 +0000)]
killing remains

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@65 a5681a0c-68f1-0310-ab6d-d61299d08faa

22 years agoadded places for download
oetiker [Wed, 16 Jan 2002 23:11:11 +0000 (23:11 +0000)]
added places for download

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@64 a5681a0c-68f1-0310-ab6d-d61299d08faa

22 years agoignore irrelevant things
oetiker [Tue, 15 Jan 2002 22:58:09 +0000 (22:58 +0000)]
ignore irrelevant things

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@63 a5681a0c-68f1-0310-ab6d-d61299d08faa

22 years agoadded new .cvsignore files
oetiker [Tue, 15 Jan 2002 22:53:19 +0000 (22:53 +0000)]
added new .cvsignore files

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@62 a5681a0c-68f1-0310-ab6d-d61299d08faa

22 years agoThe BIG graph update
oetiker [Tue, 15 Jan 2002 22:51:07 +0000 (22:51 +0000)]
The BIG graph update
  * Replace libgd with libart
  * Added freetype
  * Updated zlib and libpng
  * rrd_gfx.c intrduced as libart wrapper
  * LINE takes now a float as argument
  * rrdtool uses truetype for fonts
  * thanks to libart there is now full alpha transparenc
    and antialiasing.
  * the new option --font lets customize the font
    and size for various graph elements
  * Updated to -> libtool 1.4.2 automake 2.12 autoconf 2.52
  * new --zoom commandline option for zoom ans shrinking
  -- tobias oetiker

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@61 a5681a0c-68f1-0310-ab6d-d61299d08faa

22 years agoReworked rrd_graph_script()
alex [Fri, 4 Jan 2002 01:11:35 +0000 (01:11 +0000)]
Reworked rrd_graph_script()

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@60 a5681a0c-68f1-0310-ab6d-d61299d08faa

22 years agoA patch of size 44Kbytes... in short:
alex [Mon, 24 Dec 2001 06:51:49 +0000 (06:51 +0000)]
A patch of size 44Kbytes... in short:

Found and repaired the off-by-one error in rrd_fetch_fn().
As a result I had to remove the hacks in rrd_fetch_fn(),
rrd_tool.c, vdef_calc(), data_calc(), data_proc() and
reduce_data().  There may be other places which I didn't
find so be careful.

Enhanced debugging in rrd_fetch_fn(), it shows the RRA selection
process.

Added the ability to print VDEF timestamps.  At the moment it
is a hack, I needed it now to fix the off-by-one error.
If the format string is "%c" (and nothing else!), the time
will be printed by both ctime() and as a long int.

Moved some code around (slightly altering it) from rrd_graph()
  initializing     now in rrd_graph_init()
  options parsing  now in rrd_graph_options()
  script parsing   now in rrd_graph_script()

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@59 a5681a0c-68f1-0310-ab6d-d61299d08faa

22 years agoSomehow eight lines were missing from function rrd_graph().
alex [Sat, 22 Dec 2001 02:49:23 +0000 (02:49 +0000)]
Somehow eight lines were missing from function rrd_graph().
Also fixed minor bug in vdef_calc().

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@58 a5681a0c-68f1-0310-ab6d-d61299d08faa

22 years agofix overflow error ...
oetiker [Mon, 17 Dec 2001 12:48:43 +0000 (12:48 +0000)]
fix overflow error ...

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@57 a5681a0c-68f1-0310-ab6d-d61299d08faa

22 years agoFixed uninitialized ptr causing seg fault invoking info for COMPUTE data sources.
jake [Tue, 11 Dec 2001 22:55:28 +0000 (22:55 +0000)]
Fixed uninitialized ptr causing seg fault invoking info for COMPUTE data sources.

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@56 a5681a0c-68f1-0310-ab6d-d61299d08faa

23 years agoreturn "" instead of NULL for <RRD::GETENV UNKNOWN_VARIABLE> -- Michael <sysadmin...
oetiker [Sun, 18 Nov 2001 08:41:16 +0000 (08:41 +0000)]
return "" instead of NULL for <RRD::GETENV UNKNOWN_VARIABLE> -- Michael <sysadmin@qsl.net>

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@55 a5681a0c-68f1-0310-ab6d-d61299d08faa

23 years agofixed path to mkinstalldirs -- Laurent Saehyun Kim�<LKim@xo.com>
oetiker [Sat, 17 Nov 2001 16:57:55 +0000 (16:57 +0000)]
fixed path to mkinstalldirs -- Laurent Saehyun Kim�<LKim@xo.com>

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@54 a5681a0c-68f1-0310-ab6d-d61299d08faa

23 years agospelling updates by Martin Schulze <joey@finlandia.infodrom.north.de>
oetiker [Sat, 8 Sep 2001 18:25:17 +0000 (18:25 +0000)]
spelling updates by Martin Schulze <joey@finlandia.infodrom.north.de>

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@53 a5681a0c-68f1-0310-ab6d-d61299d08faa

23 years agoContents of this patch:
jake [Wed, 22 Aug 2001 22:29:07 +0000 (22:29 +0000)]
Contents of this patch:
(1) Adds/revises documentation for rrd tune in rrd_tool.c and pod files.
(2) Moves some initialization code from rrd_create.c to rrd_hw.c.
(3) Adds another pass to smoothing for SEASONAL and DEVSEASONAL RRAs.
This pass computes the coefficients as deviations from an average; the
average is added the baseline coefficient of HWPREDICT. Statistical texts
suggest this to preserve algorithm stability. It will not invalidate
RRD files created and smoothed with the old code.
(4) Adds the aberrant-reset flag to rrd tune. This operation, which is
specified for a single data source, causes the holt-winters algorithm to
forget everthing it has learned and start over.
(5) Fixes a few out-of-date code comments.

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@52 a5681a0c-68f1-0310-ab6d-d61299d08faa

23 years agospell fix for si units (only in comments)
oetiker [Mon, 13 Aug 2001 18:58:07 +0000 (18:58 +0000)]
spell fix for si units (only in comments)

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@51 a5681a0c-68f1-0310-ab6d-d61299d08faa

23 years agoRemoving rrdgraph*.pod from the cvs
alex [Sat, 28 Jul 2001 22:34:42 +0000 (22:34 +0000)]
Removing rrdgraph*.pod from the cvs

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@50 a5681a0c-68f1-0310-ab6d-d61299d08faa

23 years agoEdited Makefile.am and the rrdgraph_*.src files. By mistake the
alex [Sat, 28 Jul 2001 22:21:44 +0000 (22:21 +0000)]
Edited Makefile.am and the rrdgraph_*.src files. By mistake the
previous update was made on the rrdgraph_*.pod files however they
are not to be edited. This is now corrected.

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@49 a5681a0c-68f1-0310-ab6d-d61299d08faa

23 years agoSupporting functions for rrd_graph. Functions that are used frequently
alex [Thu, 26 Jul 2001 02:27:46 +0000 (02:27 +0000)]
Supporting functions for rrd_graph.  Functions that are used frequently
and/or from different places should be added here in stead of repeating
them in rrd_graph.c over and over again.

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@48 a5681a0c-68f1-0310-ab6d-d61299d08faa

23 years agoMoved most typedefs etc. from rrd_graph.c to this file
alex [Thu, 26 Jul 2001 02:25:38 +0000 (02:25 +0000)]
Moved most typedefs etc. from rrd_graph.c to this file

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@47 a5681a0c-68f1-0310-ab6d-d61299d08faa

23 years agoAdded VDEF TOTAL
alex [Thu, 26 Jul 2001 02:22:18 +0000 (02:22 +0000)]
Added VDEF TOTAL
Moved most typedefs etc. to rrd_graph.h

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@46 a5681a0c-68f1-0310-ab6d-d61299d08faa

23 years agoAdded rrd_graph_helper
alex [Thu, 26 Jul 2001 02:19:48 +0000 (02:19 +0000)]
Added rrd_graph_helper

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@45 a5681a0c-68f1-0310-ab6d-d61299d08faa

23 years agoUpdated for VDEF TOTAL
alex [Thu, 26 Jul 2001 02:15:02 +0000 (02:15 +0000)]
Updated for VDEF TOTAL

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@44 a5681a0c-68f1-0310-ab6d-d61299d08faa

23 years agoAnnounce of VDEF in rrd_graph
alex [Thu, 26 Jul 2001 02:11:46 +0000 (02:11 +0000)]
Announce of VDEF in rrd_graph

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@43 a5681a0c-68f1-0310-ab6d-d61299d08faa

23 years agoMade PRINT and GPRINT aware of VDEF statements
alex [Sat, 21 Jul 2001 18:17:44 +0000 (18:17 +0000)]
Made PRINT and GPRINT aware of VDEF statements

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@42 a5681a0c-68f1-0310-ab6d-d61299d08faa

23 years agomissing documentation ... -- Alex van den Bogaerdt <alex@slot.hollandcasino.nl>
oetiker [Fri, 20 Jul 2001 22:34:29 +0000 (22:34 +0000)]
missing documentation ... -- Alex van den Bogaerdt <alex@slot.hollandcasino.nl>

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@41 a5681a0c-68f1-0310-ab6d-d61299d08faa

23 years agoonly a comment
oetiker [Fri, 20 Jul 2001 22:34:06 +0000 (22:34 +0000)]
only a comment

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@40 a5681a0c-68f1-0310-ab6d-d61299d08faa

23 years agosmall fixes -- Alex van den Bogaerdt <alex@slot.hollandcasino.nl>
oetiker [Fri, 20 Jul 2001 22:33:17 +0000 (22:33 +0000)]
small fixes -- Alex van den Bogaerdt <alex@slot.hollandcasino.nl>

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@39 a5681a0c-68f1-0310-ab6d-d61299d08faa

23 years agoVDEF and VRULE are comig along -- Alex van den Bogaerdt <alex@slot.hollandcasino.nl>
oetiker [Wed, 18 Jul 2001 22:30:29 +0000 (22:30 +0000)]
VDEF and VRULE are comig along -- Alex van den Bogaerdt <alex@slot.hollandcasino.nl>

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@38 a5681a0c-68f1-0310-ab6d-d61299d08faa

23 years agospell fix
oetiker [Tue, 5 Jun 2001 13:42:55 +0000 (13:42 +0000)]
spell fix

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@37 a5681a0c-68f1-0310-ab6d-d61299d08faa

23 years agoBug fix: when update of multiple PDP/CDP RRAs coincided
oetiker [Wed, 9 May 2001 05:31:01 +0000 (05:31 +0000)]
Bug fix: when update of multiple PDP/CDP RRAs coincided
with interpolation of multiple PDPs an incorrect value was
stored as the CDP. Especially evident for GAUGE data sources.
Minor changes to rrdcreate.pod. -- Jake Brutlag <jakeb@corp.webtv.net>

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@36 a5681a0c-68f1-0310-ab6d-d61299d08faa

23 years agoadded 'all' dependancy to site-perl-install rule as many seem to skip
oetiker [Sat, 31 Mar 2001 15:21:59 +0000 (15:21 +0000)]
added 'all' dependancy to site-perl-install rule as many seem to skip
this step when instaling cricket ... probably an incomplete cricket doku.

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@35 a5681a0c-68f1-0310-ab6d-d61299d08faa

23 years agoadded PROJECTS file
oetiker [Thu, 15 Mar 2001 19:43:04 +0000 (19:43 +0000)]
added PROJECTS file

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@34 a5681a0c-68f1-0310-ab6d-d61299d08faa

23 years agoreindented
oetiker [Sun, 11 Mar 2001 12:03:12 +0000 (12:03 +0000)]
reindented

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@33 a5681a0c-68f1-0310-ab6d-d61299d08faa

23 years agoreindented the cource for better readability
oetiker [Sun, 11 Mar 2001 11:49:28 +0000 (11:49 +0000)]
reindented the cource for better readability

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@32 a5681a0c-68f1-0310-ab6d-d61299d08faa

23 years agoSupport for COMPUTE data sources (CDEF data sources). Removes the RPN
oetiker [Sat, 10 Mar 2001 23:54:41 +0000 (23:54 +0000)]
Support for COMPUTE data sources (CDEF data sources). Removes the RPN
parser and calculator from rrd_graph and puts then in a new file,
rrd_rpncalc.c. Changes to core files rrd_create and rrd_update. Some
clean-up of aberrant behavior stuff, including a bug fix.
Documentation update (rrdcreate.pod, rrdupdate.pod). Change xml format.
-- Jake Brutlag <jakeb@corp.webtv.net>

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@31 a5681a0c-68f1-0310-ab6d-d61299d08faa

23 years agocomplete rewrite of rrdgraph documentation. This also includs info
oetiker [Wed, 7 Mar 2001 21:21:54 +0000 (21:21 +0000)]
complete rewrite of rrdgraph documentation. This also includs info
on upcomming/planned changes to the rrdgraph interface and functionality
-- Alex van den Bogaerdt <alex@slot.hollandcasino.nl>

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@30 a5681a0c-68f1-0310-ab6d-d61299d08faa

23 years agofidex jackes adderss
oetiker [Sun, 4 Mar 2001 13:50:31 +0000 (13:50 +0000)]
fidex jackes adderss

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@28 a5681a0c-68f1-0310-ab6d-d61299d08faa

23 years agoadded note on counter vs derive -- Don BAARDA <don.baarda@baesystems.com>
oetiker [Sun, 4 Mar 2001 13:12:44 +0000 (13:12 +0000)]
added note on counter vs derive --  Don BAARDA <don.baarda@baesystems.com>

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@27 a5681a0c-68f1-0310-ab6d-d61299d08faa

23 years agoAberrant Behavior Detection support. A brief overview added to rrdtool.pod.
oetiker [Sun, 4 Mar 2001 13:01:56 +0000 (13:01 +0000)]
Aberrant Behavior Detection support. A brief overview added to rrdtool.pod.
Major updates to rrd_update.c, rrd_create.c. Minor update to other core files.
This is backwards compatible! But new files using the Aberrant stuff are not readable
by old rrdtool versions. See http://cricket.sourceforge.net/aberrant/rrd_hw.htm
-- Jake Brutlag <jakeb@corp.webtv.net>

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@26 a5681a0c-68f1-0310-ab6d-d61299d08faa

23 years agoanother do not report Makefile and Makefile.in
oetiker [Sun, 4 Mar 2001 13:00:25 +0000 (13:00 +0000)]
another do not report Makefile and Makefile.in

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@25 a5681a0c-68f1-0310-ab6d-d61299d08faa

23 years agothis file has no purpose
oetiker [Sun, 4 Mar 2001 12:51:55 +0000 (12:51 +0000)]
this file has no purpose

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@24 a5681a0c-68f1-0310-ab6d-d61299d08faa

23 years agorrdupdate is a generated file it has no place in cvs
oetiker [Sun, 4 Mar 2001 12:32:07 +0000 (12:32 +0000)]
rrdupdate is a generated file it has no place in cvs

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@23 a5681a0c-68f1-0310-ab6d-d61299d08faa

23 years agorepository cleanup
oetiker [Sun, 4 Mar 2001 11:31:21 +0000 (11:31 +0000)]
repository cleanup

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@21 a5681a0c-68f1-0310-ab6d-d61299d08faa

23 years agoadded at-style-time@value:value syntax to rrd_update
oetiker [Sun, 4 Mar 2001 11:14:26 +0000 (11:14 +0000)]
added at-style-time@value:value syntax to rrd_update
--  Dave Bodenstab <imdave@mcs.net>

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@20 a5681a0c-68f1-0310-ab6d-d61299d08faa

23 years agofixed filedescriptor leak
oetiker [Sun, 4 Mar 2001 10:29:20 +0000 (10:29 +0000)]
fixed filedescriptor leak
-- Mike Franusich <mike@franusich.com>

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@19 a5681a0c-68f1-0310-ab6d-d61299d08faa

23 years agoadded test for hpux. if matched, compile zlib with -fpic instead of -fPIC
oetiker [Fri, 2 Mar 2001 22:48:39 +0000 (22:48 +0000)]
added test for hpux. if matched, compile zlib with -fpic instead of -fPIC

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@18 a5681a0c-68f1-0310-ab6d-d61299d08faa

23 years agoadded check for the presence of the compiler used to build perl modules
oetiker [Thu, 1 Mar 2001 21:37:54 +0000 (21:37 +0000)]
added check for the presence of the compiler used to build perl modules

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@17 a5681a0c-68f1-0310-ab6d-d61299d08faa

23 years agothey do not belong into cvs ad they are autogenerated
oetiker [Sun, 25 Feb 2001 23:18:40 +0000 (23:18 +0000)]
they do not belong into cvs ad they are autogenerated

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@16 a5681a0c-68f1-0310-ab6d-d61299d08faa

23 years agoFixed ln for modules
oetiker [Sun, 25 Feb 2001 22:57:02 +0000 (22:57 +0000)]
Fixed ln for modules

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@15 a5681a0c-68f1-0310-ab6d-d61299d08faa

23 years agofixed compile order ... src before bindings
oetiker [Sun, 25 Feb 2001 22:53:17 +0000 (22:53 +0000)]
fixed compile order ... src before bindings

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@14 a5681a0c-68f1-0310-ab6d-d61299d08faa

23 years agoInitial revision
oetiker [Sun, 25 Feb 2001 22:25:02 +0000 (22:25 +0000)]
Initial revision

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@6 a5681a0c-68f1-0310-ab6d-d61299d08faa