Projet

Général

Profil

Révision e22acbdd

IDe22acbdda53ac3da9c3aefbfda4f65e2486c80ea
Parent 0fbb8011
Enfant 70b2815d

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

Small fix (intialize variables)

Voir les différences:

plugins/coturn/coturn_sessions
6 6

  
7 7
=head1 NAME
8 8

  
9
coturn - Simple plugin to monitor sessions on coturn server
9
coturn_sessions - Simple plugin to monitor sessions on coturn server
10 10

  
11 11
=head1 CONFIGURATION
12 12

  
......
15 15
specify the port of the cli interface.
16 16

  
17 17
[coturn_sessions]
18
env.clipassword VERYSECUREPASSWORD
18
env.password VERYSECUREPASSWORD
19 19
env.port PORT
20 20

  
21 21
=head1 AUTHOR
22 22

  
23
Copyright (C) 2020 Sebastian L. <sebastiab@momou.ch>
23
Copyright (C) 2020 Sebastian L. (https://momou.ch)
24 24

  
25 25
=head1 LICENSE
26 26

  
......
36 36
. "$MUNIN_LIBDIR/plugins/plugin.sh"
37 37

  
38 38
cliport=${port:-5766}
39
clipassword=${port:-}
39
clipassword=${password:-}
40 40

  
41 41
get_coturn_stats() {
42 42
	echo "open 127.0.0.1 $cliport"

Formats disponibles : Unified diff