All Apps and Add-ons

Will it be possible to pass jar files in JMX plugin to access JVM on IBM box

TheProudDevil
New Member

Hi,

I am using IBM servers where we are not able to access the JVM details through JMX plugin on SPlunk.
I tried on same host using jConsole I am able to where as using remote I am not able to. When I have added few Jar files to remote location host and tried jconsole I am able to.

Is there any way, I can add those Jar files in Splunk (which location ?) so that Splunk JMX can read the JVM details and log the same.

Thank you.

0 Karma

Damien_Dallimor
Ultra Champion

You can dump any jar files in the $SPLUNK_HOME/etc/apps/SPLUNK4JMX/bin/lib/ directory and they will be classloaded.

0 Karma

TheProudDevil
New Member

Thanks Damien. I will check this out and will update you on this.

0 Karma

TheProudDevil
New Member

I have kept all jar files in specified location but still I am getting this error.

06-02-2015 21:42:29.015 -0500 ERROR ExecProcessor - message from "python "C:\Program Files\Splunk\etc\apps\SPLUNK4JMX\bin\jmx.py"" java.net.SocketTimeoutException: Read timed out]"

06-02-2015 21:43:28.711 -0500 ERROR ExecProcessor - message from "python "C:\Program Files\Splunk\etc\apps\SPLUNK4JMX\bin\jmx.py"" host=*****, jmxServiceURL=, jmxport=*, jvmDescription=Testing Local JVM, processID=0,stanza=jmx://helloworld,systemErrorMessage="Failed to retrieve RMIServer stub: javax.naming.CommunicationException [Root exception is java.rmi.ConnectIOException: error during JRMP connection establishment; nested exception is

Please help.

0 Karma
Get Updates on the Splunk Community!

SOC4Kafka - New Kafka Connector Powered by OpenTelemetry

The new SOC4Kafka connector, built on OpenTelemetry, enables the collection of Kafka messages and forwards ...

Your Voice Matters! Help Us Shape the New Splunk Lantern Experience

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Building Momentum: Splunk Developer Program at .conf25

At Splunk, developers are at the heart of innovation. That’s why this year at .conf25, we officially launched ...