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:
parent
c0568802bf
commit
0104c6d40a
18 changed files with 28 additions and 28 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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";
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue