This commit is contained in:
2013-06-12 07:25:49 +00:00
parent b604dba311
commit 2ed0dff658
4 changed files with 4 additions and 3 deletions

1
bind9
View File

@@ -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

2
ircd
View File

@@ -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");

View File

@@ -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 }'

View File

@@ -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 }'