From 29f39945993945c6dfb2a70c84458453c5a271d6 Mon Sep 17 00:00:00 2001 From: Benjamin Oechslein Date: Mon, 19 Jan 2015 17:46:18 +0100 Subject: [PATCH] Use alternative autoscaling for y-axis --- upsgraph.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/upsgraph.pl b/upsgraph.pl index e55622b..adf33c9 100755 --- a/upsgraph.pl +++ b/upsgraph.pl @@ -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"; -- 2.39.5