head 1.10; access; symbols pkgsrc-2017Q2:1.9.0.12 pkgsrc-2017Q2-base:1.9 pkgsrc-2017Q1:1.9.0.10 pkgsrc-2017Q1-base:1.9 pkgsrc-2016Q4:1.9.0.8 pkgsrc-2016Q4-base:1.9 pkgsrc-2016Q3:1.9.0.6 pkgsrc-2016Q3-base:1.9 pkgsrc-2016Q2:1.9.0.4 pkgsrc-2016Q2-base:1.9 pkgsrc-2016Q1:1.9.0.2 pkgsrc-2016Q1-base:1.9 pkgsrc-2015Q4:1.8.0.44 pkgsrc-2015Q4-base:1.8 pkgsrc-2015Q3:1.8.0.42 pkgsrc-2015Q3-base:1.8 pkgsrc-2015Q2:1.8.0.40 pkgsrc-2015Q2-base:1.8 pkgsrc-2015Q1:1.8.0.38 pkgsrc-2015Q1-base:1.8 pkgsrc-2014Q4:1.8.0.36 pkgsrc-2014Q4-base:1.8 pkgsrc-2014Q3:1.8.0.34 pkgsrc-2014Q3-base:1.8 pkgsrc-2014Q2:1.8.0.32 pkgsrc-2014Q2-base:1.8 pkgsrc-2014Q1:1.8.0.30 pkgsrc-2014Q1-base:1.8 pkgsrc-2013Q4:1.8.0.28 pkgsrc-2013Q4-base:1.8 pkgsrc-2013Q3:1.8.0.26 pkgsrc-2013Q3-base:1.8 pkgsrc-2013Q2:1.8.0.24 pkgsrc-2013Q2-base:1.8 pkgsrc-2013Q1:1.8.0.22 pkgsrc-2013Q1-base:1.8 pkgsrc-2012Q4:1.8.0.20 pkgsrc-2012Q4-base:1.8 pkgsrc-2012Q3:1.8.0.18 pkgsrc-2012Q3-base:1.8 pkgsrc-2012Q2:1.8.0.16 pkgsrc-2012Q2-base:1.8 pkgsrc-2012Q1:1.8.0.14 pkgsrc-2012Q1-base:1.8 pkgsrc-2011Q4:1.8.0.12 pkgsrc-2011Q4-base:1.8 pkgsrc-2011Q3:1.8.0.10 pkgsrc-2011Q3-base:1.8 pkgsrc-2011Q2:1.8.0.8 pkgsrc-2011Q2-base:1.8 pkgsrc-2011Q1:1.8.0.6 pkgsrc-2011Q1-base:1.8 pkgsrc-2010Q4:1.8.0.4 pkgsrc-2010Q4-base:1.8 pkgsrc-2010Q3:1.8.0.2 pkgsrc-2010Q3-base:1.8 pkgsrc-2009Q4:1.7.0.8 pkgsrc-2009Q4-base:1.7 pkgsrc-2008Q4:1.7.0.6 pkgsrc-2008Q4-base:1.7 pkgsrc-2008Q3:1.7.0.4 pkgsrc-2008Q3-base:1.7 cube-native-xorg:1.7.0.2 cube-native-xorg-base:1.7 pkgsrc-2008Q2:1.6.0.4 pkgsrc-2008Q2-base:1.6 cwrapper:1.6.0.2 pkgsrc-2008Q1:1.3.0.22 pkgsrc-2008Q1-base:1.3 pkgsrc-2007Q4:1.3.0.20 pkgsrc-2007Q4-base:1.3 pkgsrc-2007Q3:1.3.0.18 pkgsrc-2007Q3-base:1.3 pkgsrc-2007Q2:1.3.0.16 pkgsrc-2007Q2-base:1.3 pkgsrc-2007Q1:1.3.0.14 pkgsrc-2007Q1-base:1.3 pkgsrc-2006Q4:1.3.0.12 pkgsrc-2006Q4-base:1.3 pkgsrc-2006Q3:1.3.0.10 pkgsrc-2006Q3-base:1.3 pkgsrc-2006Q2:1.3.0.8 pkgsrc-2006Q2-base:1.3 pkgsrc-2006Q1:1.3.0.6 pkgsrc-2006Q1-base:1.3 pkgsrc-2005Q4:1.3.0.4 pkgsrc-2005Q4-base:1.3 pkgsrc-2005Q3:1.3.0.2 pkgsrc-2005Q3-base:1.3 pkgsrc-2005Q2:1.2.0.14 pkgsrc-2005Q2-base:1.2 pkgsrc-2005Q1:1.2.0.12 pkgsrc-2005Q1-base:1.2 pkgsrc-2004Q4:1.2.0.10 pkgsrc-2004Q4-base:1.2 pkgsrc-2004Q3:1.2.0.8 pkgsrc-2004Q3-base:1.2 pkgsrc-2004Q2:1.2.0.6 pkgsrc-2004Q2-base:1.2 pkgsrc-2004Q1:1.2.0.4 pkgsrc-2004Q1-base:1.2 pkgsrc-2003Q4:1.2.0.2 pkgsrc-2003Q4-base:1.2 netbsd-1-6-1:1.1.1.1.0.6 netbsd-1-6-1-base:1.1.1.1 netbsd-1-6:1.1.1.1.0.8 netbsd-1-6-RELEASE-base:1.1.1.1 pkgviews:1.1.1.1.0.4 pkgviews-base:1.1.1.1 buildlink2:1.1.1.1.0.2 buildlink2-base:1.1.1.1 netbsd-1-5-PATCH003:1.1.1.1 netbsd-1-5-PATCH001:1.1.1.1 netbsd-1-5-RELEASE:1.1.1.1 netbsd-1-4-PATCH003:1.1.1.1 netbsd-1-4-PATCH002:1.1.1.1 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.10 date 2017.07.27.18.31.20; author adam; state dead; branches; next 1.9; commitid RT4sIAcjH8RvGT0A; 1.9 date 2016.02.01.09.41.59; author adam; state Exp; branches; next 1.8; commitid pVok4zu7F3P7bcTy; 1.8 date 2010.07.06.07.31.37; author adam; state Exp; branches; next 1.7; 1.7 date 2008.07.29.17.23.17; author martti; state dead; branches; next 1.6; 1.6 date 2008.06.30.07.29.48; author martti; state Exp; branches 1.6.4.1; next 1.5; 1.5 date 2008.06.23.16.24.30; author he; state Exp; branches; next 1.4; 1.4 date 2008.06.19.15.56.04; author he; state Exp; branches; next 1.3; 1.3 date 2005.07.03.15.23.34; author wulf; state dead; branches; next 1.2; 1.2 date 2003.02.16.23.08.59; author seb; state Exp; branches; next 1.1; 1.1 date 99.11.17.17.34.39; author wennmach; state Exp; branches 1.1.1.1; next ; 1.6.4.1 date 2008.09.10.11.17.56; author tron; state dead; branches; next ; 1.1.1.1 date 99.11.17.17.34.39; author wennmach; state Exp; branches; next ; desc @@ 1.10 log @RRDtool 1.7.0 Bugfixes -------- * made rrd_fetch_cb_wrapper in RRDs more careful with its arguments * many bugfixes to resolve issues identified Coverty scan * fix build issues with libdbl * take the ds step into account while caching data in rrd graph DEF statements * never 'exit' from librrd (even when DEBUG is on) Features -------- * new command rrd list to show rrd files in a directory * configurable log-level for rrdcached * hungarian translation (hu.po) API --- * New Exported funtions: rrd_lcd, rrd_reduce_data, rrd_cf_conf and rrd_list * rrd_list support for perl and python binding * all new and much more complete python bindings working on both python 2.6+ and 3.3+ * extended documentation in rrdlib.pod @ text @$NetBSD: patch-am,v 1.9 2016/02/01 09:41:59 adam Exp $ Correct examples directory. --- examples/rrdcached/Makefile.in.orig 2015-11-10 16:59:27.000000000 +0000 +++ examples/rrdcached/Makefile.in @@@@ -356,7 +356,7 @@@@ target_vendor = @@target_vendor@@ top_build_prefix = @@top_build_prefix@@ top_builddir = @@top_builddir@@ top_srcdir = @@top_srcdir@@ -examplesdir = $(pkgdatadir)/examples/rrdcached +examplesdir = $(prefix)/share/examples/rrdcached examples_SCRIPTS = rrdcached-size.pl examples_DATA = RRDCached.pm EXTRA_DIST = $(examples_DATA) $(examples_SCRIPTS) @ 1.9 log @Changes 1.5.5: Bugfixes -------- * fix JSON output in xport with legend and gprint blocks * fix parse_time mutex unlocking in the error case * don't crash on invalid variable names in CDEF * add mutex locking in rrdc_fetch * fix buffer overflow in rrd_restore * shorten test precision to 7 digits ... * never exit from a library function * buffer overflow in rrd_restore.c @ text @d1 1 a1 1 $NetBSD: patch-am,v 1.8 2010/07/06 07:31:37 adam Exp $ @ 1.8 log @Changes 1.4.4: Bugfixes: * compile: multiple fixes isnan and isinf defines to make rrdtool compile with gcc on solaris (with --disable-nls) * handle gettext/libintl like any other feature, do not try to supply our own ... rrdtool can work fine without it * rrd_client: fix potential segfaults * rrd_client: resolve synmlinks properly * compile: fix libtool and libtoolize names for OSX compiles * compile: fix for HAVE_BROKEN_MS_ASYNC (old linux kernels) * rrd_xport: fix --daemon handling * rrd_client: explicitly close connection on error * rrd_update: fix memory leak for COMPUTE datasources * rrd_daemon: fix segfault when specifying a relative path (-j option) * compile: make rrdtool compile with gcc 4.5 * portability: use %lld (long long int) for time_t *printf * compile: link pangocairo and not pango since we do use pangocairo actually * compile: re-integrate intl into compile dependency so that hosts with old (or no) gettext can get access to the included copy. * rrd_cached: exit with status !=0 on invalid cli Enhancements: * updated build files and instructions for win32 port by Chris Larsen * legal: Relicense the RRDCacheD client interface under the MIT license * legal: Updted FLOSS Exception for latest PHP license * rrd_cached: better help output @ text @d1 1 a1 1 $NetBSD$ d5 1 a5 1 --- examples/rrdcached/Makefile.in.orig 2010-07-06 07:23:46.000000000 +0000 d7 1 a7 1 @@@@ -283,7 +283,7 @@@@ target_vendor = @@target_vendor@@ d13 3 a15 3 examples_SCRIPTS = RRDCached.pm rrdcached-size.pl EXTRA_DIST = RRDCached.pm rrdcached-size.pl all: all-am @ 1.7 log @Updated databases/rrdtool to 1.3.1 * image size does get returned properly even with --lazy active this broke a number of frontends which should work now. * fix rrd_restore to be able to read rrd 1.0.x generated dumps again. * several documetation fixes * make rrdtool.spec work without php * complain when someone tries to create an rrd file with step size zero. * added filename to illegal updated interval error message. * fix number of rows returned by python modules fetch implementation. @ text @d1 1 a1 1 $NetBSD: patch-am,v 1.6 2008/06/30 07:29:48 martti Exp $ d3 1 a3 1 Prepend file name to error message. d5 11 a15 18 --- src/rrd_update.c.orig 2008-06-11 01:12:55.000000000 +0200 +++ src/rrd_update.c @@@@ -502,6 +502,15 @@@@ int _rrd_update( rra_step_cnt, updvals, tmpl_idx, tmpl_cnt, &pcdp_summary, version, skip_update, &schedule_smooth) == -1) { + if (rrd_test_error()) { /* Should have error string always here */ + char *save_error; + + /* Prepend file name to error message */ + if ((save_error = strdup(rrd_get_error())) != NULL) { + rrd_set_error("%s: %s", filename, save_error); + free(save_error); + } + } free(arg_copy); break; } @ 1.6 log @pkglint -Wall @ text @d1 1 a1 1 $NetBSD: patch-am,v 1.5 2008/06/23 16:24:30 he Exp $ @ 1.6.4.1 log @Pullup ticket #2524 - requested by martti rrdtool: update package to avoid data corruption Revisions pulled up: databases/rrdtool/Makefile 1.68-1.69 databases/rrdtool/buildlink3.mk 1.20 databases/rrdtool/distinfo 1.30-1.31 databases/rrdtool/patches/patch-al 1.13-1.14 databases/rrdtool/patches/patch-am delete --- Module Name: pkgsrc Committed By: martti Date: Tue Jul 29 17:23:17 UTC 2008 Modified Files: pkgsrc/databases/rrdtool: Makefile distinfo pkgsrc/databases/rrdtool/patches: patch-al Removed Files: pkgsrc/databases/rrdtool/patches: patch-am Log Message: Updated databases/rrdtool to 1.3.1 * image size does get returned properly even with --lazy active this broke a number of frontends which should work now. * fix rrd_restore to be able to read rrd 1.0.x generated dumps again. * several documetation fixes * make rrdtool.spec work without php * complain when someone tries to create an rrd file with step size zero. * added filename to illegal updated interval error message. * fix number of rows returned by python modules fetch implementation. --- Module Name: pkgsrc Committed By: martti Date: Wed Sep 10 05:38:12 UTC 2008 Modified Files: pkgsrc/databases/rrdtool: Makefile buildlink3.mk distinfo pkgsrc/databases/rrdtool/patches: patch-al Log Message: Updated databases/rrdtool to 1.3.2 MAJOR BUG-FIX: * When running rrdtool update with multiple updates in one go and MMAP enabled, there was a data corruption bug at wrap around. See http://oss.oetiker.ch/rrdtool-trac/ticket/178 for details Thanks to Kevin Brintnall OTHER FIXES: * Forward ported rra cur_row randomization patch from rrdtool 1.2.28 (it got lost in development). * Contrary to the documentation imginfo did return the full path of the image and not only the file name. * Make --lazy mode work even when PRINT commands are present. http://oss.oetiker.ch/rrdtool-trac/ticket/163 * Fix Ruby Bindings memory leak. * Fix compilation on solaris 2.8 * Fix a ton of memory leaks in rrd_create and some in rrd_tool as well. Based on valgrind analysis by Sven Engelhardt. Thanks! * Fix handling of error conditions in rrd_tool.c (errno is not the ideal indicator) ENHANCEMENTS: * Text Strings entered in the current locale will automatically be transformed to utf8 for proper handling by Pango. * Dramatically improved Pango Performance by introducing a static fontmap. On my test system the persistent fontmap causes the second graph with the same fonts in a single session to be created about 0.18s faster than the first one. For a total graph creation time of 0.21s this is a pretty substantial improvement. With this patch, performance for the second graph is back to 1.2.x levels or even better. @ text @d1 1 a1 1 $NetBSD: patch-am,v 1.6 2008/06/30 07:29:48 martti Exp $ @ 1.5 log @Update rrdtool from 1.2.27nb1 to 1.3.0nb1. Local change warranting nb1 is to prefix some error messages from rrdupdate with the name of the file the error relates to, carried over from nb1 of 1.2.27. Update loosely OKed by martti@@ The announcement of 1.3.0 outlines the changes since 1.2.27: NEW Fast file access methods (Bernhard Fischer / Tobi Oetiker) ---------------------------- * introduced file-accessor functions rrd_read/rrd_seek/rrd_write * implemented full mmap-based file access with madvise hints for improved scalability, much reduced memory-footprint and much less blocking while accessing the disk * implemented optional full file-descriptor access instead of FILE* access NEW Graphing (Tobi Oetiker) ------------ * libart has been replaced by cairo/pango * pango markup is supported (--pango-markup) * full grid fitting * --graph-render-mode=mono for non anti aliased graphing * --font-render-mode=mono for non anti aliased fonts * fonts come through fontconfig, use the Pango font nameing scheme -> 'Times 20' ... it is not possible to use truetype fonts directly anymore. * Tabs are position independent. * TRENDNAN filter that ignores NAN values while calculating the TREND data. (Timo Stripf) * --full-size-mode to specify the outer border of the image and not just of the graphing canvas (Matthew Chambers) * TEXTALIGN command to alter default text alignment behavior * C API in-memory graphing with rrd_graph_v (Evan Miller) * draw dashed lines in graphs (Thomas Gutzler) * new interface graphv which returns information using the rrd_info interface (Tobi Oetiker and Mark Plaksin) * improved horizontal grid. Have a bit more grid lines and y-axis labels while keeping them far enough apart to not run into each other. NEW Forecasting (Evan Miller) --------------- * the new MHWPREDICT consolidation function uses a variation of the Holt-Winters method. It is a drop-in replacement for HWPREDICT, and is better suited for data whose seasonal variations grow or shrink in proportion to the average. * If you create an RRD with the new MHWPREDICT function, the resulting rrd file will be version 0004 and can only be used in rrdtool 1.3. Rewrites -------- * rrd_restore now uses libxml for parsing which makes things much more tolerant towards xml variations. The old code could mostly just parse the XML as it was output by rrdtool dump. See also: the note at the bottom of this document. (by Florian octo Forster) * rrd_update rewritten to make it more modular. Fixed two longstanding HW bugs in the process (Evan Miller) Internationalization (Takao Fujiwara and Tobi Oetiker) -------------------- * The help output by rrdtool has been internationalized. There are no real translations included with rrdtool yet, contributions are welcome. * The internationalization will only be compiled if libintl and friends are available on your system. Use the configure option --disable-libintl if you want to disable this feature Language Bindings ----------------- * ruby rrd_fetch will return step as a last property -- Mike Perham RRDtool dump / restore incompatibility -------------------------------------- * rrdtool dump 1.3 does emit completely legal XML. Basically this means that it contains an XML header and a DOCTYPE definition. Unfortunately this causes older versions of rrdtool restore to be unhappy. * To restore a new dump with an old rrdtool restore version, either remove the XML header and the doctype by hand (both on the first line of the dump) or use rrdtool dump --no-header. @ text @d1 3 a3 1 $NetBSD$ @ 1.4 log @Add name of rrd database to "illegal attempt to update using time..." error message, since rrdupdate may update more than one rrd database. Submitted as a feature enhancement request upstream (#162). Bump package revision. @ text @d3 1 a3 1 --- src/rrd_update.c.orig 2008-02-17 11:26:32.000000000 +0100 d5 16 a20 12 @@@@ -533,9 +533,9 @@@@ _rrd_update(const char *filename, const if(current_time < rrd.live_head->last_up || (current_time == rrd.live_head->last_up && (long)current_time_usec <= (long)rrd.live_head->last_up_usec)) { - rrd_set_error("illegal attempt to update using time %ld when " + rrd_set_error("%s: illegal attempt to update using time %ld when " "last update time is %ld (minimum one second step)", - current_time, rrd.live_head->last_up); + filename, current_time, rrd.live_head->last_up); free(step_start); break; } @ 1.3 log @Update of rrdtool to 1.2.9: Major Changes between 1.0.x and 1.2.x Graphing -------- * rewritten graphics generation based on libart. - anti-aliased output - alpha transparency support - truetype fonts * additional graphics formats: EPS, PDF, SVG * extended multi-part documentation * VDEF support; define and use variables. Find, and use, the maximum rate seen by rrdtool; compute and show the average * Sliding window (trend) analysis Compute a smoother average, for instance over the last 6 CDPs * percentile (95th or other) Remove peaks, 95 percent of all rates are at or below the returned value Logging ------- * a second logging interface: rrdtool updatev Verbose updating of the database; show CPDs being created * Aberrant Behavior Detection with Holt-Winters Forecasting Compare current data with expected data, detect and log when the rates are outside expected levels * COMPUTE data type for artificial data-sources calculating their input using RPN math and data from the other data-sources. @ text @d1 1 a1 1 $NetBSD: patch-am,v 1.2 2003/02/16 23:08:59 seb Exp $ d3 14 a16 20 --- examples/cgi-demo.cgi.in.orig Tue Feb 26 10:21:25 2002 +++ examples/cgi-demo.cgi.in @@@@ -11,7 +11,7 @@@@ the shared-demo.pl.

This is NOT traffic

-

" @@@@ -22,7 +22,7 @@@@ the shared-demo.pl.

- updated php4 bindings to work with php 4.2.3 - 2002/10/07 Tomoyuki Murakami -z does not take an option - 2002/10/03 Gonzalo Augusto Arana Tagle fix for PREV() operator - 2002/08/01 Paul Clifford fix for segfault in print_calc function + 2002/07/31 "Nenad Antic (EAB)" rrdfetch manpage update - 2002/07/12 Gonzalo Augusto Arana Tagle PREV(xxx) match with DEF_NAM_FMT - 2002/07/12 Joerg Mertin fixed bindings for php4 - 2002/07/02 Philippe.Simonet@@swisscom.com fixed DINF for win32 compile = 1.0.39 2002/06/20 -- Tobi + 2002/06/20 -- Gonzalo Augusto Arana Tagle * new CDEF feature PREV(x) which allows for funky new filters to be created easily + 2002/06/14 -- "Shipway, Steve" * Improved docs for rrd_resize - Tobi * increassed commandline buffer in rrd_tool.c to 100 kilo Byte * in rrd_graph replace rint by ceil ...its more portable * remove // comments and replace with /* .... */ * due to popular demand change strftime format to %V for weeks + 2002/05/24 -- Joe Griffin * config.guess and config.sub updates for IA64 = 1.0.38 2002/05/22 -- Tobi - 2002/05/12 -- Tobi * fix for crash in restore when used with existing file - 2002/04/29 -- Alex * fix for PRINT template parser in rrd_graph ... - 2002/04/16 -- Milan Obuch * fix for --alt-mrtg + 2002/05/01 Wolfgang Schrimm * new subcommand xport = 1.0.37 2002/04/13 -- Tobi - 2002/04/14 -- Thierry Nkaoua * do not change LC_ALL but just LC_TIME ... = 1.0.36 2002/04/13 -- Tobi + 2002/04/13 -- Milan Obuch * added new options to rrdgraph. Check the manpage for --overlay, --background, --unit, GD (graph output format) + 2002/04/09 -- Tobi * added setlocale and tzset calls to rrd_graph - 2002/04/09 -- Tobi * removed description of --goodfor and --refresh from rrdcgi - 2002/04/02 -- Paul Vixie * rrd restore should not burn down existing files - 2002/03/23 -- Oliver Cook * kill segfault in diff code for non digit input - 2002/03/23 -- Ashok Mandala * make sure CDEFs work properly even when none of the contributing data sources start at start of the cdef. + 2002/03/20 -- David Lee * Allow link builds through the ../configure syntax = 1.0.35 2002/03/20 -- Tobi - 2002/03/20 -- Tobi * fixed longstanding off by 1 bug in CDEF for cases where RRDs with different step sizes were mixed in one CDEF - 2002/03/13 -- Tobi * Deal with cases where Config{cc} contains an absolute path to perls C compiler. - 2002/03/14 -- Matt Galvin * new OS detector config files which can deal with macos X = 1.0.34 2002/03/12 -- Tobi - 2002/02/12 -- Tobi * replaced zlib 1.1.3 with 1.1.4 - 2002/02/06 -- Alexander Schwartz * allow rrdcgi to deal with umlauts - 2001/12/27 -- Tom.Bertelson@@gecapital.com * fix overflow error in rrd_fetch - 2001/11/28 -- Richard A. Steenbergen * allow + - and ' ' in printfsring - 2001/03/31 -- Tobi * added 'all' dependancy to site-perl-install rule as many seem to skip this step when instaling cricket ... probably an incomplete cricket doku. - 2001/03/02 -- Mike Franusich * filedescriptor leak fixed in rrd_open for faild open attempts. - 2001/03/01 -- Tobi * test if compiler perl wants to use for building its modules is available on the system * zlib wants to be linked with -fpic on HPUX or it breaks ... @ text @d1 1 a1 1 $NetBSD$ @ 1.1 log @Initial revision @ text @d3 4 a6 12 --- examples/shared-demo.pl.in.orig Sun Nov 14 13:07:33 1999 +++ examples/shared-demo.pl.in Sun Nov 14 13:12:13 1999 @@@@ -36,8 +36,8 @@@@ my $GRUNS = 4; my $RRD1 = "shared-demo.rrd"; my $RRD2 = "shared-demob.rrd"; -my $GIF1 = "shared-demo1.gif"; -my $GIF2 = "shared-demo2.gif"; +my $PNG1 = "shared-demo1.png"; +my $PNG2 = "shared-demo2.png"; my $time = 30*int(time/30); my $START = $time-$RUNS*$STEP; a7 3 @@@@ -109,18 +109,18 @@@@ die "$0: unable to update `$RRD2': $ERROR\n"; } d9 14 a22 31 -print "* Creating $GRUNS graphs: $GIF1 & $GIF2\n\n"; +print "* Creating $GRUNS graphs: $PNG1 & $PNG2\n\n"; my $now = $time; for (my $i=0;$i<$GRUNS;$i++) { - my @@rrd_gifs = ($RRD1, $GIF1, $RRD2, $GIF2); - while (@@rrd_gifs) { - my $RRD = shift(@@rrd_gifs); - my $GIF = shift(@@rrd_gifs); - my ($graphret,$xs,$ys) = RRDs::graph $GIF, "--title", 'Test GRAPH', + my @@rrd_pngs = ($RRD1, $PNG1, $RRD2, $PNG2); + while (@@rrd_pngs) { + my $RRD = shift(@@rrd_pngs); + my $PNG = shift(@@rrd_pngs); + my ($graphret,$xs,$ys) = RRDs::graph $PNG, "--title", 'Test GRAPH', '--base', '1024', "--vertical-label", 'Dummy Units', "--start", (-$RUNS*$STEP), "--end", $time, - "--interlace", "--imgformat","GIF", + "--interlace", "--imgformat","PNG", "DEF:alpha=$RRD:a:AVERAGE", "DEF:beta=$RRD:b:AVERAGE", "DEF:gamma=$RRD:c:AVERAGE", @@@@ -147,7 +147,7 @@@@ if ($ERROR = RRDs::error) { print "ERROR: $ERROR\n"; } else { - print "GIF Size: ${xs}x${ys}\n"; + print "PNG Size: ${xs}x${ys}\n"; print "Graph Return:\n",(join "\n", @@$graphret),"\n\n"; } } @ 1.1.1.1 log @Initial import of rrdtool-1.0.7: A data analysis tool generating graphical representations. (Round Robin Database Tools) Provided in PR 8716 by Berndt Josef Wulf . Heavily reworked by Berndt with some modifications by myself. @ text @@