ircd channels listing now 20 channels.
[somenet/munin.git] / ircsvcdb
index 445f5c20f9f15ef1664d0d25f610b7d98dfe978a..feea49421e8112989882400c48a9c8c550aaacd4 100755 (executable)
--- a/ircsvcdb
+++ b/ircsvcdb
@@ -22,21 +22,21 @@ if [ "$1" = "autoconf" ]; then
 fi
 
 if [ "$1" = "config" ]; then
-    echo "graph_title service's database"
+    echo "graph_title service database stats"
     echo "graph_info This graph shows the IRC service's database stats."
     echo "graph_category irc"
-    echo "graph_order dbsize"
-    echo "graph_scale yes"
+    echo "graph_printf %.0lf"
     echo "graph_args --logarithmic -l 0.1"
+    echo "graph_scale no"
     echo "dbsize.label DB size"
     echo "dbsize.draw LINE2"
-    echo "memos.label Stored memos"
-    echo "memos.draw LINE2"
+    echo "dblines.label DB lines"
+    echo "dblines.draw LINE2"
     exit 0
 fi
 
 grep -i "dbsize.value" /tmp/irc/servicestats.txt
-grep -i "memos.value" /tmp/irc/servicestats.txt
+grep -i "dblines.value" /tmp/irc/servicestats.txt
 
 exit 0