This commit is contained in:
1
bind9
1
bind9
@@ -63,6 +63,7 @@ sub do_config {
|
|||||||
|
|
||||||
print "graph_title DNS Queries by type
|
print "graph_title DNS Queries by type
|
||||||
graph_vlabel Queries / \${graph_period}
|
graph_vlabel Queries / \${graph_period}
|
||||||
|
graph_category BIND
|
||||||
query_other.label Other
|
query_other.label Other
|
||||||
query_other.type DERIVE
|
query_other.type DERIVE
|
||||||
query_other.min 0
|
query_other.min 0
|
||||||
|
|||||||
2
ircd
2
ircd
@@ -88,7 +88,7 @@ if ($sock) {
|
|||||||
} elseif ($bits['1'] == "255") {
|
} elseif ($bits['1'] == "255") {
|
||||||
|
|
||||||
// :irc.linuxlounge.net 252 munin-ircd :Current Global Users: 4 Max: 8
|
// :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
|
// and disconnect
|
||||||
fputs($sock, "QUIT :munin-ircd-monitoring\n");
|
fputs($sock, "QUIT :munin-ircd-monitoring\n");
|
||||||
|
|||||||
@@ -39,7 +39,7 @@ if [ "$1" = "config" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
echo -n "grey.value "
|
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 "
|
#echo -n "white.value "
|
||||||
#grep "\# Summary:" /var/run/milter-greylist/greylist.db |awk '{ print $7 }'
|
#grep "\# Summary:" /var/run/milter-greylist/greylist.db |awk '{ print $7 }'
|
||||||
|
|||||||
@@ -33,5 +33,5 @@ if [ "$1" = "config" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
echo -n "white.value "
|
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 }'
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user