[collectd] JVM statistics collection?

Florian Forster octo at verplant.org
Fri Jan 30 20:14:05 CET 2009


Hi Justo,

if I understand your implementation correctly, you use JNI to call Java
methods/functions and most JMX, RMI and such stuff is implemented in
Java. Right?

Wouldn't it make sense to change that into a generic Java plugin,
similar to the Perl plugin, so that all kind of stuff could be written
in Java? From the look of it we could probably re-use some code form
`jcollectd' ([0] if you haven't seen it yet), such as data
representation and data mapping.

The JMX stuff could then be implemented on top of that. I think there's
no need to reimplement much again, because your code already separates
JVM handling and data collection well.

What do you think?

Regards,
-octo

[0] <http://support.hyperic.com/display/hypcomm/jcollectd>
-- 
Florian octo Forster
Hacker in training
GnuPG: 0x91523C3D
http://verplant.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://mailman.verplant.org/pipermail/collectd/attachments/20090130/ca55f5e5/attachment.pgp 


More information about the collectd mailing list