Splunk Dev

errors on poll_jmx.sh

amadri0238c
New Member

I got this error, what are the step I need to resolve this issue:

2012-04-11 14:52:56,974 ERROR [Thread-2] host=localhost, jmxServiceURL=, jmxport=7199, jvmDescription=cassandra, processID=0,systemErrorMessage="Failed to retrieve RMIServer stub: javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: localhost; nested exception is:
java.net.ConnectException: Connection refused]"
2012-04-11 17:27:21,466 ERROR [Thread-2] host=localhost, jmxServiceURL=, jmxport=7199, jvmDescription=cassandra, processID=0,systemErrorMessage="Failed to retrieve RMIServer stub: javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: localhost; nested exception is:
java.net.ConnectException: Connection refused]"

Tags (1)
0 Karma

Damien_Dallimor
Ultra Champion

First of all , have you followed the configuration instructions in the documentation ? There is a README and a PDF user guide.

Based on the above messages(it looks like you haven't configured your config.xml file and are just using the shipped example settings) :

1) Is the JMX remote connector enabled on your target JVM ?
2) Have you setup your config.xml file correctly (host, jmxport, optionally the jmxuser/jmxpass)

0 Karma
Get Updates on the Splunk Community!

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...