monitoring Jitsi with Zabbix

If you want to monitor your Jitsi Server (number of logged on user, running sessions, etc.) with Zabbix you

  • first have to enable Colibri Stats on your Jitsi server
  • secondly import a monitoring Template to your zabbix server

Enable stats on Jitsi Server

edit /etc/jitsi/videobridge/sip-communicator.properties and add/alter the lines:

org.jitsi.videobridge.ENABLE_STATISTICS=true
org.jitsi.videobridge.STATISTICS_TRANSPORT=muc,colibri
org.jitsi.videobridge.STATISTICS_INTERVAL=1000

then add in /etc/jitsi/videobridge/config :

JVB_OPTS="--apis=rest,xmpp"

And restart with

sudo service jitsi-videobridge2 restart

Then check if port 8080 is open with:

nmap localhost

check if data gets delivered via json-file:

curl -v http://127.0.0.1:8080/colibri/stats

Trying to open the page with your browser might not work as the statistics are not available through https but your http-header forces a ssl-redirect (depending on you webserver-config).

Import zabbix template

I used marcins template xml from:

https://github.com/romantico88/jitsi_videobridge_zabbix_stats

Make sure you clone/download the files and not just copy them as my zabbix server complained about the xml-syntax when importing the “saved-as”-file.