Enabling private REST interface & JITSI Video-bridge Reports Implementation

Dear JItsi Team,
Hope you are doing well.

I am trying to implement https://github.com/jitsi/jitsi-videobridge/blob/master/doc/statistics.md

As per defined, i need to allow private REST interface.
To enable private REST interface, i am using https://github.com/jitsi/jitsi-videobridge/blob/master/doc/rest.md

To implement below mentioned lines

org.jitsi.videobridge.rest.private.jetty.port=8080 (as per default mentioned in document)
org.jitsi.videobridge.rest.private.jetty.tls.port=8443 (as per default mentioned in document)
org.jitsi.videobridge.rest.private.jetty.sslContextFactory.keyStorePath=/etc/jitsi/videobridge/video.multinet.com.pk.jks (as mentioned in sip.communicator.properties in /etc/jitsi/videobridge)
org.jitsi.videobridge.rest.private.jetty.sslContextFactory.keyStorePassword=changeit (as mentioned in sip.communicator.properties in /etc/jitsi/videobridge)
org.jitsi.videobridge.rest.private.jetty.sslContextFactory.needClientAuth=false (as per default mentioned in document)
org.jitsi.videobridge.rest.private.jetty.host= ?

Can you please confirm the below.

  1. In which config file do i need to enter the above lines to enable private REST ineterface.
  2. What should be the value of org.jitsi.videobridge.rest.private.jetty.host.
  3. Once the private REST interface is enabled, i which config file do i need to enter the below lines.

org.jitsi.videobridge.ENABLE_STATISTICS: fasle
org.jitsi.videobridge.STATISTICS_TRANSPORT: colibri
org.jitsi.videobridge.STATISTICS_INTERVAL: 1000

best regards
Salman Ali

Dear Jitsi Team,
Hope you are doing well.
I would be more than grateful, if you look into the requested matter.

best regards
Salman Ali

All these settings go in /etc/jitsi/videobridge/sip-communicator.properties

Dear Damencho,
I have added the lines in /etc/jitsi/videobridge/sip-communicator.properties but when i tried to open
https://video.multinet.com.pk:8080/colibri/stats nothing is happening. Can you please suggest. Please find below the details of sip-communicator.properties.

org.jitsi.videobridge.AUTHORIZED_SOURCE_REGEXP=focus@auth.video.multinet.com.pk/.*
org.jitsi.videobridge.rest.jetty.host=::
org.jitsi.videobridge.rest.jetty.port=443
org.jitsi.videobridge.rest.jetty.ProxyServlet.hostHeader=video.multinet.com.pk
org.jitsi.videobridge.rest.jetty.ProxyServlet.pathSpec=/http-bind
org.jitsi.videobridge.rest.jetty.ProxyServlet.proxyTo=http://localhost:5280/http-bind
org.jitsi.videobridge.rest.jetty.ResourceHandler.resourceBase=/usr/share/jitsi-meet
org.jitsi.videobridge.rest.jetty.ResourceHandler.alias./config.js=/etc/jitsi/meet/video.multinet.com.pk-config.js
org.jitsi.videobridge.rest.jetty.ResourceHandler.alias./interface_config.js=/usr/share/jitsi-meet/interface_config.js
org.jitsi.videobridge.rest.jetty.ResourceHandler.alias./logging_config.js=/usr/share/jitsi-meet/logging_config.js
org.jitsi.videobridge.rest.jetty.ResourceHandler.alias./external_api.js=/usr/share/jitsi-meet/libs/external_api.min.js
org.jitsi.videobridge.rest.jetty.RewriteHandler.regex=^/([a-zA-Z0-9]+)$
org.jitsi.videobridge.rest.jetty.RewriteHandler.replacement=/
org.jitsi.videobridge.rest.jetty.SSIResourceHandler.paths=/
org.jitsi.videobridge.rest.jetty.tls.port=443
org.jitsi.videobridge.TCP_HARVESTER_PORT=443
org.jitsi.videobridge.rest.jetty.sslContextFactory.keyStorePath=/etc/jitsi/videobridge/video.multinet.com.pk.jks
org.jitsi.videobridge.rest.jetty.sslContextFactory.keyStorePassword=changeit
org.jitsi.videobridge.rest.private.jetty.port=8080
org.jitsi.videobridge.rest.private.jetty.tls.port=8443
org.jitsi.videobridge.rest.private.jetty.sslContextFactory.keyStorePath=/etc/jitsi/videobridge/video.multinet.com.pk.jks
org.jitsi.videobridge.rest.private.jetty.sslContextFactory.keyStorePassword=changeit
org.jitsi.videobridge.rest.private.jetty.sslContextFactory.needClientAuth=false
org.jitsi.videobridge.rest.private.jetty.host=::
org.jitsi.videobridge.ENABLE_STATISTICS:true
org.jitsi.videobridge.STATISTICS_TRANSPORT:colibri
org.jitsi.videobridge.STATISTICS_INTERVAL:1000

This is wrong, look of the other properties syntax. What does the log file say?

Dear Damencho,
Thanks for the reply.
I use these properties from https://github.com/jitsi/jitsi-videobridge/blob/master/doc/statistics.md

Please find below the JVB logs.

JVB 2019-10-23 03:12:00.614 INFO: [47] org.jitsi.videobridge.Videobridge.log() CAT=stat create_conf,conf_id=7e20c59c334162d6 conf_name=null,logging=false,conf_count=1,ch_count=0,v_streams=0
JVB 2019-10-23 03:12:00.654 INFO: [47] org.jitsi.videobridge.health.Health.log() Performed a successful health check in 40ms. Sticky failure: false
JVB 2019-10-23 03:12:00.704 FINE: [314] org.jitsi.videobridge.xmpp.ComponentImpl.processIQ() (serving component ‘JitsiVideobridge’) Processing IQ (packetId iFq5N-1565):
JVB 2019-10-23 03:12:00.705 FINE: [314] org.jitsi.videobridge.xmpp.ComponentImpl.processIQRequest() (serving component ‘JitsiVideobridge’) Processing IQ request (packetId iFq5N-1565).
JVB 2019-10-23 03:12:00.706 FINE: [314] org.jitsi.videobridge.xmpp.ComponentImpl.processIQ() (serving component ‘JitsiVideobridge’) Responding to IQ (packetId iFq5N-1565) with:
JVB 2019-10-23 03:12:03.263 INFO: [46] org.jitsi.videobridge.VideobridgeExpireThread.log() Running expire()
JVB 2019-10-23 03:12:04.228 FINE: [316] org.jitsi.videobridge.xmpp.ComponentImpl.processIQ() (serving component ‘JitsiVideobridge’) Processing IQ (packetId wgUep-771):
JVB 2019-10-23 03:12:10.655 INFO: [47] org.jitsi.videobridge.Videobridge.log() CAT=stat create_conf,conf_id=db3f835ea12d647e conf_name=null,logging=false,conf_count=1,ch_count=0,v_streams=0
JVB 2019-10-23 03:12:10.677 INFO: [47] org.jitsi.videobridge.health.Health.log() Performed a successful health check in 22ms. Sticky failure: false
JVB 2019-10-23 03:12:10.695 FINE: [318] org.jitsi.videobridge.xmpp.ComponentImpl.processIQ() (serving component ‘JitsiVideobridge’) Processing IQ (packetId iFq5N-1577):
JVB 2019-10-23 03:12:10.696 FINE: [318] org.jitsi.videobridge.xmpp.ComponentImpl.processIQRequest() (serving component ‘JitsiVideobridge’) Processing IQ request (packetId iFq5N-1577).
JVB 2019-10-23 03:12:10.696 FINE: [318] org.jitsi.videobridge.xmpp.ComponentImpl.processIQ() (serving component ‘JitsiVideobridge’) Responding to IQ (packetId iFq5N-1577) with:
JVB 2019-10-23 03:12:10.704 FINE: [342] org.jitsi.videobridge.xmpp.ComponentImpl.processIQ() (serving component ‘JitsiVideobridge’) Processing IQ (packetId iFq5N-1581):
JVB 2019-10-23 03:12:10.705 FINE: [342] org.jitsi.videobridge.xmpp.ComponentImpl.processIQRequest() (serving component ‘JitsiVideobridge’) Processing IQ request (packetId iFq5N-1581).
JVB 2019-10-23 03:12:10.706 FINE: [342] org.jitsi.videobridge.xmpp.ComponentImpl.processIQ() (serving component ‘JitsiVideobridge’) Responding to IQ (packetId iFq5N-1581) with:
JVB 2019-10-23 03:12:14.229 FINE: [344] org.jitsi.videobridge.xmpp.ComponentImpl.processIQ() (serving component ‘JitsiVideobridge’) Processing IQ (packetId wgUep-775):
JVB 2019-10-23 03:12:20.677 INFO: [47] org.jitsi.videobridge.Videobridge.log() CAT=stat create_conf,conf_id=662e4460eaf568e8 conf_name=null,logging=false,conf_count=1,ch_count=0,v_streams=0
JVB 2019-10-23 03:12:20.701 INFO: [47] org.jitsi.videobridge.health.Health.log() Performed a successful health check in 24ms. Sticky failure: false
JVB 2019-10-23 03:12:20.705 FINE: [367] org.jitsi.videobridge.xmpp.ComponentImpl.processIQ() (serving component ‘JitsiVideobridge’) Processing IQ (packetId iFq5N-1585):
JVB 2019-10-23 03:12:20.705 FINE: [367] org.jitsi.videobridge.xmpp.ComponentImpl.processIQRequest() (serving component ‘JitsiVideobridge’) Processing IQ request (packetId iFq5N-1585).
JVB 2019-10-23 03:12:20.707 FINE: [367] org.jitsi.videobridge.xmpp.ComponentImpl.processIQ() (serving component ‘JitsiVideobridge’) Responding to IQ (packetId iFq5N-1585) with:
JVB 2019-10-23 03:12:24.228 FINE: [369] org.jitsi.videobridge.xmpp.ComponentImpl.processIQ() (serving component ‘JitsiVideobridge’) Processing IQ (packetId wgUep-779):
JVB 2019-10-23 03:12:30.701 INFO: [47] org.jitsi.videobridge.Videobridge.log() CAT=stat create_conf,conf_id=f5a31ad7ed702196 conf_name=null,logging=false,conf_count=1,ch_count=0,v_streams=0
JVB 2019-10-23 03:12:30.704 FINE: [188] org.jitsi.videobridge.xmpp.ComponentImpl.processIQ() (serving component ‘JitsiVideobridge’) Processing IQ (packetId iFq5N-1589):
JVB 2019-10-23 03:12:30.705 FINE: [188] org.jitsi.videobridge.xmpp.ComponentImpl.processIQRequest() (serving component ‘JitsiVideobridge’) Processing IQ request (packetId iFq5N-1589).
JVB 2019-10-23 03:12:30.706 FINE: [188] org.jitsi.videobridge.xmpp.ComponentImpl.processIQ() (serving component ‘JitsiVideobridge’) Responding to IQ (packetId iFq5N-1589) with:
JVB 2019-10-23 03:12:30.726 INFO: [47] org.jitsi.videobridge.health.Health.log() Performed a successful health check in 25ms. Sticky failure: false
JVB 2019-10-23 03:12:34.228 FINE: [212] org.jitsi.videobridge.xmpp.ComponentImpl.processIQ() (serving component ‘JitsiVideobridge’) Processing IQ (packetId wgUep-783):
JVB 2019-10-23 03:12:40.697 FINE: [235] org.jitsi.videobridge.xmpp.ComponentImpl.processIQ() (serving component ‘JitsiVideobridge’) Processing IQ (packetId iFq5N-1601):
JVB 2019-10-23 03:12:40.697 FINE: [235] org.jitsi.videobridge.xmpp.ComponentImpl.processIQRequest() (serving component ‘JitsiVideobridge’) Processing IQ request (packetId iFq5N-1601).
JVB 2019-10-23 03:12:40.698 FINE: [235] org.jitsi.videobridge.xmpp.ComponentImpl.processIQ() (serving component ‘JitsiVideobridge’) Responding to IQ (packetId iFq5N-1601) with:
JVB 2019-10-23 03:12:40.704 FINE: [237] org.jitsi.videobridge.xmpp.ComponentImpl.processIQ() (serving component ‘JitsiVideobridge’) Processing IQ (packetId iFq5N-1605):
JVB 2019-10-23 03:12:40.704 FINE: [237] org.jitsi.videobridge.xmpp.ComponentImpl.processIQRequest() (serving component ‘JitsiVideobridge’) Processing IQ request (packetId iFq5N-1605).
JVB 2019-10-23 03:12:40.706 FINE: [237] org.jitsi.videobridge.xmpp.ComponentImpl.processIQ() (serving component ‘JitsiVideobridge’) Responding to IQ (packetId iFq5N-1605) with:
JVB 2019-10-23 03:12:40.726 INFO: [47] org.jitsi.videobridge.Videobridge.log() CAT=stat create_conf,conf_id=d033adaeef11b55a conf_name=null,logging=false,conf_count=1,ch_count=0,v_streams=0
JVB 2019-10-23 03:12:40.754 INFO: [47] org.jitsi.videobridge.health.Health.log() Performed a successful health check in 28ms. Sticky failure: false

best regards
Salman Ali

But have you tried setting it like this: org.jitsi.videobridge.ENABLE_STATISTICS=true not like you did: