X-Git-Url: https://git.somenet.org/somenet/munin.git/blobdiff_plain/e273a77ad6253ca980eb27c22099f7eacb4e6a99..5fa28b6d2e5c839e55c69adea09d3bdef85a76cf:/ircsvcdb diff --git a/ircsvcdb b/ircsvcdb index 445f5c2..feea494 100755 --- 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