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

Failed: cannot perform regular expression "\n\s?\n(.*)" match for value of type "string": pattern does not match #12

Open toushin-taishi opened 3 years ago

toushin-taishi commented 3 years ago

Hello, I am getting the following error: "1. Failed: cannot perform regular expression "\n\s?\n(.*)" match for value of type "string": pattern does not match" for the item Jitsi Videobridge Stats when installing the template on Zabbix 5.0.5. I am using zabbix agent version 3.0.12 on the server running the jitsi service.

curl -s http://localhost:8080/colibri/stats is working as intended.

Could you please tell me how to resolve the issue?

Thanks in advance!

romantico88 commented 3 years ago

Wel...It's known issue that Zabbix have very problematic compability in regex versions... Espesially, that i wrote this template in 4.2 version. Since 4.4 Zabbix are written in Go(previous C language). Please, Let's try a old version (with User Parameters) , should work on your version.

toushin-taishi commented 3 years ago

Hi, thanks for the reply. Unfortunately, version 1.0 also does not work with Zabbix version 5. I am getting the following errors on all items:

Value of type "string" is not suitable for value type "Numeric (unsigned)". Value "{
"inactive_endpoints": 0,
"inactive_conferences": 0,
"total_ice_succeeded_relayed": 0,
"total_loss_degraded_participant_seconds": 139,
"bit_rate_download": 875.237,
"muc_clients_connected": 1,
"total_participants": 79,
"total_packets_received": 2445350,
"rtt_aggregate": 248.77895833333332,
"packet_rate_upload": 835,
"p2p_conferences": 0,
"total_loss_limited_participant_seconds": 741,
"octo_send_bitrate": 0,
"total_dominant_speaker_changes": 457,
"receive_only_endpoints": 3,
"total_colibri_web_socket_messages_received": 71888,
"octo_receive_bitrate": 0,
"version": "2.1.376-g9f12bfe2",
"total_ice_succeeded": 42,
"total_colibri_web_socket_messages_sent": 100331,
"total_bytes_sent_octo": 0,
"total_data_channel_messages_received": 0,
"total_conference_seconds": 5787,
"bit_rate_upload": 1036.647,
"total_conferences_completed": 6,
"octo_conferences": 0,
"num_eps_no_msg_transport_after_delay": 0,
"endpoints_sending_video": 2,
"packet_rate_download": 609,
"muc_clients_configured": 1,
"outgoing_loss": 0.0024867889337892445,
"overall_loss": 0.0005756223917110375,
"conference_sizes": [
0,
0,
0,
2,
1,
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": [
2,
0,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
],
"stress_level": 0.02604,
"jitter_aggregate": 12.283165011102106,
"total_ice_succeeded_tcp": 0,
"octo_endpoints": 0,
"current_timestamp": "2021-01-11 03:29:39.973",
"total_packets_dropped_octo": 0,
"conferences": 3,
"participants": 10,
"largest_conference": 4,
"total_packets_sent": 3102126,
"total_data_channel_messages_sent": 0,
"incoming_loss": 0.00032548110175352945,
"total_bytes_received_octo": 0,
"octo_send_packet_rate": 0,
"conferences_by_audio_senders": [
0,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
],
"total_conferences_created": 9,
"total_ice_failed": 35,
"threads": 241,
"videochannels": 10,
"total_packets_received_octo": 0,
"graceful_shutdown": false,
"octo_receive_packet_rate": 0,
"total_bytes_received": 404350084,
"total_loss_controlled_participant_seconds": 21729,
"total_partially_failed_conferences": 4,
"endpoints_sending_audio": 6,
"dtls_failed_endpoints": 0,
"total_bytes_sent": 1303801260,
"mucs_configured": 1,
"total_failed_conferences": 0,
"mucs_joined": 1
}"