mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-21 18:41:03 +00:00
fix old wrong variable
This commit is contained in:
parent
60fe9ba9ea
commit
2848fee19d
1 changed files with 3 additions and 3 deletions
|
@ -74,11 +74,11 @@ echo -n
|
|||
DISCONNECTS=$(egrep -c '[dovecot]?.*Disconnected' $LOGFILE)
|
||||
CONNECTS=$(egrep -c '[dovecot]?.*Login' $LOGFILE)
|
||||
VALUE=$($EXPR_BIN $CONNECTS - $DISCONNECTS)
|
||||
if [ -z "$DISCON" ] || [ "$DISCON" -lt 0 ]; then
|
||||
DISCON=0
|
||||
if [ -z "$VALUE" ] || [ "$VALUE" -lt 0 ]; then
|
||||
VALUE=0
|
||||
fi
|
||||
echo -en "connected.value "
|
||||
echo $DISCON
|
||||
echo $VALUE
|
||||
echo -n
|
||||
######################
|
||||
# TLS Logins
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue