[rrd-users] Trouble with RRDs::graph

M@ Knudson mknudson at corp.eni.net
Fri Jan 7 00:43:41 MET 2000


Hi!

I'm getting a segmentation fault with the following piece of code:

                                                my(@args) = (
                                                        "/dev/null",

"DEF:ds0=$rrdfile:ds$dsnum:AVERAGE",

"DEF:ds1=$rrdfile:ds$dsnum:MAX",

"CDEF:sds0=ds0,$scale",

"CDEF:sds1=ds1,$scale",

"PRINT:sds0:AVERAGE:\%f",

"PRINT:sds1:MAX:\%f" );
                                               ($mmax, undef, undef) =
RRDs::graph @args;

Using debug I found that it seg faults when it calls RRDs::graph, though
if I comment the line out; any of the calls later in the script work
fine.

Any ideas at all would be extremely helpful...

M@ Knudson
Network Operations
Epoch Networks, Inc.

--
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://www.ee.ethz.ch/~slist/rrd-users



More information about the rrd-users mailing list