]> git.zerfleddert.de Git - upsgraph/commitdiff
Use alternative autoscaling for y-axis minmax-merge
authorBenjamin Oechslein <oechslein@informatik.uni-erlangen.de>
Mon, 19 Jan 2015 16:46:18 +0000 (17:46 +0100)
committerBenjamin Oechslein <oechslein@informatik.uni-erlangen.de>
Mon, 19 Jan 2015 16:47:45 +0000 (17:47 +0100)
upsgraph.pl

index e55622b38b8e35cfa9819db25fae89f0e176d0ab..adf33c968e96bfd7e71c5f612cae759f9e40a3d8 100755 (executable)
@@ -515,7 +515,7 @@ while(1) {
                                };
                        }
 
-                       my @graphdef = ('-P', "-t", $hostname." - ".$vars->{$var}->{'name'});
+                       my @graphdef = ('-P', "-A", "-t", $hostname." - ".$vars->{$var}->{'name'});
                        push @graphdef, "--lazy" if !$first;
 
                        push @graphdef, "DEF:${var}-avg=${rrdfile}.${var}:${var}:AVERAGE";
Impressum, Datenschutz