X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/upsgraph/blobdiff_plain/45bf98526bea58d37fbb30b4152dd1041ccb93be..refs/heads/minmax-merge:/upsgraph.pl 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";