<div dir="ltr">Thank you Fernando!</div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jun 18, 2015 at 7:13 PM, Fernando 'Brujo' Benavides <span dir="ltr"><<a href="mailto:elbrujohalcon@inaka.net" target="_blank">elbrujohalcon@inaka.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">We usually use net_kernel:monitor_nodes[1] for that purpose at Inaka.<br>
<br>
If you want to see an example of that function being used in a module, you can check gold_fever’s node_monitor[2]<br>
<br>
Hope this helps :)<br>
<br>
<br>
Fernando "Brujo" Benavides<br>
<a href="http://about.me/elbrujohalcon" rel="noreferrer" target="_blank">about.me/elbrujohalcon</a><br>
<br>
[1] <a href="http://erlang.org/doc/man/net_kernel.html#monitor_nodes-1" rel="noreferrer" target="_blank">http://erlang.org/doc/man/net_kernel.html#monitor_nodes-1</a><br>
[2] <a href="https://github.com/inaka/gold_fever/blob/master/src/gf_node_monitor.erl" rel="noreferrer" target="_blank">https://github.com/inaka/gold_fever/blob/master/src/gf_node_monitor.erl</a><br>
<span class=""><br>
<br>
<br>
> On Jun 18, 2015, at 14:10, Roberto Ostinelli <<a href="mailto:roberto.ostinelli@widetag.com">roberto.ostinelli@widetag.com</a>> wrote:<br>
><br>
> Dear list,<br>
> what is the recommended way to receive an event when a node gets added to the cluster?<br>
><br>
><br>
</span>> _______________________________________________<br>
> erlang-questions mailing list<br>
> <a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br>
> <a href="http://erlang.org/mailman/listinfo/erlang-questions" rel="noreferrer" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
<br>
</blockquote></div><br></div>