mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-21 18:41:03 +00:00
Reduce number of categories
This commit is contained in:
parent
c0568802bf
commit
0104c6d40a
18 changed files with 28 additions and 28 deletions
|
@ -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";
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue