Compare commits
No commits in common. "c9eedf781447a16dc9e5ea00bbde424be38c637e" and "eee70f73dc21d77bf1902dc4186c137f3c0a5563" have entirely different histories.
c9eedf7814
...
eee70f73dc
|
@ -15,7 +15,6 @@ All notable changes to this project will be documented in this file.
|
|||
### Added
|
||||
- Added 'jitsi_components' table to handle events related to the platform health
|
||||
- Added jicofo starting, xmpp registering and started events
|
||||
- Added jvb added, removed and lost events
|
||||
|
||||
### Changed
|
||||
|
||||
|
|
30
jilo
30
jilo
|
@ -381,36 +381,6 @@ jitsi_log_parse() {
|
|||
db_insert=$(printf "$db_insert_jitsi_component_event_template" "$jitsi_component" "$loglevel" "$event_time" "" "jicofo started" "")
|
||||
db_query "$db_insert"
|
||||
|
||||
# bridge added
|
||||
elif [[ "$line" =~ Jicofo\ ([0-9-]+\ [0-9:.]+)\ ([A-Z]+):.*\BridgeSelector\.addJvbAddress.*:\ Added\ new\ videobridge:\ Bridge\[jid=.*@.*\/(.*),\ version=(.*),.*region=(.*), ]]; then
|
||||
event_time="${BASH_REMATCH[1]}"
|
||||
loglevel="${BASH_REMATCH[2]}"
|
||||
jvb_id="${BASH_REMATCH[3]}"
|
||||
jvb_version="${BASH_REMATCH[4]}"
|
||||
jvb_region="${BASH_REMATCH[5]}"
|
||||
db_insert=$(printf "$db_insert_jitsi_component_event_template" "$jitsi_component" "$loglevel" "$event_time" "$jvb_id" "jvb added" "")
|
||||
db_query "$db_insert"
|
||||
db_insert=$(printf "$db_insert_jitsi_component_event_template" "$jitsi_component" "$loglevel" "$event_time" "$jvb_id" "jvb version" "$jvb_version")
|
||||
db_query "$db_insert"
|
||||
db_insert=$(printf "$db_insert_jitsi_component_event_template" "$jitsi_component" "$loglevel" "$event_time" "$jvb_id" "jvb region" "$jvb_region")
|
||||
db_query "$db_insert"
|
||||
|
||||
# bridge removed
|
||||
elif [[ "$line" =~ Jicofo\ ([0-9-]+\ [0-9:.]+)\ ([A-Z]+):.*\BridgeSelector\.removeJvbAddress.*:\ Removing\ JVB:\ .*@.*\/(.*) ]]; then
|
||||
event_time="${BASH_REMATCH[1]}"
|
||||
loglevel="${BASH_REMATCH[2]}"
|
||||
jvb_id="${BASH_REMATCH[3]}"
|
||||
db_insert=$(printf "$db_insert_jitsi_component_event_template" "$jitsi_component" "$loglevel" "$event_time" "$jvb_id" "jvb removed" "")
|
||||
db_query "$db_insert"
|
||||
|
||||
# bridge lost (just in case the removal was not detected)
|
||||
elif [[ "$line" =~ Jicofo\ ([0-9-]+\ [0-9:.]+)\ ([A-Z]+):.*\BridgeSelector\.removeJvbAddress.*:\ Lost\ a\ bridge:\ .*@.*\/(.*) ]]; then
|
||||
event_time="${BASH_REMATCH[1]}"
|
||||
loglevel="${BASH_REMATCH[2]}"
|
||||
jvb_id="${BASH_REMATCH[3]}"
|
||||
db_insert=$(printf "$db_insert_jitsi_component_event_template" "$jitsi_component" "$loglevel" "$event_time" "$jvb_id" "jvb lost" "")
|
||||
db_query "$db_insert"
|
||||
|
||||
# locate conference starting event
|
||||
elif [[ "$line" =~ Jicofo\ ([0-9-]+\ [0-9:.]+)\ ([A-Z]+):.*\[room=([^ ]+)@(.*)\]\ JitsiMeetConferenceImpl\.joinTheRoom ]]; then
|
||||
event_time="${BASH_REMATCH[1]}"
|
||||
|
|
Loading…
Reference in New Issue