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

Jitsi Videobridge Stats element failure #9

Closed manu-p closed 4 years ago

manu-p commented 4 years ago

Zabbix version: 5.0.2 jitsi_videobridge_zabbix_stats template version: 1.1

Just imported the jitsi template, configured a host (on which jitsi runs, let's say jitsi-server) to use this model in zabbix.

Extract from zabbix_server.log:

8714:20200814:110355.994 item "jitsi-server:web.page.get[{$JITSI_COLIBRI_HOST},/colibri/stats,8080]" became not supported: Preprocessing failed for: 
1. Failed: cannot perform regular expression "\n\s?\n(.*)" match for value of type "string": pattern does not match

What can I do to solve this please?

manu-p commented 4 years ago

More information. On the jitsi server:

curl localhost:8080/colibri/stats
{"inactive_endpoints":0,"inactive_conferences":0,"total_ice_succeeded_relayed":0,"total_loss_degraded_participant_seconds":0,"bit_rate_download":0,"muc_clients_connected":1,"total_participants":0,"total_packets_received":0,"rtt_aggregate":0.0,"packet_rate_upload":0,"p2p_conferences":0,"total_loss_limited_participant_seconds":0,"octo_send_bitrate":0,"total_dominant_speaker_changes":0,"receive_only_endpoints":0,"total_colibri_web_socket_messages_received":0,"octo_receive_bitrate":0,"loss_rate_upload":0.0,"version":"2.1.296-g817c1a45","total_ice_succeeded":0,"total_colibri_web_socket_messages_sent":0,"total_bytes_sent_octo":0,"total_data_channel_messages_received":0,"loss_rate_download":0.0,"total_conference_seconds":0,"bit_rate_upload":0,"total_conferences_completed":0,"octo_conferences":0,"num_eps_no_msg_transport_after_delay":0,"endpoints_sending_video":0,"packet_rate_download":0,"muc_clients_configured":1,"conference_sizes":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"total_packets_sent_octo":0,"conferences_by_video_senders":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"jitter_aggregate":0.0,"total_ice_succeeded_tcp":0,"octo_endpoints":0,"current_timestamp":"2020-08-14 09:10:21.770","total_packets_dropped_octo":0,"conferences":0,"participants":0,"largest_conference":0,"total_packets_sent":0,"total_data_channel_messages_sent":0,"total_bytes_received_octo":0,"octo_send_packet_rate":0,"conferences_by_audio_senders":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"total_conferences_created":0,"total_ice_failed":0,"threads":34,"videochannels":0,"total_packets_received_octo":0,"graceful_shutdown":false,"octo_receive_packet_rate":0,"total_bytes_received":0,"rtp_loss":0.0,"total_loss_controlled_participant_seconds":0,"total_partially_failed_conferences":0,"endpoints_sending_audio":0,"dtls_failed_endpoints":0,"total_bytes_sent":0,"mucs_configured":1,"total_failed_conferences":0,"mucs_joined":1}
manu-p commented 4 years ago

Changed zabbix-agent to zabbix-agent2, don't know if it can be related to the previous statement, but now I get jitsi stats working good...