1
0
Fork 0
mirror of https://github.com/munin-monitoring/contrib.git synced 2025-07-25 02:18:08 +00:00

Category Tree: Reduce number of categories

This commit is contained in:
dipohl 2017-02-20 18:32:37 +01:00
parent 8172d38c2d
commit d3ec292809
9 changed files with 118 additions and 10 deletions

View file

@ -47,7 +47,7 @@ fi
if [ "$1" = "config" ]; then
echo 'graph_title Amavis filter statistics'
echo 'graph_category postfix'
echo 'graph_category antivirus'
echo 'graph_order total clean spam virus other'
echo 'graph_vlabel Mails filtered'
echo 'graph_scale no'

View file

@ -69,7 +69,7 @@ if ($ARGV[0] and $ARGV[0] eq "config") {
if ($stats_type eq "cache") {
print "graph_title Amavis cache hit / miss ratio\n";
print "graph_args --lower-limit 0 --upper-limit 100 --rigid\n";
print "graph_category mail\n";
print "graph_category antivirus\n";
print "graph_info The ratio of cache hits and misses for AMaViSd-new.\n";
print "graph_order hits misses\n";
print "graph_scale no\n";
@ -84,7 +84,7 @@ if ($ARGV[0] and $ARGV[0] eq "config") {
print "misses.min 0\n";
} elsif ($stats_type eq "content") {
print "graph_title Amavis scanned mails\n";
print "graph_category mail\n";
print "graph_category antivirus\n";
print "graph_period minute\n";
print "graph_vlabel msgs / \${graph_period}\n";
foreach my $type (qw(total clean spam spammy virus)) {
@ -100,7 +100,7 @@ if ($ARGV[0] and $ARGV[0] eq "config") {
} elsif ($stats_type eq "time") {
print "graph_title Amavis average scan time\n";
print "graph_info Average time spent in each phase of the mail scanning process, per mail.\n";
print "graph_category mail\n";
print "graph_category antivirus\n";
print "graph_vlabel sec / mail\n";
print "graph_scale no\n";

View file

@ -33,7 +33,7 @@ fi
if [ "$1" = "config" ]; then
echo 'graph_title Amavis message filtering'
echo 'graph_category mail'
echo 'graph_category antivirus'
echo 'graph_vlabel Mails per minute'
echo 'graph_args --base 1000 -l 0'

View file

@ -18,7 +18,7 @@ if [ "$1" = "config" ]; then
graph_title ClamAV stats
graph_args --base 1000 -l 0
graph_vlabel virus/day
graph_category Mail
graph_category antivirus
virus.label virus
virus.type DERIVE
virus.min 0

View file

@ -17,7 +17,7 @@
if [ "$1" = "config" ]; then
echo "graph_title Mailman Queue"
echo "graph_category mailman"
echo "graph_category mailinglist"
echo "graph_args --base 1000 -l 0"
echo "archive.label Archive"
echo "archive.draw LINE2"

View file

@ -58,7 +58,7 @@ if ($ARGV[0] and $ARGV[0] eq "config" ){
print "graph_args --base 1000 -l 0\n";
print "graph_scale yes\n";
print "graph_vlabel subscribers\n";
print "graph_category mailman\n";
print "graph_category mailinglist\n";
print "graph_total Total\n";
print 'graph_info Plugin available at <a href="http://rodolphe.quiedeville.org/hack/munin/mailman/">http://rodolphe.quiedeville.org/hack/munin/mailman/</a>'."\n";