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
Get Updates on the Splunk Community!

Observe and Secure All Apps with Splunk

  Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

Splunk Decoded: Business Transactions vs Business IQ

It’s the morning of Black Friday, and your e-commerce site is handling 10x normal traffic. Orders are flowing, ...

Fastest way to demo Observability

I’ve been having a lot of fun learning about Kubernetes and Observability. I set myself an interesting ...