[rrd-users] Re: segmentation fault with graph command

Alex van den Bogaerdt alex at ergens.op.het.net
Tue Sep 13 04:44:31 MEST 2005


On Mon, Sep 12, 2005 at 06:46:35PM -0700, Kate Ericson wrote:

> I'm getting a seg fault error while trying to graph using rrdtool version
> 1.0.46 on i386 Linux.  I can execute the rrdtool dump command (output at
> http://tech.teragrid.org/inca/TG/html/rrd_dump).  I think there might be a
> problem with my DEF line.  Any advice?  

It shouldn't segfault. That's not right.  Is 1.0.46 the latest version?
Checking...  no, it isn't, 1.0.50 is.  Maybe this is a known bug fixed
in newer versions.

Anyway, unless I'm mistaking, it should produce an error
message about a non-existing file.  This one to be precise:

"tgcp_to_ncsa_home,package=tgcp,service=transfer,serviceType=data,resource=ia64,site=anl,vo=teragrid.rrd"

Yes, that's one big filename.  Or maybe it selects
"tgcp,service=transfer,serviceType=data,resource=ia64,site=anl,vo=teragrid.rrd"
or maybe
"transfer,serviceType=data,resource=ia64,site=anl,vo=teragrid.rrd"
and so on.

Also, I'm not sure about the DEFinded datasource name "exitStatus,test"
or perhaps "exitStatus,test=tgcp_to_ncsa_home,package"
or perhaps "exitStatus,test=tgcp_to_ncsa_home,package=tgcp,service"
and so on.

Where did you get the idea to use commas and multiple equal signs?
What is your intention?

> DEF:ncsa_home=exitStatus,test=tgcp_to_ncsa_home,package=tgcp,service=transfe
> r,serviceType=data,resource=ia64,site=anl,vo=teragrid.rrd:tgcp:LAST \

If you want datasource "tgcp" from file "teragrid.rrd", the line should read

DEF:ncsa_home=teragrid.rrd:tgcp:LAST
or
DEF:ncsa_home=/path/to/teragrid.rrd:tgcp:LAST

Simple:  name to use, followed by "=", followed by a filename, followed by
a colon, followed by the datasource name you want from that file, etc.

If you want multiple datasources, you need to use multiple DEF statements.
DEF:var1=/path/to/teragrid.rrd:ds1:LAST
DEF:var2=/path/to/teragrid.rrd:ds2:LAST
DEF:var3=/path/to/other.rrd:ds1:LAST
DEF:var4=/path/to/other.rrd:ds2:LAST

and so on.

HTH
Alex

--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://lists.ee.ethz.ch/rrd-users
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi



More information about the rrd-users mailing list