]> git.somenet.org - somenet/munin.git/blob - ircd
more munin fields
[somenet/munin.git] / ircd
1 #!/bin/sh
2
3 if [ "$1" = "autoconf" ]; then
4         echo "yes"
5         exit 0
6 fi
7
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"
14     echo "graph_scale no"
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"
22     exit 0
23 fi
24
25 cat /tmp/irc/stats.txt
26 exit 0