Hello guys, i'm developing a application that generate rrd file at back-end by rrd4j library and load it at front-end by javascriptrrd but it always carries out "… is not a valid RRD Archive".
I had tried to using xmlDump to make rrd4j file to xml and use "rrdtool restore .. " to make a valid rrd file for rrdtool. This file can be loaded but no graph appear. Moreover, all the example rrd file in the source code of javascriptrrd are not compatible with rrdtool.
What did i do wrong?
Thank you!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The rrd4j library is indeed not RRDTool compatible;
while it has a similar name, it is not affiliated with RRDTool at all.
So it is indeed not supported right now.
Adding support for rrd4j to javascriptrrd sounds like a good idea, though.
Unfortunately, currently I can dedicate only very little effort to javascriptrrd development, so I cannot promise a solution in the sort term.
Cheers,
Igor
PS: I am suprtised rrd resore did not work.
PS2: rrdtool creates files which are architecture dependent, so I am not surprised that the example files does not work for you on the command line.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello guys, i'm developing a application that generate rrd file at back-end by rrd4j library and load it at front-end by javascriptrrd but it always carries out "… is not a valid RRD Archive".
I had tried to using xmlDump to make rrd4j file to xml and use "rrdtool restore .. " to make a valid rrd file for rrdtool. This file can be loaded but no graph appear. Moreover, all the example rrd file in the source code of javascriptrrd are not compatible with rrdtool.
What did i do wrong?
Thank you!
Hi Nguyễn.
The rrd4j library is indeed not RRDTool compatible;
while it has a similar name, it is not affiliated with RRDTool at all.
So it is indeed not supported right now.
Adding support for rrd4j to javascriptrrd sounds like a good idea, though.
Unfortunately, currently I can dedicate only very little effort to javascriptrrd development, so I cannot promise a solution in the sort term.
Cheers,
Igor
PS: I am suprtised rrd resore did not work.
PS2: rrdtool creates files which are architecture dependent, so I am not surprised that the example files does not work for you on the command line.