Compare commits

..

No commits in common. "devel" and "main" have entirely different histories.
devel ... main

5 changed files with 0 additions and 642 deletions

View file

@ -1,94 +0,0 @@
#!/usr/bin/python3
from urllib.request import urlopen
import json
import sys
data = json.loads(urlopen('http://127.0.0.1:8080/colibri/stats').read().decode('utf-8'))
v = {}
c = {
'conferences': {
'selector': 'conferences',
'warn': 3,
'crit': 5,
},
'participants': {
'selector': 'participants',
'warn': 10,
'crit': 15,
},
'largest_conference': {
'selector': 'largest_conference',
'warn': 10,
'crit': 15,
},
'inactive_conferences': {
'selector': 'inactive_conferences',
'warn': 2,
'crit': 3,
},
'bit_rate_download': {
'selector': 'bit_rate_download',
},
'bit_rate_upload': {
'selector': 'bit_rate_upload',
},
'endpoints_sending_video': {
'selector': 'endpoints_sending_video',
},
'endpoints_sending_audio': {
'selector': 'endpoints_sending_audio',
},
'receive_only_endpoints': {
'selector': 'receive_only_endpoints',
},
'p2p_conferences': {
'selector': 'p2p_conferences',
},
'jitter_aggregate': {
'selector': 'jitter_aggregate',
},
}
retcode = [0, ]
out = []
outout = []
perfdata = []
retstring = {0:'OK', 1:'WARNING', 2:'CRITICAL'}
for key in c.keys():
v[key] = data.get(c[key]['selector'])
crit = (c[key]).get('crit')
warn = (c[key]).get('warn')
if crit and v[key] >= c[key]['crit']:
state = 2
elif warn and v[key] >= c[key]['warn']:
state = 1
else:
state = 0
retcode.append(state)
if crit and warn:
out.append('%s %s' % (v[key], key))
else:
outout.append('%s: %s' % (key, v[key]))
perfdata.append('%s=%s;%s;%s;;' % (key, v[key], warn or '', crit or ''))
retcode = max(retcode)
out = 'Jitsi %s' % (retstring.get(retcode) or 'UNKNOWN') + ': ' + ', '.join(out)
print(out + '|' + ' '.join(perfdata))
print('\n'.join(outout))
sys.exit(retcode)

View file

@ -1,137 +0,0 @@
{
"inactive_endpoints": 0,
"inactive_conferences": 0,
"total_ice_succeeded_relayed": 0,
"total_loss_degraded_participant_seconds": 0,
"bit_rate_download": 3454.868,
"muc_clients_connected": 1,
"total_participants": 2,
"total_packets_received": 0,
"rtt_aggregate": 27.410624,
"packet_rate_upload": 350,
"p2p_conferences": 0,
"total_loss_limited_participant_seconds": 0,
"octo_send_bitrate": 0,
"total_dominant_speaker_changes": 2,
"receive_only_endpoints": 1,
"total_colibri_web_socket_messages_received": 0,
"octo_receive_bitrate": 0,
"version": "2.1.376-g9f12bfe2",
"total_ice_succeeded": 2,
"total_colibri_web_socket_messages_sent": 0,
"total_bytes_sent_octo": 0,
"total_data_channel_messages_received": 40,
"total_conference_seconds": 0,
"bit_rate_upload": 2756.614,
"total_conferences_completed": 0,
"octo_conferences": 0,
"num_eps_no_msg_transport_after_delay": 0,
"endpoints_sending_video": 1,
"packet_rate_download": 432,
"muc_clients_configured": 1,
"outgoing_loss": 0,
"overall_loss": 0.0013698630136986301,
"conference_sizes": [
0,
0,
1,
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,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
],
"stress_level": 0.0159,
"jitter_aggregate": 9.113968923192884,
"total_ice_succeeded_tcp": 0,
"octo_endpoints": 0,
"current_timestamp": "2020-12-22 16:01:13.323",
"total_packets_dropped_octo": 0,
"conferences": 1,
"participants": 2,
"largest_conference": 2,
"total_packets_sent": 0,
"total_data_channel_messages_sent": 36,
"incoming_loss": 0.0013698630136986301,
"total_bytes_received_octo": 0,
"octo_send_packet_rate": 0,
"conferences_by_audio_senders": [
0,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
],
"total_conferences_created": 1,
"total_ice_failed": 0,
"threads": 66,
"videochannels": 2,
"total_packets_received_octo": 0,
"graceful_shutdown": false,
"octo_receive_packet_rate": 0,
"total_bytes_received": 0,
"total_loss_controlled_participant_seconds": 0,
"total_partially_failed_conferences": 0,
"endpoints_sending_audio": 1,
"dtls_failed_endpoints": 0,
"total_bytes_sent": 0,
"mucs_configured": 1,
"total_failed_conferences": 0,
"mucs_joined": 1
}

View file

@ -1,137 +0,0 @@
{
"inactive_endpoints": 0,
"inactive_conferences": 0,
"total_ice_succeeded_relayed": 0,
"total_loss_degraded_participant_seconds": 0,
"bit_rate_download": 1936.845,
"muc_clients_connected": 1,
"total_participants": 4,
"total_packets_received": 43738,
"rtt_aggregate": 32.421282,
"packet_rate_upload": 306,
"p2p_conferences": 0,
"total_loss_limited_participant_seconds": 0,
"octo_send_bitrate": 0,
"total_dominant_speaker_changes": 5,
"receive_only_endpoints": 0,
"total_colibri_web_socket_messages_received": 0,
"octo_receive_bitrate": 0,
"version": "2.1.376-g9f12bfe2",
"total_ice_succeeded": 4,
"total_colibri_web_socket_messages_sent": 0,
"total_bytes_sent_octo": 0,
"total_data_channel_messages_received": 165,
"total_conference_seconds": 149,
"bit_rate_upload": 1614.564,
"total_conferences_completed": 1,
"octo_conferences": 0,
"num_eps_no_msg_transport_after_delay": 0,
"endpoints_sending_video": 2,
"packet_rate_download": 360,
"muc_clients_configured": 1,
"outgoing_loss": 0,
"overall_loss": 0.0012162279558683,
"conference_sizes": [
0,
0,
1,
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,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
],
"stress_level": 0.01368,
"jitter_aggregate": 2.0052301708391442,
"total_ice_succeeded_tcp": 0,
"octo_endpoints": 0,
"current_timestamp": "2020-12-22 16:06:53.324",
"total_packets_dropped_octo": 0,
"conferences": 1,
"participants": 2,
"largest_conference": 2,
"total_packets_sent": 34200,
"total_data_channel_messages_sent": 153,
"incoming_loss": 0.002168861347792409,
"total_bytes_received_octo": 0,
"octo_send_packet_rate": 0,
"conferences_by_audio_senders": [
0,
0,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
],
"total_conferences_created": 2,
"total_ice_failed": 0,
"threads": 55,
"videochannels": 2,
"total_packets_received_octo": 0,
"graceful_shutdown": false,
"octo_receive_packet_rate": 0,
"total_bytes_received": 42431660,
"total_loss_controlled_participant_seconds": 0,
"total_partially_failed_conferences": 0,
"endpoints_sending_audio": 2,
"dtls_failed_endpoints": 0,
"total_bytes_sent": 33441372,
"mucs_configured": 1,
"total_failed_conferences": 0,
"mucs_joined": 1
}

View file

@ -1,137 +0,0 @@
{
"inactive_endpoints": 0,
"inactive_conferences": 1,
"total_ice_succeeded_relayed": 0,
"total_loss_degraded_participant_seconds": 0,
"bit_rate_download": 0.5,
"muc_clients_connected": 1,
"total_participants": 2,
"total_packets_received": 0,
"rtt_aggregate": 0,
"packet_rate_upload": 0,
"p2p_conferences": 0,
"total_loss_limited_participant_seconds": 0,
"octo_send_bitrate": 0,
"total_dominant_speaker_changes": 3,
"receive_only_endpoints": 0,
"total_colibri_web_socket_messages_received": 0,
"octo_receive_bitrate": 0,
"version": "2.1.376-g9f12bfe2",
"total_ice_succeeded": 2,
"total_colibri_web_socket_messages_sent": 0,
"total_bytes_sent_octo": 0,
"total_data_channel_messages_received": 73,
"total_conference_seconds": 0,
"bit_rate_upload": 0.5,
"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,
"outgoing_loss": 0,
"overall_loss": 0,
"conference_sizes": [
1,
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": [
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
],
"stress_level": 0,
"jitter_aggregate": 0,
"total_ice_succeeded_tcp": 0,
"octo_endpoints": 0,
"current_timestamp": "2020-12-22 16:02:43.323",
"total_packets_dropped_octo": 0,
"conferences": 1,
"participants": 0,
"largest_conference": 0,
"total_packets_sent": 0,
"total_data_channel_messages_sent": 67,
"incoming_loss": 0,
"total_bytes_received_octo": 0,
"octo_send_packet_rate": 0,
"conferences_by_audio_senders": [
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
],
"total_conferences_created": 1,
"total_ice_failed": 0,
"threads": 49,
"videochannels": 0,
"total_packets_received_octo": 0,
"graceful_shutdown": false,
"octo_receive_packet_rate": 0,
"total_bytes_received": 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
}

View file

@ -1,137 +0,0 @@
{
"inactive_endpoints": 0,
"inactive_conferences": 0,
"total_ice_succeeded_relayed": 0,
"total_loss_degraded_participant_seconds": 0,
"bit_rate_download": 41.625,
"muc_clients_connected": 1,
"total_participants": 2,
"total_packets_received": 0,
"rtt_aggregate": 0,
"packet_rate_upload": 2,
"p2p_conferences": 0,
"total_loss_limited_participant_seconds": 0,
"octo_send_bitrate": 0,
"total_dominant_speaker_changes": 2,
"receive_only_endpoints": 0,
"total_colibri_web_socket_messages_received": 0,
"octo_receive_bitrate": 0,
"version": "2.1.376-g9f12bfe2",
"total_ice_succeeded": 2,
"total_colibri_web_socket_messages_sent": 0,
"total_bytes_sent_octo": 0,
"total_data_channel_messages_received": 72,
"total_conference_seconds": 0,
"bit_rate_upload": 2.682,
"total_conferences_completed": 0,
"octo_conferences": 0,
"num_eps_no_msg_transport_after_delay": 0,
"endpoints_sending_video": 0,
"packet_rate_download": 55,
"muc_clients_configured": 1,
"outgoing_loss": 0,
"overall_loss": 0.0006013229104028864,
"conference_sizes": [
0,
1,
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": [
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
],
"stress_level": 0.00116,
"jitter_aggregate": 5.010036622827151,
"total_ice_succeeded_tcp": 0,
"octo_endpoints": 0,
"current_timestamp": "2020-12-22 16:02:18.323",
"total_packets_dropped_octo": 0,
"conferences": 1,
"participants": 1,
"largest_conference": 1,
"total_packets_sent": 0,
"total_data_channel_messages_sent": 67,
"incoming_loss": 0.0006013229104028864,
"total_bytes_received_octo": 0,
"octo_send_packet_rate": 0,
"conferences_by_audio_senders": [
0,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
],
"total_conferences_created": 1,
"total_ice_failed": 0,
"threads": 54,
"videochannels": 1,
"total_packets_received_octo": 0,
"graceful_shutdown": false,
"octo_receive_packet_rate": 0,
"total_bytes_received": 0,
"total_loss_controlled_participant_seconds": 0,
"total_partially_failed_conferences": 0,
"endpoints_sending_audio": 1,
"dtls_failed_endpoints": 0,
"total_bytes_sent": 0,
"mucs_configured": 1,
"total_failed_conferences": 0,
"mucs_joined": 1
}