How can I know how many users are connected to my jitsi server

Hello, I would like to know if there is any way to know how many rooms are open on my server and how many users are connected to each of them. Is there any way to know this information?

my thanks in advance and congratulate all the team that build and work on this excellent project
Regards

You can get it from the Jicofo logs.

/var/log/jitsi/jicofo.log

Prosody plugins are perfect for this. You can use mod_muc_room_size to get some basic information. There is a good reply in this thread that I was able to use successfully. I recommend making a new plugin lua file so your changes do not get overwritten.

You can call it locally from using curl from you meet server:

user@server:~$ curl http://meet.domain.com:5280/all-rooms?domain=conference.meet.domain.com

{"rooms":[{"participants":[{"display_name":"user1","email":"email1@domain.com","jid":"meeting1@conference.meet.domain.com/e8410920"},{"display_name":"user2","email2":"email@domain.com","jid":"meeting1@conference.meet.domain.com/d9e3d939"}],"participant_count":2,"jid":"meeting1@conference.meet.domain.com"}]}

1 Like

Iā€™m using this:

with prometheus and grafana, and it works quite well.