I was using rrd4j 2.2 with ganglia to provide performance metrics to our web-based UI which includes it's own graphing package. As you probably know, ganglia's gmetad gathers stats from all nodes in a cluster and stores them in rrdtool binary format. I was using the PREFIX_RRDTool ("rrdtool:/") when instantiating an RrdDb object to fetch the data using the rrdtool format. This worked fine when using the root file system on our management node, which runs SUSE 11 (x86_64 based). However, when trying to store the files in our cluster file system, I continuously got the "not an RRD file" error. I dumped out the header, and it was all zero's. The underlying file system is based on XFS, and I found that Tobi fixed an mmap issue (https://github.com/oetiker/rrdtool-1.x/issues/426). Our cluster file system does not support mmap functionality since it's essentially a distributed NAS cluster which supports NFS and CIFS/Samba access and mmap doesn't necessarily lend itself easily to support mmap. So for us, it worked best to compile rrdtool with the "--disable-mmap" option. I also noticed that there is a version of rrdtool in the works (2.3) which contains the jrrd package which allows me to read the rrdtool format directly. I download the rrd4j 2.3 code and compiled it so that I can get a two-dimensional double[][] array, where the first column contains the timestamps and the second column contains the metric values. In this case, I have one for the RX bytes for a specified node & network interface and another one for the TX bytes. The main reason I need the 2.3 version is that it contains a getTimestamps() method for the DataChunk class. So my question is, when will the 2.3 version be officially released. I haven't seen any postings on its state for awhile now.
-- View this message in context: http://opennms.530661.n2.nabble.com/jrobin-and-rrd4j-tp7584510p7586640.html Sent from the OpenNMS - devel mailing list archive at Nabble.com. ------------------------------------------------------------------------------ "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE Instantly run your Selenium tests across 300+ browser/OS combos. Get unparalleled scalability from the best Selenium testing platform available Simple to use. Nothing to install. Get started now for free." http://p.sf.net/sfu/SauceLabs _______________________________________________ Please read the OpenNMS Mailing List FAQ: http://www.opennms.org/index.php/Mailing_List_FAQ opennms-devel mailing list To *unsubscribe* or change your subscription options, see the bottom of this page: https://lists.sourceforge.net/lists/listinfo/opennms-devel