1
0
Fork 0
mirror of https://github.com/munin-monitoring/contrib.git synced 2025-07-24 18:07:20 +00:00

Reduce number of categories

This commit is contained in:
dipohl 2017-02-23 21:50:22 +01:00
parent c0568802bf
commit 0104c6d40a
18 changed files with 28 additions and 28 deletions

View file

@ -51,7 +51,7 @@ if(defined $ARGV[0] && $ARGV[0] eq 'config')
print <<EOC
graph_title $TITLE
graph_vlabel Totals
graph_category spotweb
graph_category other
spots.label New Spots
downloaded.label Downloads
EOC

View file

@ -53,7 +53,7 @@ if(defined $ARGV[0] && $ARGV[0] eq 'config') {
print <<EOC
graph_title $TITLE
graph_vlabel Spots
graph_category spotweb
graph_category other
cat0.label Videos/images
cat0.colour 008edf
cat1.label Music

View file

@ -46,7 +46,7 @@ if(defined $ARGV[0] && $ARGV[0] eq 'config') {
print <<EOC
graph_title Spotweb spots by Category (Totals)
graph_vlabel Spots
graph_category spotweb
graph_category other
cat0.label Videos/images
cat0.colour 0f94e1
cat1.label Music
@ -75,4 +75,4 @@ sub print_value {
my $spots = `$MYSQL $MYSQLOPTS -e "SELECT count(*) as spots FROM $DATABASE.spots WHERE category = $_[0]$_[1];"`;
$spots =~ /(\d+)/;
print "cat".$_[0].".value ".$1."\n";
}
}

View file

@ -53,7 +53,7 @@ if(defined $ARGV[0] && $ARGV[0] eq 'config') {
print <<EOC
graph_title $TITLE
graph_vlabel Size
graph_category spotweb
graph_category other
cat0.label Videos/images
cat0.colour 008edf
cat1.label Music

View file

@ -46,7 +46,7 @@ if(defined $ARGV[0] && $ARGV[0] eq 'config') {
print <<EOC
graph_title Spotweb spots and comments (Totals)
graph_vlabel Spots/comments
graph_category spotweb
graph_category other
spots.label Spots
EOC
;