[erlang-questions] node is up
Fernando 'Brujo' Benavides
elbrujohalcon@REDACTED
Thu Jun 18 19:13:38 CEST 2015
We usually use net_kernel:monitor_nodes[1] for that purpose at Inaka.
If you want to see an example of that function being used in a module, you can check gold_fever’s node_monitor[2]
Hope this helps :)
Fernando "Brujo" Benavides
about.me/elbrujohalcon
[1] http://erlang.org/doc/man/net_kernel.html#monitor_nodes-1
[2] https://github.com/inaka/gold_fever/blob/master/src/gf_node_monitor.erl
> On Jun 18, 2015, at 14:10, Roberto Ostinelli <roberto.ostinelli@REDACTED> wrote:
>
> Dear list,
> what is the recommended way to receive an event when a node gets added to the cluster?
>
>
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions
More information about the erlang-questions
mailing list