Dnia 2010-09-29, śro o godzinie 03:09 +0200, Bostjan Skufca pisze: > 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. >
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 :) As for changing counter to derive, simple rrdtool dump to xml file and find/replace should be enougth -- Mariusz Gronczewski (XANi) <xani...@gmail.com> GnuPG: 0xEA8ACE64 http://devrandom.pl
signature.asc
Description: This is a digitally signed message part
_______________________________________________ collectd mailing list collectd@verplant.org http://mailman.verplant.org/listinfo/collectd