diff --git a/bind9 b/bind9 index d8dc77c..3a7a51d 100755 --- a/bind9 +++ b/bind9 @@ -63,6 +63,7 @@ sub do_config { print "graph_title DNS Queries by type graph_vlabel Queries / \${graph_period} +graph_category BIND query_other.label Other query_other.type DERIVE query_other.min 0 diff --git a/ircd b/ircd index 89fbe6a..8b58d5a 100755 --- a/ircd +++ b/ircd @@ -88,7 +88,7 @@ if ($sock) { } elseif ($bits['1'] == "255") { // :irc.linuxlounge.net 252 munin-ircd :Current Global Users: 4 Max: 8 - print "clients.value ".$bits['5']."\n"; + print "clients.value ".($bits['5']-1)."\n"; // and disconnect fputs($sock, "QUIT :munin-ircd-monitoring\n"); diff --git a/milter_greylist b/milter_greylist index 85d1673..cdd8752 100755 --- a/milter_greylist +++ b/milter_greylist @@ -39,7 +39,7 @@ if [ "$1" = "config" ]; then fi echo -n "grey.value " -grep "\# Summary:" /var/run/milter-greylist/greylist.db |awk '{ print $5 }' +grep "\# Summary:" /var/lib/milter-greylist/greylist.db |awk '{ print $5 }' #echo -n "white.value " #grep "\# Summary:" /var/run/milter-greylist/greylist.db |awk '{ print $7 }' diff --git a/milter_greylist_whitelisted b/milter_greylist_whitelisted index 3e04d88..74e4bd8 100755 --- a/milter_greylist_whitelisted +++ b/milter_greylist_whitelisted @@ -33,5 +33,5 @@ if [ "$1" = "config" ]; then fi echo -n "white.value " -grep "\# Summary:" /var/run/milter-greylist/greylist.db |awk '{ print $7 }' +grep "\# Summary:" /var/lib/milter-greylist/greylist.db |awk '{ print $7 }'