Hi,
I installed and configured the Splunk4JMX but am having issues in getting a connection to my servers via jmx.
My servers are configured by the following java_opts
-Dcom.sun.management.jmxremote=true
-Dcom.sun.management.jmxremote.port=7337
-Dcom.sun.management.jmxremote.ssl=false
-Dcom.sun.management.jmxremote.authenticate=true
-Dcom.sun.management.jmxremote.password=true
jmx usernames and passwords are stored under the JRE and are valid for readonly and control access.
I can access the jmx interface locally on one of the tomcat servers using jconsole via :7337 username password
but i can't access the jmx interface of the target server from my splunk server using jconsole. the connection attempts for a few seconds and then gives up.
we have internal firewalls and the servers are in different zones. A rule to allow the splunk server to connect to the tomcat server over the jmx port has been enabled and tested ok (via telnet).
worth noting too that the splunk deployment and data channel are configured the same way with firewall rules, so it doesn't appear to a firewall issue.
Prior to the firewall rule being in place the error was:
2012-01-12 09:48:38,658 ERROR [Thread-1] host= , jmxServiceURL=, jmxport=7337, jvmDescription= , processID=0,systemErrorMessage="Failed to retrieve RMIServer stub: javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: ; nested exception is:
java.net.ConnectException: Connection timed out: connect]"
with the firewall rule now inplace the error is":
2012-01-12 12:22:09,879 ERROR [Thread-1] host= , jmxServiceURL=, jmxport=7337, jvmDescription= , processID=0,systemErrorMessage="Connection refused to host: ; nested exception is:
java.net.ConnectException: Connection timed out: connect"
Can I increase the logging to debug to see if there is any addtional useful information? How would i do this?
C.
... View more