Hi,

I have a problem running Marvel on a dedicated monitoring cluster. Es 
1.0.0RC2. Whan i start a node with marvel.agent.exporter.es.hosts set to 
localhost:9200 - work fine ... but when 
setting marvel.agent.exporter.es.hosts to ["es-mon-1.z:9200"] i get 

[2014-02-05 14:05:16,459][ERROR][marvel.agent.exporter    ] could not 
connect to any configured elasticsearch instances: [es-mon-1.z:9200]
[2014-02-05 14:05:17,273][ERROR][marvel.agent.exporter    ] error 
connecting to [es-mon-1.z:9200]
java.net.SocketTimeoutException: connect timed out
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at 
java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)
        at 
java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)
        at 
java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)
        at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
        at java.net.Socket.connect(Socket.java:579)
        at sun.net.NetworkClient.doConnect(NetworkClient.java:175)
        at sun.net.www.http.HttpClient.openServer(HttpClient.java:378)
        at sun.net.www.http.HttpClient.openServer(HttpClient.java:473)
        at sun.net.www.http.HttpClient.<init>(HttpClient.java:203)
        at sun.net.www.http.HttpClient.New(HttpClient.java:290)
        at sun.net.www.http.HttpClient.New(HttpClient.java:306)
        at 
sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:995)
        at 
sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:931)
        at 
sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:849)
        at 
org.elasticsearch.marvel.agent.exporter.ESExporter.openConnection(ESExporter.java:317)
        at 
org.elasticsearch.marvel.agent.exporter.ESExporter.openConnection(ESExporter.java:293)
        at 
org.elasticsearch.marvel.agent.exporter.ESExporter.access$200(ESExporter.java:56)
        at 
org.elasticsearch.marvel.agent.exporter.ESExporter$ConnectionKeepAliveWorker.run(ESExporter.java:734)
        at java.lang.Thread.run(Thread.java:724)

There is a working connection from the data node to the monitoring node.

PING es-mon-1.z: 56 data bytes
64 bytes from 192.168.0.202: icmp_seq=0. time=0.097 ms
64 bytes from 192.168.0.202: icmp_seq=1. time=0.095 ms
64 bytes from 192.168.0.202: icmp_seq=2. time=0.094 ms
^C
----es-mon-1.z PING Statistics----
3 packets transmitted, 3 packets received, 0% packet loss
round-trip (ms)  min/avg/max/stddev = 0.094/0.095/0.097/0.002

[root@es-d-2 /opt/es/bin]# curl es-mon-1.z:9200
{
  "status" : 200,
  "name" : "es-mon-1",
  "version" : {
    "number" : "1.0.0.RC2",
    "build_hash" : "a9d736e0e77ffd046a10500c779d574c6960f704",
    "build_timestamp" : "2014-02-03T15:02:11Z",
    "build_snapshot" : false,
    "lucene_version" : "4.6"
  },
  "tagline" : "You Know, for Search"
}

There are no error logs on the monitoring cluster running Marvel plugin.

[2014-02-05 14:08:16,987][INFO ][node                     ] [es-mon-1] 
started
[2014-02-05 14:08:18,088][INFO ][monitor.jvm              ] [es-mon-1] 
[gc][young][5][1] duration [911ms], collections [1]/[1s], total 
[911ms]/[911ms], memory [251.3mb]->[39.9mb]/[989.8mb], all_pools {[young] 
[251.3mb]->[5.7mb]/[273mb]}{[survivor] [0b]->[34.1mb]/[34.1mb]}{[old] 
[0b]->[132.6kb]/[682.6mb]}
[2014-02-05 14:08:24,350][INFO ][node                     ] [es-mon-1] 
stopping ...
[2014-02-05 14:08:24,370][INFO ][node                     ] [es-mon-1] 
stopped
[2014-02-05 14:08:24,371][INFO ][node                     ] [es-mon-1] 
closing ...
[2014-02-05 14:08:24,376][INFO ][node                     ] [es-mon-1] 
closed
[2014-02-05 14:08:25,629][INFO ][node                     ] [es-mon-1] 
version[1.0.0.RC2], pid[26859], build[a9d736e/2014-02-03T15:02:11Z]
[2014-02-05 14:08:25,630][INFO ][node                     ] [es-mon-1] 
initializing ...
[2014-02-05 14:08:25,642][INFO ][plugins                  ] [es-mon-1] 
loaded [marvel], sites [marvel, head, browser, segmentspy, paramedic]
[2014-02-05 14:08:28,335][INFO ][marvel.agent             ] [es-mon-1] 
collecting disabled by settings
[2014-02-05 14:08:28,509][INFO ][node                     ] [es-mon-1] 
initialized
[2014-02-05 14:08:28,510][INFO ][node                     ] [es-mon-1] 
starting ...
[2014-02-05 14:08:28,592][INFO ][transport                ] [es-mon-1] 
bound_address {inet[/192.168.0.202:9300]}, publish_address 
{inet[/192.168.0.202:9300]}
[2014-02-05 14:08:31,739][INFO ][cluster.service          ] [es-mon-1] 
new_master 
[es-mon-1][LXesyAHIRoaBybJnkWcylQ][es-mon-1.z][inet[/192.168.0.202:9300]]{machine=44454c4c-4d00-1046-804a-c4c04f365831,
 
master=true}, reason: zen-disco-join (elected_as_master)
[2014-02-05 14:08:31,748][INFO ][discovery                ] [es-mon-1] 
monitoring/LXesyAHIRoaBybJnkWcylQ
[2014-02-05 14:08:31,796][INFO ][http                     ] [es-mon-1] 
bound_address {inet[/192.168.0.202:9200]}, publish_address 
{inet[/192.168.0.202:9200]}
[2014-02-05 14:08:32,525][INFO ][gateway                  ] [es-mon-1] 
recovered [1] indices into cluster_state
[2014-02-05 14:08:32,526][INFO ][node                     ] [es-mon-1] 
started
[2014-02-05 14:08:34,059][WARN ][monitor.jvm              ] [es-mon-1] 
[gc][young][5][1] duration [1.3s], collections [1]/[1.5s], total 
[1.3s]/[1.3s], memory [256.8mb]->[42.9mb]/[989.8mb], all_pools {[young] 
[256.8mb]->[8.5mb]/[273mb]}{[survivor] [0b]->[34.1mb]/[34.1mb]}{[old] 
[0b]->[302kb]/[682.6mb]}




-- 
You received this message because you are subscribed to the Google Groups 
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/dacc218d-c214-4638-bb6a-1650d408bf7e%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to