OK, I have something working now.

A good part of rrdtool configuration is managed in rrd4j's strategy, and all 
test taken from the jrobin succeeds.
To run the test from within Eclipse I needed to modify 
opennms-rrd/opennms-rrd-api/src/main/resources/org/opennms/netmgt/rrd/rrd-configuration.xml
 :

diff --git 
a/opennms-rrd/opennms-rrd-api/src/main/resources/org/opennms/netmgt/rrd/rrd-configuration.xml
 
b/opennms-rrd/opennms-rrd-api/src/main/resources/org/opennms/netmgt/rrd/rrd-configuration.xml
index dc54fe1..3b34ebd 100644
--- 
a/opennms-rrd/opennms-rrd-api/src/main/resources/org/opennms/netmgt/rrd/rrd-configuration.xml
+++ 
b/opennms-rrd/opennms-rrd-api/src/main/resources/org/opennms/netmgt/rrd/rrd-configuration.xml
@@ -4,7 +4,7 @@
                <property name="properties">
                        <props>
                                <!-- General configuration -->
-                               <prop 
key="org.opennms.rrd.strategyClass">org.opennms.netmgt.rrd.jrobin.JRobinRrdStrategy</prop>
+                               <prop 
key="org.opennms.rrd.strategyClass">org.opennms.netmgt.rrd.rrd4j.Rrd4JRrdStrategy</prop>
                                <prop key="org.opennms.rrd.usequeue">true</prop>
                                <prop key="org.opennms.rrd.usetcp">false</prop>
                                <prop key="org.opennms.rrd.fileExtension" />


I have a up to date fork of opennms available at 
https://github.com/fbacchella/opennms.

The missing argument from rrdtool are :
no-gridfit
right-axis
right-axis-format
force-rules-legend
legend-direction
imginfo
grid-dash
border
dynamic-labels
zoom
font-render-mode
font-smoothing-threshold
pango-markup

I will check which one are missing from rrd4j and which one are just missing 
from the parser.

The default format for rrd file is version 1, which is compatible with jrobin 
but is heavy on the IO. People are urged to try version 2 with the parameter 
org.rrd4j.core.RrdVersion.

I kept FILE as the backend, I agree that NIO is too heavy on memory.

Please feel free to try to break it and compare results with rrdtool.
------------------------------------------------------------------------------
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. 
http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk
_______________________________________________
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

Reply via email to