mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-21 10:39:53 +00:00
[ssl_] Can't use colon in plugin names
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
This commit is contained in:
parent
21dfe488c0
commit
43e67ac747
1 changed files with 2 additions and 2 deletions
|
@ -29,8 +29,8 @@ Copyright (C) 2013 Patrick Domack <patrickdk@patrickdk.com>
|
|||
. $MUNIN_LIBDIR/plugins/plugin.sh
|
||||
|
||||
ARGS=${0##*ssl_}
|
||||
SITE=${ARGS/:*/}
|
||||
PORT=${ARGS##*:}
|
||||
SITE=${ARGS/_*/}
|
||||
PORT=${ARGS##*_}
|
||||
if [ "$PORT" = "$SITE" ]; then
|
||||
PORT=443
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue