-
-
Notifications
You must be signed in to change notification settings - Fork 734
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RRD files - http://javascriptrrd.sourceforge.net/index.html #610
Comments
I did not know javascriptrrd, thanks. And the cause of the error is probably because javamelody uses jrobin 1.5.9, which does not use the same rrd files format as the original RRDTool. In fact, the original RRDTool itself does not use a unique "standard" format: the RRD files format of RRDTool is not portable: http://oss.oetiker.ch/rrdtool-trac/wiki/PortableRrdFormat But there exists a tool called jrrd which is supposed to convert jrobin rrd files to xml and then xml to rrdtool rrd files: You may try to convert your rrd files to see if it works better with javascript-rrd or rrdgraph-js. |
Possibly the rrdgraph-js can be enhanced to support RRD files generated with JRobin then it can be integrated in javamelody easily? I posted a new issue in rrdgraph project: |
I've tried every rrd tool on the planet including the ones listed by evernat but every single one is saying that the javamelody rrd files are not in a proper format. what tool does every one use to read these files? Every single rrd file is 34k which is suspicious as well. |
@ratherDashing |
Problem I'm experiencing is that jrobin 1.5.9 doesn't seem to be able to parse the .rrd files that are generated. java -cp jrobin-1.5.9.jar org.jrobin.core.jrrd.Main systemCpuLoad.rrd |
I agree with ratherDashing. I am getting the same error when I try to read one of the rrd files, usedMemor.rrd $ java -cp jrobin-1.5.9.jar org.jrobin.core.jrrd.Main usedMemory.rrd |
@BuildMonkey @ratherDashing
or in your own java program: double lastValue = new org.jrobin.core.RrdDb(new File("usedMemory.rrd")).getLastDatasourceValue("usedMemory"); Attached is a zip with a sample usedMemory.rrd file produced with javamelody: |
I have also added dump as xml or txt from the browser for the next release (1.83), see doc. A snapshot build is at http://javamelody.org/downloads/javamelody-core-1.83.0-SNAPSHOT.jar |
Hi, I JavaMelody is great. Have you come across javascriptrrd? It is very good at creating interactive graphs from RRD files.
Are JavaMelody rrd files standard rrd? I've tried setting up javascriptrrd graphs but I am getting "wrong magic id". I've used javascriptrrd successfully with other rrd files a few times.
Thanks
The text was updated successfully, but these errors were encountered: