[rrd-users] Cryptic RRDTool error?

James Mancini jmancini at netreo.net
Thu Jul 5 22:04:05 MEST 2001


[[ Apologies to all if this comes in duplicated, apparently the first one
may have been sent with MIME/Base64 encoding and not everyone can read that.
My bad. ]]

Hello all,

When I try to use the RRDs::Graph function, the error I get is cryptic and I
can't find it in the documentation.I'm wondering if the RRD files got
corrupted somehow.

I've already tried deleting them and they're either getting re-corrupted, or
I don't understand what's going on -- Some of the other .rrd's created by
the same process are fine, while several (maybe .1%) of them give me this
error. The RRD in question has very little data in it, but usually RRDTool
just returns a NaN if I ask for something that isn't there, right?

Any help appreciated. TIA. PS: If it looks unusual, it's because I'm just
using the PRINT values returned and not actually generating a graph for
display.

The error is:
	RRD ERROR: fetching cdp from rra

I'm calling it like this:
    ($data, $x, $y) = RRDs::graph @graphOpts;
     my $e = RRDs::error();

The @graphOpts variables are:
	/dev/null
	DEF:A=/tmp/18_host.rrd:bytes_in:AVERAGE
	DEF:B=/tmp/18_host.rrd:bytes_out:AVERAGE
	DEF:C=/tmp/18_host.rrd:bytes_in:MAX
	DEF:D=/tmp/18_host.rrd:bytes_out:MAX
	PRINT:A:AVERAGE:%lf
	PRINT:B:AVERAGE:%lf
	PRINT:C:MAX:%lf
	PRINT:D:MAX:%lf
	-s -2000m


____________________________________________________
James Mancini, CCIE #2006, CCSI #23051        Netreo
Chief Strategy Officer               V: 714.560.8935
<jmancini at netreo.net>                F: 714.560.8937
____________________________________________________


--
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
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the rrd-users mailing list