I have a cluster running multiple nodes on different machines and would like to create different graphs showing the current number of users connected per machine.
Running ejabberdctl connected_users_number on any of the machines returns the sum of connected users to all cluster nodes.
Is it possible to get the number of users currently connected only to specific specific machine/node?
Thanks!
You can apply this patch to
You can apply this patch to ejabberd:
and then you can run: