How to see connected JVB servers

If adding JVB servers using the muc method. How can I see which ones have been connected and possibly the status of them from the meet server or maybe trough xmpp? somewhere else except system logs.

Parse the output of netstat, filter the established tcp connections to local 5222 port.
Then for each of them you can for example check the health status or get the colibri stats.
If you have recordings, some of these will be Jibri servers, in this case you can use the same script to check the jibris too.

You could use any prosody admin tool, such as web admin or telnet (tools that you have to install); for example, using c2s:show() with the telnet inteface will show you the clients (jicofo, jvb)

1 Like

Looking in: /etc/jitsi/videobridge/sip-communicator.properties

If the JVBs have statistics enabled (org.jitsi.videobridge.ENABLE_STATISTICS=true and org.jitsi.videobridge.STATISTICS_TRANSPORT=muc), then they will send a presence message to prosody every org.jitsi.videobridge.STATISTICS_INTERVAL . That presence message can act as your heart beat.

You can further interact with those by writing a custom prosody lua plugin that examines the presence messages that come in. For more help on that, look at mod_muc_domain_mapper.lua - specifically function filter_stanza(stanza) to get a clue on how to intercept those.