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!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...