[rrd-users] connecting to RRDTool using java, suggestion request

Tarus Balog tarus at opennms.org
Wed Mar 5 19:54:11 CET 2008

On Mar 5, 2008, at 10:44 AM, mfenske at mat.uni.torun.pl wrote:

> I already have a path that makes ganglia not only store information to
> rrd database, but also redirect them to stdout. The information are
> then taken from std out, using a pipe, and stored in jRobin database.
> This provides easy access to rrd (jRobin) database from java. The
> problem here is that the pipe consumes a lot of CPU.

Depending on your needs, you can check out OpenNMS (http://www.opennms.org 
). OpenNMS can gather information from your systems via SNMP, JMX or  
HTTP (we "screen scrape" the source of a web page using regexs) and  
store it in either jRobin or RRD files (using a JNI library we wrote  
called jrrd).

One thing to note is that the database files created by jRobin are not  
binary compatible with RRDtool. They are the same regardless of  
operating system, which I believe is something Tobi is working on for  
the next release of RRDtool. So -  if you just need to create the  
files for use by your application, jRobin might be fine, but if you  
want to use them with other tools that operate on RRDtool files, you  
should probably use the RRDtool method of storage.

Also note that we maintain jRobin as well, although not as actively as  
I would like, so it is a port of RRDtool 1.0, not 1.2.


Tarus Balog, OpenNMS Maintainer             Main:   +1 919 533 0160
The OpenNMS Group, Inc.                     Fax:    +1 503 961 7746
Skype: tarusb                               Direct: +1 919 647 4749
Email: tarus at opennms.org                    URL: http://www.opennms.org
PGP Key Fingerprint: 8945 8521 9771 FEC9 5481  512B FECA 11D2 FD82 B45C

More information about the rrd-users mailing list