Code

rrdtool-all.git
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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@30 a5681a0c-68f1-0310-ab6d-d61299d08faa

23 years agowant to keep a history of events
oetiker [Sun, 4 Mar 2001 14:06:00 +0000 (14:06 +0000)]
want to keep a history of events

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@29 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@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@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@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@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@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@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@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@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@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@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@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@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@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@14 a5681a0c-68f1-0310-ab6d-d61299d08faa

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

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@9 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@6 a5681a0c-68f1-0310-ab6d-d61299d08faa

23 years agoInitial revision
oetiker [Sun, 25 Feb 2001 16:09:36 +0000 (16:09 +0000)]
Initial revision

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

23 years agoinitial checkin
cvs [Sun, 25 Feb 2001 15:29:21 +0000 (15:29 +0000)]
initial checkin

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

23 years agoNew repository initialized by cvs2svn.
(no author) [Sun, 25 Feb 2001 15:29:21 +0000 (15:29 +0000)]
New repository initialized by cvs2svn.

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