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
eb100e33a9
commit
45391005a8
51 changed files with 52 additions and 52 deletions
|
@ -167,7 +167,7 @@ if (uri_unescape($conn->getline) =~ /^years\s+count:(\d+)/) {
|
|||
if ($config) {
|
||||
# config run
|
||||
print "graph_title Albums per year\n";
|
||||
print "graph_category Squeezebox\n";
|
||||
print "graph_category radio\n";
|
||||
print "graph_args --base 1000 -l 0\n";
|
||||
foreach my $year (@years) {
|
||||
if ($year =~ /year\:(\d+)/) {
|
||||
|
@ -199,7 +199,7 @@ foreach my $attr ("signalstrength", "mixer volume") {
|
|||
print "multigraph squeezebox_${attr_print}\n";
|
||||
if ($config) {
|
||||
print "graph_title " . ucfirst ($attr) . "\n";
|
||||
print "graph_category Squeezebox\n";
|
||||
print "graph_category radio\n";
|
||||
}
|
||||
$conn->print ("player count ?");
|
||||
(my $no_of_players = uri_unescape ($conn->getline)) =~ s/player count\s+//;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue