Category Tree: Reduce number of categories

This commit is contained in:
dipohl 2017-02-20 16:42:38 +01:00
parent c67c3d9298
commit 8172d38c2d
4 changed files with 4 additions and 8 deletions

View File

@ -91,7 +91,6 @@ my $pos = $ENV{pos} || 0;
my $response;
my $GRAPH_CATEGORY = "Groupwise";
my $GRAPH_PERIOD = "minute";
my $GRAPH_VLABEL = "bytes per $GRAPH_PERIOD in(-) / out(+)";
my $BYTES_LABEL='Bytes';
@ -134,7 +133,7 @@ if (defined $ARGV[0] and $ARGV[0] eq "config")
my $gwname = &get_single ($session, "1.3.6.1.4.1.23.2.70.1.1.$pos"); # gwiaGatewayName
# output to munin
print "host_name $host
graph_category $GRAPH_CATEGORY
graph_category mail
graph_args --base 1000
graph_period $GRAPH_PERIOD
graph_title GWIA byte load ($gwname)

View File

@ -96,7 +96,6 @@ my $pos = $ENV{pos} || 0;
my $response;
# fix values
my $GRAPH_CATEGORY = "Groupwise";
my $GRAPH_PERIOD = "minute";
my $GRAPH_VLABEL = "messages per $GRAPH_PERIOD in(-) / out(+)";
my $MSGS_LABEL='Messages';
@ -147,7 +146,7 @@ if (defined $ARGV[0] and $ARGV[0] eq "config")
# output to munin
print "host_name $host
graph_category Groupwise
graph_category mail
graph_args --base 1000
graph_period $GRAPH_PERIOD
graph_title GWIA msg load ($gwname)

View File

@ -93,7 +93,6 @@ my $pos = $ENV{pos} || 1;
my $response;
# fix values
my $GRAPH_CATEGORY = "Groupwise";
my $GRAPH_PERIOD = "minute";
my $GRAPH_VLABEL = "number of messages / 10 min";
my $ROUTED_LABEL="Routed";
@ -143,7 +142,7 @@ if (defined $ARGV[0] and $ARGV[0] eq "config")
# output to munin
print "host_name $host
graph_category Groupwise
graph_category mail
graph_args --base 1000
graph_period $GRAPH_PERIOD
graph_title GWMTA load ($domain)

View File

@ -100,7 +100,6 @@ my $pos = $ENV{pos} || 1;
my $response;
my $GRAPH_CATEGORY = "Groupwise";
my $GRAPH_PERIOD = "minute";
my $GRAPH_VLABEL = "messages per $GRAPH_PERIOD";
my $TOTAL_LABEL = "TotalMsgs";
@ -151,7 +150,7 @@ if (defined $ARGV[0] and $ARGV[0] eq "config")
# output to munin
print "host_name $host
graph_category $GRAPH_CATEGORY
graph_category mail
graph_args --base 1000
graph_period $GRAPH_PERIOD
graph_title GWPOA load ($poname)