Editing .rrd files from rrd4j

rrd4j
Tags: #<Tag:0x00007f0147f99f58>

(Travellingkiwi) #1

Normally I’d just rrdtool dump the file, remove the corrupt values and then restore. But rrd4j files aren’t real rrd files (By real I mean rrdtool).

Is there an easy way to remove corrupt (i.e. radiator temps > 700C) values from my RRD’s?

H


(Jürgen Baginski) #2

IMHO NO!
The rrd4j database can use several archives to implement data compresion (on the archives number 2+).
This compression is calculated while storing the minute wise data in the first archive. Any change of data on a later time will only affect the data point changed, I. E. only in the archive changed, other archives which are calculated from that that point will not be changed, hence will be in error.
Due to that such a change is not allowed.


(Travellingkiwi) #3

:confounded: I’ve never actually used rrd4j before. It’s very close to Toby’s original. But lack of ability to dump & edit bad values is a killer.

Maybe one of the databases options for persistence would be better for my needs…


(Nathan Stratton) #4

java -cp rrd4j-2.1.1.jar org.rrd4j.inspector.RrdInspector


(Jürgen Baginski) #5

HowTo change values in rrd4j