[collectd] Collectd 5.1.0 - GenericJMX plugin

Manish Sapariya manish.sapariya at kpoint.com
Sat Sep 29 09:49:55 CEST 2012


Hi,
I installed collectd-5.1.0 from sources.

The sample file for java plugins section is as follows
=========
<Plugin "java">
         #JVMArg "-verbose:jni"
         JVMArg "-verbose:jni 
-Djava.class.path=/opt/collectd/share/collectd/java/collectd-api.jar:/opt/collectd/share/collectd/java/generic-jmx.jar"
=========

which result in error...

=========
[2012-09-27 14:06:44] cjni_init_native: Cannot find the API class 
"org.collectd.api.Collectd". Please set the correct class path using 
'JVMArg "-Djava.class.path=..."'.
==========

After few trials I figured that everything is fine if you remove 
"-verbose:jni" from JVMArg.

Is this a known issue?

-- 
Thanks and Regards,
Manish



More information about the collectd mailing list