X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/upsgraph/blobdiff_plain/4a7fc650d9185b9c2ac670e866b4113e8a7b5321..29f39945993945c6dfb2a70c84458453c5a271d6:/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";