All Apps and Add-ons

Monitoring of Java Virtual Machine with JMX not sending data after upgrading Splunk Forwarder to 9.0.1 from 8.1.3

supreet
Explorer

Hello,

We have installed the add on: Monitoring of java virtual machines with JMX on the forwarder level.

It was forwarding data correctly when forwarder was on version 8.1.3. However after upgrading Forwarder to 9.0.1, it stopped working. We updated /etc/hosts file with 127.0.0.1 <hostname> and restarted splunk, The add on was sending data after that.

Once the app server was restarted, it stopped sending data again and we got the below error :

systemErrorMessage="Failed to retrieve RMIServer stub: javax.naming.NameNotFoundException: jmxrmi"

If I comment the line added in /etc/hosts, I get the below error:

2022-11-15 21:55:57 ERROR Logger=ModularInput Probing socket connection to SplunkD failed.Either SplunkD has exited ,or if not, check that your DNS configuration is resolving your system's hostname (<hostname>) correctly : Connection refused (Connection refused)

2022-11-15 21:55:57 ERROR Logger=ModularInput Determined that Splunk has probably exited, HARI KARI.

server.xml has below Listener:

<Listener accessFile="${catalina.base}/conf/jmxremote.access"
address="${base.jmx.bind}"
authenticate="true"
className="com.springsource.tcserver.serviceability.rmi.JmxSocketListener"
passwordFile="${catalina.base}/conf/jmxremote.password"
port="${base.jmx.port}"
useSSL="false"/>

the bind has below parameters in catalina.properties:

base.jmx.port=<port>
base.jmx.bind=<IP>

config.xml:

<jmxserver host="<IP>" jvmDescription="<hostname>" jmxport="<port>" jmxuser="admin" jmxpass="<jmx password>">

@Damien_Dallimor@PickleRick @gcusello@isoutamo

Labels (3)
0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Can’t Make It to Boston? Stream .conf25 and Learn with Haya Husain

Boston may be buzzing this September with Splunk University and .conf25, but you don’t have to pack a bag to ...

Splunk Lantern’s Guide to The Most Popular .conf25 Sessions

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

Unlock What’s Next: The Splunk Cloud Platform at .conf25

In just a few days, Boston will be buzzing as the Splunk team and thousands of community members come together ...