1
0
Fork 0
mirror of https://github.com/munin-monitoring/contrib.git synced 2025-07-25 10:28:36 +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

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