Nikolaos Abatzis | 2 Jan 2001 21:59
Favicon

rrd_open coredumps !!!!


Hi guys,

I am getting an SIGSEV from rrd_open which is called from rrd_update (C
code). The statement that causes the fault is the MYFREAD at line  72 ->
MFREAD(rrd->cdp_prep, cdp_prep_t, (rrd->stat_head->rra_cnt *
rrd->stat_head->ds_cnt)),

What is REALLY strange is that malloc crashes!!!!   Rra_cnt is 4 and ds_cnt
is 7 so the arguments are correct !!!!
This is really a mystery and it is holding back, any help would be GREATLY
appreciated! If you need any code let me know.

Thanks a lot.... And happy new year !!

Nikolaos Abatzis
Consultant
Blackboard Inc
1899 L Street, NW
Washington, DC 20036
phone: (202)  463-4860 x.542

Blackboard - Bringing Education Online
Create your FREE CourseSite at ww.Blackboard.com today

--
Unsubscribe mailto:rrd-developers-request <at> list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-developers-request <at> list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/rrd-developers
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi
(Continue reading)

Nikolaos Abatzis | 11 Jan 2001 16:34
Favicon

some questions on future features of rrdtool


Good morning to all,

Are there any plans for 3D graphs with RRD ?

Are there any plans for making pie charts with RRD, 2D and 3D ?

What about bar graphs, 2D and 3D ?

I have looked in the archives and I haven't seen anything mentioned. Any
ideas ?

Thanks.

Nikolaos Abatzis
Consultant
Blackboard Inc
1899 L Street, NW
Washington, DC 20036
phone: (202)  463-4860 x.542

Blackboard - Bringing Education Online
Create your FREE CourseSite at ww.Blackboard.com today

--
Unsubscribe mailto:rrd-developers-request <at> list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-developers-request <at> list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/rrd-developers
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi

(Continue reading)

Chris Fedde | 11 Jan 2001 18:31
Picon
Picon

Re: some questions on future features of rrdtool

On Thu, 11 Jan 2001 10:34:14 -0500  Nikolaos Abatzis wrote:
 +------------------
 | 
 | Good morning to all,
 | 
 | Are there any plans for 3D graphs with RRD ?
 | 
 | Are there any plans for making pie charts with RRD, 2D and 3D ?
 | 
 | What about bar graphs, 2D and 3D ?
 | 
 | I have looked in the archives and I haven't seen anything mentioned. Any
 | ideas ?
 | 
 | Thanks.
 +------------------

In my opinion this would be a mistake.  Isometric extrusiuons of
2d charts add no new information while making the data harder to
understand.  If you need 3d charts you can use fetch to dump the
data from the rrd and import it into a graphic design tool.

How do you propose representing time series data in a pie chart?
Again if you have more general graphing needs use fetch and laod
the data into a more general graphing tool.

--
    Chris Fedde

--
(Continue reading)

Alex van den Bogaerdt | 12 Jan 2001 01:47
Picon

Re: some questions on future features of rrdtool


Chris Fedde wrote:

>  | Are there any plans for making pie charts with RRD, 2D and 3D ?

I do recall some mentioning of this either on the list or somewhere
in the docs.  Perhaps I'm remembering about polar charts so I may
be mistaking.

> In my opinion this would be a mistake.  Isometric extrusiuons of
> 2d charts add no new information while making the data harder to
> understand.  If you need 3d charts you can use fetch to dump the
> data from the rrd and import it into a graphic design tool.

3D might just improve visibility a bit when using series of AREA.
It would also be nice to have for pie charts as it can be used as
an extra dimension (if needed) or just to improve visual attraction
for the viewer.

> How do you propose representing time series data in a pie chart?

I can think of one good reason: one doesn't always need to see the
data sequentially.  For instance, I would be interested in viewing
packet sizes as an percentage.  I do not necessarily want to know
when the large packets are sent.  In a pie chart, this can be made
visible much more clearly than with the current available graph.
(so would an histogram by the way)

It could be something like

(Continue reading)

Chris Fedde | 12 Jan 2001 06:26
Picon
Picon

Re: some questions on future features of rrdtool

On Fri, 12 Jan 2001 01:47:55 +0100 (CET)  Alex van den Bogaerdt wrote:
 +------------------
 | Chris Fedde wrote:
 | 
 | > How do you propose representing time series data in a pie chart?
 | 
 | I can think of one good reason: one doesn't always need to see the
 | data sequentially.  For instance, I would be interested in viewing
 | packet sizes as an percentage.  I do not necessarily want to know
 | when the large packets are sent.  In a pie chart, this can be made
 | visible much more clearly than with the current available graph.
 | (so would an histogram by the way)
 | 
 | > Again if you have more general graphing needs use fetch and laod
 | > the data into a more general graphing tool.
 | 
 | That can be said about *everything* we do with RRDtool.  The program
 | itself is innovation so don't try to stop innovation/progress.
 | 
 | cheers,
 +------------------

I'll be the first to admit that I'm a bit of a luddite when it
comes to feature creep.  To my way of thinking the primary value
to RRD is the data file format itself.  The graphing features are
nice but not strictly necessary.  IMHO the stack language used
by rrdtool graph seems much more cumbersome than doing similar
things using gnuplot, one of the perl or python graphing modules
or even excel.

(Continue reading)

Terminator rAT | 26 Jan 2001 03:50

rrd_graph '--imgmap-info' patch for image maps

Hi, folks.

The attached patch (vs. rrdtool-1.0.28) provides an additional option to
rrdgraph(1) which outputs the size and coordinates of the graph portion of
the image.  This can be used to create image maps or automatically extract
the graph from the image file.

Here is the description from the rrdgraph.pod file:

     -m|--imgmap-info (default: false)
         Print coordinates and dimensions of the actual graph
         portion of the image, appended to the image width and
         height output.  This information can be used to create
         an HTML image map for CGI zoom applications, detail
         views, etc.

         The output line looks like :

             <imgwidth>x<imgheight> (<gwidth>x<gheight>+<gleft>+<gbottom>)

         For instance, rrdgraph --imgmap-info ... might print to
         stdout:

             495x155 (400x100+75+114)

         This is a 495x155 image, with a 400x100 pixel graph
         area.  The lower left corner of the graph portion of the
         image is at pixel coordinates (75,114).

The actual code changes are fairly minimal -- the caller passes an
(Continue reading)

Terminator rAT | 26 Jan 2001 17:58

perl-shared patch for rrdgraph '--imgmap-info' option

Boy, if it ain't one thing, it's another.  ;^)  I forgot to include the
changes to perl-shared/RRDs.xs in the original '--imgmap-info' patch.  I
apologize for any inconvenience.

The attached patch adds the graph width/height/xoffset/yoffset to the list
returned from RRDs::graph() if '--imgmap-info' was specified.  it should
be applied in conjunction with my previous patch posted on 1/25/2001.

Cheers,

	- Karl "rAT" Schilke

On Thu, 25 Jan 2001, Terminator rAT wrote:
 > The attached patch (vs. rrdtool-1.0.28) provides an additional option to
 > rrdgraph(1) which outputs the size and coordinates of the graph portion of
 > the image.

--

-- 
O----O  Karl "rat" Schilke  -+-  karl_schilke <at> eli.net  -+-  (360)816-3837
 \oO/
==\/==               "So Much Time, So Little Coffee!"

-- Attached file removed by Listar and put at URL below --
-- Type: TEXT/PLAIN
-- Size: 1k (1154 bytes)
-- URL : http://www.ee.ethz.ch/~slist/pantomime/xs-patch

--
Unsubscribe mailto:rrd-developers-request <at> list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-developers-request <at> list.ee.ethz.ch?subject=help
(Continue reading)

Markus PISTAUER (CISC | 29 Jan 2001 23:31
Picon

Error storing data in RRD

Hello,

I have a problem to store data correctly within the RRD data base. A
sequence of '1' and '0' will be stored in a a sequence of '0.87...' and
'0.12' (some averaging). The code to do this is below (also the log file
where I read data from) - the code is not the best but I did a lot of
testing on it - sorry for that but I have no idea how to figure out why
this problem occours.

I know that averaging is done using the RRD but as the setup of the rrd data
base shows it should not and also a max and min value is stored (to be sure)

(see image with wrong data created and attached)

Any help VERY !!! appreciated

	Markus

You can cut/paste the code in file, the same for the data (select file
name xxx1.log), you will get the image xxx1.gif ...

---8<------- The CODE (Perl) ----------------
#! /usr/bin/perl
#
# MAKE RRD Database for testing purposes
###############################################################################

### --- USE the perl library for the RRD perl module
use lib qw( /usr/local/rrd/lib/perl );
use RRDp;		# load RRD perl module
(Continue reading)


Gmane