From a3c2338b1f8e3aee48e403ce3b6e83a407fcb812 Mon Sep 17 00:00:00 2001 From: dipohl Date: Wed, 22 Feb 2017 03:29:26 +0100 Subject: [PATCH] Category Tree: reduce number of categories --- plugins/drbd/drbd | 2 +- plugins/drbd/drbd-stat | 2 +- plugins/gearman/gearman_queue | 2 +- plugins/haproxy/haproxy-bytes | 2 +- plugins/haproxy/haproxy-connection-errors | 2 +- plugins/haproxy/haproxy-downtime | 2 +- plugins/haproxy/haproxy-errors | 2 +- plugins/haproxy/haproxy-failed-checks | 2 +- plugins/haproxy/haproxy-response-errors | 2 +- plugins/haproxy/haproxy-sessions | 2 +- plugins/haproxy/haproxy-sessions-by-servers | 2 +- plugins/haproxy/haproxy_abort_backend | 2 +- plugins/haproxy/haproxy_active_backend | 2 +- plugins/haproxy/haproxy_bytes_backend | 2 +- plugins/haproxy/haproxy_bytes_compressor_backend | 2 +- plugins/haproxy/haproxy_bytes_compressor_frontend | 2 +- plugins/haproxy/haproxy_bytes_frontend | 2 +- plugins/haproxy/haproxy_denied_backend | 2 +- plugins/haproxy/haproxy_denied_frontend | 2 +- plugins/haproxy/haproxy_errors_backend | 2 +- plugins/haproxy/haproxy_errors_frontend | 2 +- plugins/haproxy/haproxy_queue_backend | 2 +- plugins/haproxy/haproxy_rate_backend | 2 +- plugins/haproxy/haproxy_rate_frontend | 2 +- plugins/haproxy/haproxy_reqrate_frontend | 2 +- plugins/haproxy/haproxy_response_compressor_backend | 2 +- plugins/haproxy/haproxy_response_compressor_frontend | 2 +- plugins/haproxy/haproxy_responses_backend | 2 +- plugins/haproxy/haproxy_responses_frontend | 2 +- plugins/haproxy/haproxy_sessions_backend | 2 +- plugins/haproxy/haproxy_sessions_frontend | 2 +- plugins/haproxy/haproxy_sessions_total_backend | 2 +- plugins/haproxy/haproxy_sessions_total_frontend | 2 +- plugins/haproxy/haproxy_warnings_backend | 2 +- 34 files changed, 34 insertions(+), 34 deletions(-) diff --git a/plugins/drbd/drbd b/plugins/drbd/drbd index 63c5a02b..4216902e 100755 --- a/plugins/drbd/drbd +++ b/plugins/drbd/drbd @@ -14,7 +14,7 @@ my $temp; sub display{ if ($ARGV[0] and $ARGV[0] eq "config"){ print "graph_title DRBD\n"; - print "graph_category DRBD\n"; + print "graph_category disk\n"; print "graph_info Graph DRBD\n"; print "graph_vlabel Bytes per \${graph_period} read (-) / written (+)\n"; print "graph_args --base 1024 --lower-limit 0\n"; diff --git a/plugins/drbd/drbd-stat b/plugins/drbd/drbd-stat index 58d91c9f..2a6e7259 100755 --- a/plugins/drbd/drbd-stat +++ b/plugins/drbd/drbd-stat @@ -15,7 +15,7 @@ my $temp; sub display{ if ($ARGV[0] and $ARGV[0] eq "config"){ print "graph_title DRBD\n"; - print "graph_category DRBD\n"; + print "graph_category disk\n"; print "graph_info Graph DRBD\n"; print "graph_vlabel Graph DRBD\n"; #print "graph_scale no\n"; diff --git a/plugins/gearman/gearman_queue b/plugins/gearman/gearman_queue index 1c37baf1..d24120e1 100755 --- a/plugins/gearman/gearman_queue +++ b/plugins/gearman/gearman_queue @@ -27,7 +27,7 @@ if (defined $ARGV[0] and $ARGV[0] eq 'config') { print "graph_title Gearman queue\n"; print "graph_args --base 1000\n"; print "graph_vlabel jobs\n"; - print "graph_category Gearman\n"; + print "graph_category other\n"; while ( my ($key, $value) = each(%$gearman) ) { my $param = $key."_"."queue"; print "$param.type GAUGE\n"; diff --git a/plugins/haproxy/haproxy-bytes b/plugins/haproxy/haproxy-bytes index b719c95e..303a849e 100755 --- a/plugins/haproxy/haproxy-bytes +++ b/plugins/haproxy/haproxy-bytes @@ -30,7 +30,7 @@ graph_vlabel=${title} case $1 in config) cat <