romantico88 / jitsi_videobridge_zabbix_stats

An simple implementation of Jitsi Videobridge Statics from Colibri module, to Zabbix.
GNU General Public License v3.0
15 stars 9 forks source link

cannot extract value from json by path #15

Open manu-p opened 3 years ago

manu-p commented 3 years ago

I get the same error as mentioned by @kurazli in issue https://github.com/romantico88/jitsi_videobridge_zabbix_stats/issues/13: same issue and although I followed the link you mentioned and modified /etc/jitsi/videobridge/config to put JVB_OPTS="--apis=rest", and restarted jitsi on the server, I still get this error:

Preprocessing failed for: Failed: cannot extract value from json by path "$.conferences": cannot parse as a valid JSON object: invalid object format, expected opening character '{' or '[' at: ''

As you can see, I'd like to get the number of conferences, as I guess Template Jitsi Videobridge: Jitsi Videobridge Stats: Jitsi Videobridge conferences is supposed to display...

But I also get this error message for other jitsi indicators I'd like to monitor.

So far, the only values I get in my zabbix dashboard are for:

And Jitsi Videobridge Stats that shows <html>...

What's wrong? What can I do to sort it out?