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)
This commit is contained in:
dipohl 2017-02-23 03:20:34 +01:00
parent 7cd10950aa
commit 0147f80574
10 changed files with 14 additions and 14 deletions

View File

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

View File

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

View File

@ -45,7 +45,7 @@ if(defined $ARGV[0] && $ARGV[0] eq 'config')
print <<EOC
graph_title Episodes
graph_vlabel Episodes
graph_category Sick-Beard
graph_category other
down.label Downloaded
snatched.label Snatched
total.label Total

View File

@ -45,7 +45,7 @@ if(defined $ARGV[0] && $ARGV[0] eq 'config')
print <<EOC
graph_title Shows
graph_vlabel Shows
graph_category Sick-Beard
graph_category other
active.label Active
total.label Total
EOC

View File

@ -35,7 +35,7 @@ except:
try:
if sys.argv[1] == 'config':
print "graph_title Swift object async pending %s" % swift_server
print "graph_category swift"
print "graph_category fs"
print "async_pending.type GAUGE"
print "async_pending.label Async pending"
print "async_pending.draw AREA"

View File

@ -28,7 +28,7 @@ import json
try:
if sys.argv[1] == "config":
print 'graph_title Swift cluster dispersion'
print 'graph_category swift'
print 'graph_category fs'
print 'object_missing_two.type GAUGE'
print 'object_missing_two.label Objects missing two copies'

View File

@ -35,7 +35,7 @@ except:
try:
if sys.argv[1] == 'config':
print "graph_title Swift objects quarantined %s" % swift_server
print "graph_category swift"
print "graph_category fs"
print "quarantined_objects.type GAUGE"
print "quarantined_objects.draw AREA"
print "quarantined_objects.label Quarantined objects"

View File

@ -35,7 +35,7 @@ except:
try:
if sys.argv[1] == 'config':
print "graph_title Swift object replication time %s" % swift_server
print "graph_category swift"
print "graph_category fs"
print "graph_vlabel Time"
print "object_replication_time.type GAUGE"
print "object_replication_time.label Replication time"

View File

@ -37,14 +37,14 @@ case $1 in
multigraph tarsnap_total
graph_title Tarsnap total data
graph_vlabel bytes
graph_category tarsnap
graph_category backup
total_size.label Total size
total_compressed.label Total size (compressed)
multigraph tarsnap_unique
graph_title Tarsnap unique data
graph_vlabel bytes
graph_category tarsnap
graph_category backup
unique_size.label Unique data
unique_compressed.label Unique data (compressed)
EOM

View File

@ -50,7 +50,7 @@ if [ "$1" = "config" ] ; then
echo "graph_args --upper-limit 100 -l 0"
echo "graph_vlabel %"
echo "graph_scale no"
echo "graph_category tv"
echo "graph_category sensors"
echo "ss.label Signal Strength"
echo "snq.label Signal Quality"
echo "seq.label Symbol Quality"