Projet

Général

Profil

Révision d43862ac

IDd43862ac62dd827433eb7d12ac66e38a94c6bb02
Parent 3886b9e4
Enfant 46723dec

Ajouté par Sebastian L il y a plus de 4 ans

jitsi_videobridge: Small typo fixes and max time for curl

Voir les différences:

plugins/jitsi/jitsi_videobridge
19 19

  
20 20
You may specify the URL where to get the statistics.
21 21

  
22
 sites       - URL of colibri stats
23
 max_time    - Timeout curl - defaults to 3 seconds
22
 url      - URL of colibri stats
23
 max_time - Timeout curl - defaults to 3 seconds
24 24

  
25 25
 [jitsi_videobridge]
26 26
 env.url http://127.0.0.1:8080/colibri/stats
......
47 47
. "$MUNIN_LIBDIR/plugins/plugin.sh"
48 48

  
49 49
COLIBRI_URL=${url:-"http://127.0.0.1:8080/colibri/stats"}
50
max_time=${max_time:-3}
50 51

  
51 52
case $1 in
52 53

  
......
111 112

  
112 113
esac
113 114

  
114
JSONSTATS=$(curl -s -f -m 2 "$COLIBRI_URL")
115
JSONSTATS=$(curl -s -f -m "$max_time" "$COLIBRI_URL")
115 116

  
116 117
echo "multigraph jitsi_videobridge_sessions"
117 118
for KEY in videochannels audiochannels conferences participants; do

Formats disponibles : Unified diff