-
Notifications
You must be signed in to change notification settings - Fork 29
Newrelic agent unable to talk to Cassandra cluster #22
Comments
Can you ping the host? On Tue, Apr 29, 2014 at 6:12 PM, nanthny [email protected] wrote:
_Juan Manuel Formoso_Senior Geek |
Yes I can. I just have agent installed. Do i need to run nrsysmond on each server in the cluster? |
I was able to figure this out. agent is talk to cluster via proxy server. But when I modify Cassandra 1.2 cluster to be authenticated cluster, and ran the new relic agent. It is unable to talk to cluster. Does agent work on authenticated Cassandra cluster? |
Using newrelic plug 2.0 for Cassandra. Defined 1 node cassandra cluster info in plugin.json.
{
"agents" : [
{
"type":"cassandra",
"name" : "Test_cluster",
"discovery_host" : "tn7ddscas01002n.starwave.com",
"jmx_port" : 7199
}
]
}
When I run " java -jar plugin.jar", I get below error. How do we resolve this?
[2014-04-29 14:06:20,072] ERROR com.newrelic.metrics.publish.binding.Request - An error occurred communicating with the New Relic service
java.net.SocketTimeoutException: connect timed out
at java.net.PlainSocketImpl.socketConnect(Native Method) ~[na:1.6.0_45]
at java.net.PlainSocketImpl.doConnect(Unknown Source) ~[na:1.6.0_45]
at java.net.PlainSocketImpl.connectToAddress(Unknown Source) ~[na:1.6.0_45]
at java.net.PlainSocketImpl.connect(Unknown Source) ~[na:1.6.0_45]
at java.net.SocksSocketImpl.connect(Unknown Source) ~[na:1.6.0_45]
at java.net.Socket.connect(Unknown Source) ~[na:1.6.0_45]
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.connect(Unknown Source) ~[na:1.6]
at sun.net.NetworkClient.doConnect(Unknown Source) ~[na:1.6.0_45]
at sun.net.www.http.HttpClient.openServer(Unknown Source) ~[na:1.6.0_45]
at sun.net.www.http.HttpClient.openServer(Unknown Source) ~[na:1.6.0_45]
at sun.net.www.protocol.https.HttpsClient.(Unknown Source) ~[na:1.6]
at sun.net.www.protocol.https.HttpsClient.New(Unknown Source) ~[na:1.6]
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(Unknown Source) ~[na:1.6]
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source) ~[na:1.6.0_45]
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source) ~[na:1.6]
at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(Unknown Source) ~[na:1.6.0_45]
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(Unknown Source) ~[na:1.6]
at com.newrelic.metrics.publish.binding.Request.deliver(Request.java:106) ~[plugin.jar:2.0.0 April 10 2014]
at com.newrelic.metrics.publish.Runner$PollAgentsRunnable.run(Runner.java:203) [plugin.jar:2.0.0 April 10 2014]
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [na:1.6.0_45]
at java.util.concurrent.FutureTask$Sync.innerRunAndReset(Unknown Source) [na:1.6.0_45]
at java.util.concurrent.FutureTask.runAndReset(Unknown Source) [na:1.6.0_45]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(Unknown Source) [na:1.6.0_45]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(Unknown Source) [na:1.6.0_45]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) [na:1.6.0_45]
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) [na:1.6.0_45]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [na:1.6.0_45]
at java.lang.Thread.run(Unknown Source) [na:1.6.0_45]
The text was updated successfully, but these errors were encountered: