3 if [ "$1" = "autoconf" ]; then
8 if [ "$1" = "config" ]; then
9 echo "graph_title service's database"
10 echo "graph_info This graph shows the IRC service's database stats."
11 echo "graph_category irc"
12 echo "graph_order dbsize"
13 echo "graph_scale yes"
14 echo "graph_args --logarithmic -l 0.1"
15 echo "dbsize.label DB size"
16 echo "dbsize.draw LINE2"
17 echo "memos.label Stored memos"
18 echo "memos.draw LINE2"
22 grep -i "dbsize.value" /tmp/irc/servicestats.txt
23 grep -i "memos.value" /tmp/irc/servicestats.txt