mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-21 18:41:03 +00:00
Small fix (intialize variables)
This commit is contained in:
parent
0fbb80119c
commit
e22acbdda5
1 changed files with 4 additions and 4 deletions
|
@ -6,7 +6,7 @@ set -e
|
||||||
|
|
||||||
=head1 NAME
|
=head1 NAME
|
||||||
|
|
||||||
coturn - Simple plugin to monitor sessions on coturn server
|
coturn_sessions - Simple plugin to monitor sessions on coturn server
|
||||||
|
|
||||||
=head1 CONFIGURATION
|
=head1 CONFIGURATION
|
||||||
|
|
||||||
|
@ -15,12 +15,12 @@ cli access. A telnet client has to be installed. Optionally you can
|
||||||
specify the port of the cli interface.
|
specify the port of the cli interface.
|
||||||
|
|
||||||
[coturn_sessions]
|
[coturn_sessions]
|
||||||
env.clipassword VERYSECUREPASSWORD
|
env.password VERYSECUREPASSWORD
|
||||||
env.port PORT
|
env.port PORT
|
||||||
|
|
||||||
=head1 AUTHOR
|
=head1 AUTHOR
|
||||||
|
|
||||||
Copyright (C) 2020 Sebastian L. <sebastiab@momou.ch>
|
Copyright (C) 2020 Sebastian L. (https://momou.ch)
|
||||||
|
|
||||||
=head1 LICENSE
|
=head1 LICENSE
|
||||||
|
|
||||||
|
@ -36,7 +36,7 @@ GPLv2
|
||||||
. "$MUNIN_LIBDIR/plugins/plugin.sh"
|
. "$MUNIN_LIBDIR/plugins/plugin.sh"
|
||||||
|
|
||||||
cliport=${port:-5766}
|
cliport=${port:-5766}
|
||||||
clipassword=${port:-}
|
clipassword=${password:-}
|
||||||
|
|
||||||
get_coturn_stats() {
|
get_coturn_stats() {
|
||||||
echo "open 127.0.0.1 $cliport"
|
echo "open 127.0.0.1 $cliport"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue