3 if [ "$1" = "autoconf" ]; then
8 if [ "$1" = "config" ]; then
9 echo "graph_title service registrations"
10 echo "graph_info This graph shows the IRC service's registration counts. Including the count of registered channels and nicknames."
11 echo "graph_category irc"
12 echo "graph_order channels nickaliases nickcores"
13 echo "graph_printf %.0lf"
15 echo "graph_args -l 0"
16 echo "channels.label Registered channels"
17 echo "channels.draw LINE2"
18 echo "nickaliases.label Registered nicks + aliases"
19 echo "nickaliases.draw LINE2"
20 echo "nickcores.label Registered nicks"
21 echo "nickcores.draw LINE2"
25 grep -i "channels.value" /tmp/irc/servicestats.txt
26 grep -i "nickaliases.value" /tmp/irc/servicestats.txt
27 grep -i "nickcores.value" /tmp/irc/servicestats.txt