From e22acbdda53ac3da9c3aefbfda4f65e2486c80ea Mon Sep 17 00:00:00 2001 From: Sebastian L Date: Fri, 3 Apr 2020 16:22:02 +0200 Subject: [PATCH] Small fix (intialize variables) --- plugins/coturn/coturn_sessions | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/plugins/coturn/coturn_sessions b/plugins/coturn/coturn_sessions index de7ac894..b34e8312 100755 --- a/plugins/coturn/coturn_sessions +++ b/plugins/coturn/coturn_sessions @@ -6,7 +6,7 @@ set -e =head1 NAME -coturn - Simple plugin to monitor sessions on coturn server +coturn_sessions - Simple plugin to monitor sessions on coturn server =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. [coturn_sessions] -env.clipassword VERYSECUREPASSWORD +env.password VERYSECUREPASSWORD env.port PORT =head1 AUTHOR -Copyright (C) 2020 Sebastian L. +Copyright (C) 2020 Sebastian L. (https://momou.ch) =head1 LICENSE @@ -36,7 +36,7 @@ GPLv2 . "$MUNIN_LIBDIR/plugins/plugin.sh" cliport=${port:-5766} -clipassword=${port:-} +clipassword=${password:-} get_coturn_stats() { echo "open 127.0.0.1 $cliport"