[collectd] Collectd GenericJMX / java plugin

Grégory Saramite g.saramite at gmail.com
Fri Mar 25 20:41:06 CET 2016

Hi there,

Do you guys know how to deal with this error by any chance

*java plugin: cjni_config_load_plugin: FindClass
(org/collectd/java/GenericJMX) failed ?*

I am trying to get the *genericjmx* plugin installed and configured. I had
first to find my way around this bug
https://bugzilla.redhat.com/show_bug.cgi?id=1212151#c2 which I ended up
solving as proposed in the bug comments.

so this looks fine now:

# ldd /usr/lib64/collectd/java.so
linux-vdso.so.1 =>  (0x00007ffc74bc3000)
libjvm.so => /usr/lib/jvm/jre/lib/amd64/server/libjvm.so
libdl.so.2 => /lib64/libdl.so.2 (0x00007f3a234b6000)
libc.so.6 => /lib64/libc.so.6 (0x00007f3a230f5000)
libstdc++.so.6 => /lib64/libstdc++.so.6 (0x00007f3a22ded000)
libm.so.6 => /lib64/libm.so.6 (0x00007f3a22aea000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f3a228ce000)
/lib64/ld-linux-x86-64.so.2 (0x00007f3a247c9000)
libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007f3a226b8000)

But I am still dealing with this

2016-03-25 19:06:30] Plugin `df' did not register for value
[2016-03-25 19:06:30] java plugin: cjni_config_load_plugin: FindClass
(org/collectd/java/GenericJMX) failed.
[2016-03-25 19:06:30] java plugin: Configuration block for `GenericJMX'
found, but no such configuration callback has been registered. Please make
sure, the `LoadPlugin' lines precede the `Plugin' blocks.
[2016-03-25 19:06:30] Initialization complete, entering read-loop.

Any help will be much appreciated.

OS: CentOS Linux release 7.2 (Core)

Installed Packages
Name        : collectd
Arch        : x86_64
Version     : 5.5.1
Release     : 2.el7
Size        : 1.8 M
Repo        : installed

Installed Packages
Name        : collectd-java
Arch        : x86_64
Version     : 5.5.1
Release     : 2.el7
Size        : 65 k


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.verplant.org/pipermail/collectd/attachments/20160325/b9ed843b/attachment-0001.html>

More information about the collectd mailing list