# Marvel on remote docker host

**URL:** <https://discuss.elastic.co/t/marvel-on-remote-docker-host/29890>\
**Category:** Elasticsearch\
**Tags:** elastic-stack-monitoring\
**Created:** [September 24, 2015, 5:33am UTC](https://discuss.elastic.co/t/marvel-on-remote-docker-host/29890 "2015-09-24T05:33:18Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![nizsheanez](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nizsheanez/32/688_2.png) [@nizsheanez](https://discuss.elastic.co/u/nizsheanez)\
**Post date:** [September 24, 2015, 5:33am UTC](https://discuss.elastic.co/t/marvel-on-remote-docker-host/29890/1 "2015-09-24T05:33:18Z")

</div>

Problem in Short:  
If IP of node changed then Marvel think it's new server.  
Can i configure Marvel to group nodes by hostname, not by IP?

Problem in Long:  
I have 2 containers elasticsearch and marvel  
1-st sending statistic to 2-nd, it's mean 2-nd container linked to 1-st.

it's mean in /etc/hosts of 1-st container docker writen:  
172.17.0.5 marvel

But when after restart containers docker use next interface 172.17.0.6 and next and next...  
If IP of node changed then Marvel think it's new server.  
I can't find solution for this by Docker, so maybe i can solve it by Marvel configuration?  
Can i configure Marvel to group nodes by hostname, not by IP?

---

<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:** [September 24, 2015, 5:44am UTC](https://discuss.elastic.co/t/marvel-on-remote-docker-host/29890/2 "2015-09-24T05:44:42Z")

</div>

Are you explicitly setting `node.name`?

---

<div class="post-metadata">

**Author:** ![nizsheanez](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nizsheanez/32/688_2.png) [@nizsheanez](https://discuss.elastic.co/u/nizsheanez)\
**Post date:** [September 24, 2015, 6:36am UTC](https://discuss.elastic.co/t/marvel-on-remote-docker-host/29890/3 "2015-09-24T06:36:28Z")

</div>

Yes.

 ![](https://us1.discourse-cdn.com/elastic/original/2X/a/ad9f3e4e2fdaffeadc3edcb011d8b725883668a4.png)

---

<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:47pm UTC](https://discuss.elastic.co/t/marvel-on-remote-docker-host/29890/4 "2017-07-06T13:47:34Z")

</div>


