From 0147f805740695b13c9d2c627152b10211897f63 Mon Sep 17 00:00:00 2001 From: dipohl Date: Thu, 23 Feb 2017 03:20:34 +0100 Subject: [PATCH] Category Tree: Reduce number of categories jenkins -> devel sickbeard -> other (sickbeard) swift -> fs (swift) [or better disk, storage, appserver?] tarsnap -> backup (tarsnap) tv -> sensors (tv) --- plugins/jenkins/jenkins_ | 6 +++--- plugins/jenkins/jenkins_nodes_ | 4 ++-- plugins/sickbeard/sickbeard_episodes | 2 +- plugins/sickbeard/sickbeard_shows | 2 +- plugins/swift/swift-async_ | 2 +- plugins/swift/swift-dispersion | 2 +- plugins/swift/swift-quarantined_ | 2 +- plugins/swift/swift-replication-time_ | 2 +- plugins/tarsnap/tarsnap | 4 ++-- plugins/tv/hdhomerun_ | 2 +- 10 files changed, 14 insertions(+), 14 deletions(-) diff --git a/plugins/jenkins/jenkins_ b/plugins/jenkins/jenkins_ index 7dd34068..9680030a 100644 --- a/plugins/jenkins/jenkins_ +++ b/plugins/jenkins/jenkins_ @@ -86,7 +86,7 @@ if ( exists $ARGV[0] and $ARGV[0] eq "config" ) { print "graph_args --base 1000 -l 0\n"; print "graph_title Jenkins Build Results\n"; print "graph_vlabel Build Results\n"; - print "graph_category Jenkins\n"; + print "graph_category devel\n"; print "graph_info The Graph shows the Status of each Build\n"; print "build_disabled.draw AREA\n"; print "build_disabled.label disabled\n"; @@ -110,7 +110,7 @@ if ( exists $ARGV[0] and $ARGV[0] eq "config" ) { print "graph_args --base 1000 -l 0\n"; print "graph_title Jenkins Queue Length\n"; print "graph_vlabel Number of Jobs in Queue\n"; - print "graph_category Jenkins\n"; + print "graph_category devel\n"; print "graph_info The Graph shows the Number of Jobs in the Build Queue\n"; print "build_count.label Jobs in Queue\n"; print "build_count.type GAUGE\n"; @@ -120,7 +120,7 @@ if ( exists $ARGV[0] and $ARGV[0] eq "config" ) { print "graph_args --base 1000 -l 0\n"; print "graph_title Jenkins Builds Running\n"; print "graph_vlabel Builds currently running\n"; - print "graph_category Jenkins\n"; + print "graph_category devel\n"; print "graph_info The Graph shows the Number of Builds, currently running\n"; print "build_running.label running Builds\n"; print "build_running.type GAUGE\n"; diff --git a/plugins/jenkins/jenkins_nodes_ b/plugins/jenkins/jenkins_nodes_ index 20ce41fa..8293caed 100644 --- a/plugins/jenkins/jenkins_nodes_ +++ b/plugins/jenkins/jenkins_nodes_ @@ -25,7 +25,7 @@ my $cmd = "$wgetBin $auth -qO- $url:$port$context"; my $monitor; if ( exists $ARGV[0] and $ARGV[0] eq "config" ) { - my $base_config = "graph_category Jenkins\n"; + my $base_config = "graph_category devel\n"; if( $type eq "mem_sum" ) { print $base_config; @@ -271,4 +271,4 @@ sub clean_name { $name =~ s/\)/\_/g; $name =~ s/ //g; return $name; -} \ No newline at end of file +} diff --git a/plugins/sickbeard/sickbeard_episodes b/plugins/sickbeard/sickbeard_episodes index decb9266..8b297006 100755 --- a/plugins/sickbeard/sickbeard_episodes +++ b/plugins/sickbeard/sickbeard_episodes @@ -45,7 +45,7 @@ if(defined $ARGV[0] && $ARGV[0] eq 'config') print <