3 if [ "$1" = "autoconf" ]; then
9 if [ "$1" = "config" ]; then
10 echo "graph_title User's mailstorage size"
11 echo "graph_info This graph shows every user's mailstorage size. Also spam-dir."
12 echo "graph_category mail"
13 echo "graph_order `cat /tmp/munin_cyrus.txt | awk '{printf $2" " }'`"
14 cat /tmp/munin_cyrus.txt 2> /dev/null | awk '{print $2".draw LINE2" }'
15 cat /tmp/munin_cyrus.txt 2> /dev/null | awk '{print $2".label "$2 }'
16 # echo "graph_printf %.0lf"
17 # echo "graph_scale no"
18 echo "graph_args -l 0"
22 cat /tmp/munin_cyrus.txt | awk '{print $2".value "$1 }'