<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.30.2">
</HEAD>
<BODY>
Dnia 2010-09-29, &#347;ro o godzinie 03:09 +0200, Bostjan Skufca pisze:
<BLOCKQUOTE TYPE=CITE>
<PRE>
Maybe it's time to make a script for automated dump/change obviously
invalid data to NaN/import of rrds.

Anyway, it is indeed COUNTER in my RRD files.
Do you know how  why it was not DERIVE specified at rrd creation?

Probably I should consult google and manuals for this, but: is there
an easy way to change from COUNTER to DERIVE or do I have to dump and
reload the data?

Thanks!
b.

</PRE>
</BLOCKQUOTE>
Easiest fix would be stopping collectd for a minute, and then mysql restart. Datatype was not DERIVE probably because mysql plugin (as many other) is much older than actual DERIVE support in collectd :)<BR>
As for changing counter to derive, simple rrdtool dump to xml file and find/replace should be enougth<BR>
<BR>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
<PRE>
-- 
Mariusz Gronczewski (XANi) &lt;<A HREF="mailto:xani666@gmail.com">xani666@gmail.com</A>&gt;
GnuPG: 0xEA8ACE64
<A HREF="http://devrandom.pl">http://devrandom.pl</A>
</PRE>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>