[rrd-users] Re: Cryptic RRDTool error?

Alex van den Bogaerdt alex at slot.hollandcasino.nl
Fri Jul 6 00:58:57 MEST 2001

James Mancini wrote:

> 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.

If feasable, dump the database to ascii format and check.  The structure
of an RRD file is quite simple.  It should not be too hard to check this.

> 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?

This is not correct.  If RRDtool gives you NaN values, it is simply
returning data that *is* there.  The data just is NaN.
Of course somebody will correct me if I'm wrong on this.

> The error is:
> 	RRD ERROR: fetching cdp from rra

I'm not entirely sure but it seems that you are asking for an entry
that is not in any RRA.  If you have created the dump, you can easely
check this; all available intervals are shown.

> The @graphOpts variables are:
> 	-s -2000m

Is this perhaps a RRD that has no RRA which stores upto 2000 minutes ?
Or maybe the 'm' is mistaken to mean months? (just try it by specifying
'min' in stead of 'm').

 / alex at slot.hollandcasino.nl                  alex at ergens.op.het.net \
| work                                                         private |
| My employer is capable of speaking therefore I speak only for myself |
| Technical questions sent directly to me will be nuked. Use the list. | 
| http://faq.mrtg.org/                                                 |
| http://rrdtool.eu.org  --> tutorial                                  |

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