# Elasticsearch health status is yellow

**URL:** <https://discuss.elastic.co/t/elasticsearch-health-status-is-yellow/50282>\
**Category:** Elasticsearch\
**Tags:** elastic-stack-monitoring\
**Created:** [May 18, 2016, 2:29am UTC](https://discuss.elastic.co/t/elasticsearch-health-status-is-yellow/50282 "2016-05-18T02:29:55Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![ghsos](https://avatars.discourse-cdn.com/v4/letter/g/db5fbb/32.png) [@ghsos](https://discuss.elastic.co/u/ghsos)\
**Post date:** [May 18, 2016, 2:29am UTC](https://discuss.elastic.co/t/elasticsearch-health-status-is-yellow/50282/1 "2016-05-18T02:29:55Z")

</div>

cluster like that

NODE 1:

[cluster.name](http://cluster.name): mycluster  
[node.name](http://node.name): "node1"  
node.master: true  
node.data: true  
discovery.zen.ping.multicast.enabled: false  
discovery.zen.ping.unicast.hosts: ["192.168.0.71"]  
transport.tcp.port: 9301  
http.port: 9201

marvel.agent.exporters:  
id1:  
type: http  
host: ["[http://192.168.0.71:9302](http://192.168.0.71:9302)"]

NODE 2

[cluster.name](http://cluster.name): mycluster  
[node.name](http://node.name): "node2"  
node.master: true  
node.data: true  
discovery.zen.ping.multicast.enabled: false  
discovery.zen.ping.unicast.hosts: ["192.168.0.71"]  
transport.tcp.port: 9302  
http.port: 9202  
marvel.agent.exporters:  
id1:  
type: http  
host: ["[http://192.168.0.71:9301](http://192.168.0.71:9301)"]

but get the error,and the yellow alway is yellow :

[2016-05-18 10:27:12,833][ERROR][marvel.agent.exporter.http] exception when checking remote cluster  
version on host [[http://192.168.0.71:9301](http://192.168.0.71:9301)]  
ElasticsearchException[unable to check remote cluster version: no available connection for host [htt  
p://192.168.0.71:9301]]

the version is elasticsearch-2.2.1 (window 64)

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [May 18, 2016, 5:19am UTC](https://discuss.elastic.co/t/elasticsearch-health-status-is-yellow/50282/2 "2016-05-18T05:19:15Z")

</div>

Try with port `9300` instead.

---

<div class="post-metadata">

**Author:** ![pickypg](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pickypg/32/62409_2.png) [@pickypg](https://discuss.elastic.co/u/pickypg)\
**Post date:** [May 18, 2016, 5:40am UTC](https://discuss.elastic.co/t/elasticsearch-health-status-is-yellow/50282/3 "2016-05-18T05:40:13Z")

</div>

There's two things wrong here:

1. You are setting up the HTTP exporter to send to the opposite node that is going to join the same cluster.

2. You are using the HTTP exporter with the Transport port(s). Use the appropriate HTTP (9201 and 9202).

Hope that helps.

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [May 18, 2016, 5:50am UTC](https://discuss.elastic.co/t/elasticsearch-health-status-is-yellow/50282/4 "2016-05-18T05:50:42Z")

</div>

> [@pickypg](#):
>
> You are using the HTTP exporter with the Transport port(s). Use the appropriate HTTP (9201 and 9202).

Ah yeah, derp to me there.... 😛

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 1:43pm UTC](https://discuss.elastic.co/t/elasticsearch-health-status-is-yellow/50282/5 "2017-07-06T13:43:28Z")

</div>


