1
0
Fork 0
mirror of https://github.com/munin-monitoring/contrib.git synced 2025-07-22 02:51:03 +00:00

Reduce number of categories

This commit is contained in:
Gabriele Pohl 2014-09-07 14:20:12 +02:00
parent 81ad9f2bc7
commit 81db94e2d3
43 changed files with 60 additions and 54 deletions

View file

@ -571,7 +571,7 @@ multigraph currentcost
graph_title CurrentCost Consumption
graph_args --base 1000 -l 0
graph_vlabel $unit
graph_category currentcost
graph_category sensors
graph_info This graph shows the 'whole house' data.
EOF
if ( scalar( @{ $datum->{data} } ) > 1 ) {
@ -608,7 +608,7 @@ multigraph currentcost_cumulative
graph_title CurrentCost Total Usage
graph_args --base 1000 -l 0
graph_vlabel $unit * hours
graph_category currentcost
graph_category sensors
EOF
print "graph_order ";
my $confstr = '';
@ -639,7 +639,7 @@ multigraph currentcost_cost
graph_title CurrentCost Estimated Cost
graph_args --base 1000 -l 0
graph_vlabel ${currency}
graph_category currentcost
graph_category sensors
EOF
if ( scalar( @{ $datum->{data} } ) > 1 ) {
print "graph_total Total\n";
@ -663,7 +663,7 @@ multigraph currentcost.appliance$sensor
graph_title CurrentCost Consumption (Appliance $sensor)
graph_args --base 1000 -l 0
graph_vlabel $unit
graph_category currentcost
graph_category sensors
graph_info This graph shows the data for Appliance $sensor
EOF
if ( scalar( @{ $datum->{data} } ) > 1 ) {
@ -691,7 +691,7 @@ multigraph currentcost_cumulative.appliance$sensor
graph_title CurrentCost Total Usage (Appliance $sensor)
graph_args --base 1000 -l 0
graph_vlabel $unit * hours
graph_category currentcost
graph_category sensors
EOF
print "graph_order ";
my $confstr = '';
@ -713,7 +713,7 @@ multigraph currentcost_cost.appliance$sensor
graph CurrentCost Estimated Cost (Appliance $sensor)
graph_args --base 1000 -l 0
graph_vlabel ${currency}
graph_category currentcost
graph_category sensors
EOF
if ( scalar( @{ $datum->{data} } ) > 1 ) {
print "graph_total Total\n";