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!

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

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 ...