# Unable to Send Stats to Monitoring Cluster

**URL:** <https://discuss.elastic.co/t/unable-to-send-stats-to-monitoring-cluster/17127>\
**Category:** Elasticsearch\
**Created:** [April 22, 2014, 3:13pm UTC](https://discuss.elastic.co/t/unable-to-send-stats-to-monitoring-cluster/17127 "2014-04-22T15:13:29Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mario\_Rodriguez](https://avatars.discourse-cdn.com/v4/letter/m/e36b37/32.png) [@Mario\_Rodriguez](https://discuss.elastic.co/u/Mario_Rodriguez)\
**Post date:** [April 22, 2014, 3:13pm UTC](https://discuss.elastic.co/t/unable-to-send-stats-to-monitoring-cluster/17127/1 "2014-04-22T15:13:29Z")

</div>

I am having an issue with sending Marvel stats to our monitoring cluster,  
which is in Microsoft Azure. We have a production cluster on premise, a  
monitoring cluster in Azure, and a working VPN between them. I am able to  
access the Marvel Dashboard of the monitoring cluster from both of the  
production ES servers. The access lists allow the full IP stack between  
each server. I am getting this error though on our prod servers:

[2014-04-22 07:05:03,359][ERROR][marvel.agent.exporter] [VERFY-MSPSVC02]  
could not connect to any configured elasticsearch instances:  
[VERIFY-AZ-SVC01:9200] [2014-04-22  
07:05:03,370][ERROR][marvel.agent.exporter] [VERFY-MSPSVC02] error  
connecting to [VERIFY-AZ-SVC01:9200] java.net.SocketTimeoutException:  
connect timed out

This is what I have in my elasticsearch.yml:

marvel.agent.exporter.es.hosts: ["VERIFY-AZ-SVC01:9200"]

Any help would be greatly appreciated!!

--  
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 [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/aeb73320-45ba-482e-8d59-9b73b3eccade%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/aeb73320-45ba-482e-8d59-9b73b3eccade%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![Boaz\_Leskes](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/boaz_leskes/32/723_2.png) [@Boaz\_Leskes](https://discuss.elastic.co/u/Boaz_Leskes)\
**Post date:** [April 23, 2014, 12:54pm UTC](https://discuss.elastic.co/t/unable-to-send-stats-to-monitoring-cluster/17127/2 "2014-04-23T12:54:50Z")

</div>

Can you access the monitoring cluster from the command line using telnet  
when logged in on the production machine? All marvel does is an HTTP POST  
call..

Cheers,  
Boaz

On Tuesday, April 22, 2014 5:13:29 PM UTC+2, Mario Rodriguez wrote:

> I am having an issue with sending Marvel stats to our monitoring cluster,  
> which is in Microsoft Azure. We have a production cluster on premise, a  
> monitoring cluster in Azure, and a working VPN between them. I am able to  
> access the Marvel Dashboard of the monitoring cluster from both of the  
> production ES servers. The access lists allow the full IP stack between  
> each server. I am getting this error though on our prod servers:
> 
> [2014-04-22 07:05:03,359][ERROR][marvel.agent.exporter] [VERFY-MSPSVC02]  
> could not connect to any configured elasticsearch instances:  
> [VERIFY-AZ-SVC01:9200] [2014-04-22  
> 07:05:03,370][ERROR][marvel.agent.exporter] [VERFY-MSPSVC02] error  
> connecting to [VERIFY-AZ-SVC01:9200] java.net.SocketTimeoutException:  
> connect timed out
> 
> This is what I have in my elasticsearch.yml:
> 
> marvel.agent.exporter.es.hosts: ["VERIFY-AZ-SVC01:9200"]
> 
> Any help would be greatly appreciated!!

--  
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 [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/9e468d30-5129-41fd-baea-66f6da667f96%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/9e468d30-5129-41fd-baea-66f6da667f96%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![Mario\_Rodriguez](https://avatars.discourse-cdn.com/v4/letter/m/e36b37/32.png) [@Mario\_Rodriguez](https://discuss.elastic.co/u/Mario_Rodriguez)\
**Post date:** [April 25, 2014, 8:16pm UTC](https://discuss.elastic.co/t/unable-to-send-stats-to-monitoring-cluster/17127/3 "2014-04-25T20:16:31Z")

</div>

Wednesday, April 23, 2014 7:54:50 AM UTC-5, Boaz Leskes wrote:

> Can you access the monitoring cluster from the command line using telnet  
> when logged in on the production machine? All marvel does is an HTTP POST  
> call..
> 
> Cheers,  
> Boaz

Yes, I can connect to the instance using telnet.

--  
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 [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/6cdc9e9c-bb51-4c61-8cd6-7b324d4540c6%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/6cdc9e9c-bb51-4c61-8cd6-7b324d4540c6%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![Boaz\_Leskes](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/boaz_leskes/32/723_2.png) [@Boaz\_Leskes](https://discuss.elastic.co/u/Boaz_Leskes)\
**Post date:** [April 25, 2014, 8:25pm UTC](https://discuss.elastic.co/t/unable-to-send-stats-to-monitoring-cluster/17127/4 "2014-04-25T20:25:24Z")

</div>

Just double checking - can you gist the marvel config part of your  
elasticsearch.yml? the way it's pasted here will not be valid..

On Friday, April 25, 2014 10:16:31 PM UTC+2, Mario Rodriguez wrote:

> Wednesday, April 23, 2014 7:54:50 AM UTC-5, Boaz Leskes wrote:
> 
> > Can you access the monitoring cluster from the command line using telnet  
> > when logged in on the production machine? All marvel does is an HTTP POST  
> > call..
> > 
> > Cheers,  
> > Boaz
> 
> Yes, I can connect to the instance using telnet.

--  
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 [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/208229f5-72fd-49f1-b941-7f1382925507%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/208229f5-72fd-49f1-b941-7f1382925507%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![Mario\_Rodriguez](https://avatars.discourse-cdn.com/v4/letter/m/e36b37/32.png) [@Mario\_Rodriguez](https://discuss.elastic.co/u/Mario_Rodriguez)\
**Post date:** [April 25, 2014, 9:10pm UTC](https://discuss.elastic.co/t/unable-to-send-stats-to-monitoring-cluster/17127/5 "2014-04-25T21:10:51Z")

</div>

--  
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 [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/f278ddc2-edc6-421a-b2f0-abf699a36f4a%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/f278ddc2-edc6-421a-b2f0-abf699a36f4a%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![Mario\_Rodriguez](https://avatars.discourse-cdn.com/v4/letter/m/e36b37/32.png) [@Mario\_Rodriguez](https://discuss.elastic.co/u/Mario_Rodriguez)\
**Post date:** [April 25, 2014, 9:15pm UTC](https://discuss.elastic.co/t/unable-to-send-stats-to-monitoring-cluster/17127/6 "2014-04-25T21:15:17Z")

</div>

[https://gist.github.com/anonymous/11303362#file-gistfile1-txt](https://gist.github.com/anonymous/11303362#file-gistfile1-txt) - Prod Server  
#1  
[https://gist.github.com/anonymous/11303451#file-gistfile1-txt](https://gist.github.com/anonymous/11303451#file-gistfile1-txt) - Monitoring  
Server

--  
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 [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/9b2a7f82-036a-46a2-b738-e228dc7c1861%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/9b2a7f82-036a-46a2-b738-e228dc7c1861%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![Boaz\_Leskes](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/boaz_leskes/32/723_2.png) [@Boaz\_Leskes](https://discuss.elastic.co/u/Boaz_Leskes)\
**Post date:** [April 27, 2014, 8:12pm UTC](https://discuss.elastic.co/t/unable-to-send-stats-to-monitoring-cluster/17127/7 "2014-04-27T20:12:31Z")

</div>

Hi Mario,

Gists look good to me.

One other thing I thought about - do you get this error all the time or  
does appear every once in a while? Said differently, do you have data in  
your monitoring cluster?

If so, you can try increasing the timeout (defaults to 6s):  
marvel.agent.exporter.es.timeout: 30s

This can be done through the yml file or via the Cluster Update Settings  
API :

> **[Elasticsearch Platform — Find real-time answers at scale](https://www.elastic.co)**
>
> Power insights and outcomes with the Elasticsearch Platform and AI. See into your data and find answers that matter with enterprise solutions designed to help you build, observe, and protect. Try Elasticsearch free today.

Cheers,  
Boaz

On Fri, Apr 25, 2014 at 11:15 PM, Mario Rodriguez [starrio@gmail.com](mailto:starrio@gmail.com) wrote:

> [VB ES Host #1 · GitHub](https://gist.github.com/anonymous/11303362#file-gistfile1-txt) - Prod  
> Server #1  
> [Azure Monitoring ES Server · GitHub](https://gist.github.com/anonymous/11303451#file-gistfile1-txt) -  
> Monitoring Server
> 
> --  
> You received this message because you are subscribed to a topic in the  
> Google Groups "elasticsearch" group.  
> To unsubscribe from this topic, visit  
> [https://groups.google.com/d/topic/elasticsearch/FNQf\_hEXp04/unsubscribe](https://groups.google.com/d/topic/elasticsearch/FNQf_hEXp04/unsubscribe).  
> To unsubscribe from this group and all its topics, send an email to  
> [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> To view this discussion on the web visit  
> [https://groups.google.com/d/msgid/elasticsearch/9b2a7f82-036a-46a2-b738-e228dc7c1861%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/9b2a7f82-036a-46a2-b738-e228dc7c1861%40googlegroups.com)[https://groups.google.com/d/msgid/elasticsearch/9b2a7f82-036a-46a2-b738-e228dc7c1861%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/9b2a7f82-036a-46a2-b738-e228dc7c1861%40googlegroups.com?utm_medium=email&utm_source=footer)  
> .
> 
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
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 [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/CAKzwz0qzZw3hzApLCSqqHOYyvMJpRo6eRS7dBx4-A3o5BYvaiQ%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAKzwz0qzZw3hzApLCSqqHOYyvMJpRo6eRS7dBx4-A3o5BYvaiQ%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![Boaz\_Leskes](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/boaz_leskes/32/723_2.png) [@Boaz\_Leskes](https://discuss.elastic.co/u/Boaz_Leskes)\
**Post date:** [May 12, 2014, 8:59pm UTC](https://discuss.elastic.co/t/unable-to-send-stats-to-monitoring-cluster/17127/8 "2014-05-12T20:59:24Z")

</div>

Hi Mario,

We just released marvel 1.1.1 with bug fix which I think will solve this

- [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/en/marvel/current/#_1_1_1)

Can you check and see if it helps? (you can remove the 30s setting)

Cheers,  
Boaz

On Sunday, April 27, 2014 10:12:31 PM UTC+2, Boaz Leskes wrote:

> Hi Mario,
> 
> Gists look good to me.
> 
> One other thing I thought about - do you get this error all the time or  
> does appear every once in a while? Said differently, do you have data in  
> your monitoring cluster?
> 
> If so, you can try increasing the timeout (defaults to 6s):  
> marvel.agent.exporter.es.timeout: 30s
> 
> This can be done through the yml file or via the Cluster Update Settings  
> API :  
> [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/cluster-update-settings.html#cluster-update-settings)
> 
> Cheers,  
> Boaz
> 
> On Fri, Apr 25, 2014 at 11:15 PM, Mario Rodriguez [starrio@gmail.com](mailto:starrio@gmail.com)wrote:
> 
> > [VB ES Host #1 · GitHub](https://gist.github.com/anonymous/11303362#file-gistfile1-txt) - Prod  
> > Server #1  
> > [Azure Monitoring ES Server · GitHub](https://gist.github.com/anonymous/11303451#file-gistfile1-txt) -  
> > Monitoring Server
> > 
> > --  
> > You received this message because you are subscribed to a topic in the  
> > Google Groups "elasticsearch" group.  
> > To unsubscribe from this topic, visit  
> > [https://groups.google.com/d/topic/elasticsearch/FNQf\_hEXp04/unsubscribe](https://groups.google.com/d/topic/elasticsearch/FNQf_hEXp04/unsubscribe).  
> > To unsubscribe from this group and all its topics, send an email to  
> > [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> > To view this discussion on the web visit  
> > [https://groups.google.com/d/msgid/elasticsearch/9b2a7f82-036a-46a2-b738-e228dc7c1861%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/9b2a7f82-036a-46a2-b738-e228dc7c1861%40googlegroups.com)[https://groups.google.com/d/msgid/elasticsearch/9b2a7f82-036a-46a2-b738-e228dc7c1861%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/9b2a7f82-036a-46a2-b738-e228dc7c1861%40googlegroups.com?utm_medium=email&utm_source=footer)  
> > .
> > 
> > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
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 [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/d23bb576-4e78-4bac-9327-110c59905893%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/d23bb576-4e78-4bac-9327-110c59905893%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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:29am UTC](https://discuss.elastic.co/t/unable-to-send-stats-to-monitoring-cluster/17127/9 "2017-07-06T01:29:58Z")

</div>


