3 if [ "$1" = "autoconf" ]; then
8 if [ "$1" = "config" ]; then
9 echo "graph_title ircd status"
10 echo "graph_info This graph shows the IRC daemon's status"
11 echo "graph_category irc"
12 echo "graph_order clients channels servers"
13 echo "graph_printf %.0lf"
15 echo "graph_args -l 0"
16 echo "channels.label channels"
17 echo "channels.draw LINE2"
18 echo "clients.label clients"
19 echo "clients.draw LINE2"
20 echo "servers.label servers"
21 echo "servers.draw LINE2"
25 cat /tmp/irc/stats.txt