Marvel on remote docker host

monitoring

(Nizsheanez) #1

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?


(Mark Walkom) #2

Are you explicitly setting node.name?


(Nizsheanez) #3

Yes.


(system) #4