mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-21 18:41:03 +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
|
. $MUNIN_LIBDIR/plugins/plugin.sh
|
||||||
|
|
||||||
ARGS=${0##*ssl_}
|
ARGS=${0##*ssl_}
|
||||||
SITE=${ARGS/:*/}
|
SITE=${ARGS/_*/}
|
||||||
PORT=${ARGS##*:}
|
PORT=${ARGS##*_}
|
||||||
if [ "$PORT" = "$SITE" ]; then
|
if [ "$PORT" = "$SITE" ]; then
|
||||||
PORT=443
|
PORT=443
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue