mirror of
https://github.com/munin-monitoring/contrib.git
synced 2018-11-08 00:59:34 +01:00
Merge pull request #214 from Sheridan/patch-1
Update plugins/zimbra/zimbra-mailboxsizes
This commit is contained in:
commit
8f2debeacb
@ -59,9 +59,9 @@ if [ "$1" = "config" ]; then
|
||||
echo 'graph_scale yes'
|
||||
echo 'graph_vlabel Mailboxsize'
|
||||
echo 'graph_category Zimbra'
|
||||
/opt/zimbra/bin/zmprov gqu $(hostname)|awk '$3>102400 {sub (/@.*/, "",$1); print $1".label "$1}'
|
||||
/opt/zimbra/bin/zmprov gqu $(hostname)|awk '$3>102400 {sub (/@.*/, "",$1); sub(/\./, "_" ,$1); print $1".label "$1}'
|
||||
exit 0
|
||||
fi
|
||||
|
||||
/opt/zimbra/bin/zmprov gqu $(hostname)|awk '$3>102400 {sub (/@.*/, "",$1); print $1".value "$3}'
|
||||
/opt/zimbra/bin/zmprov gqu $(hostname)|awk '$3>102400 {sub (/@.*/, "", $1); sub(/\./, "_" ,$1); print $1".value "$3}'
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user