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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

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 GA in US-AWS!

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