diff options
author | Tobi Oetiker <tobi@oetiker.ch> | 2005-12-20 21:49:54 +0100 |
---|---|---|
committer | Tobi Oetiker <tobi@oetiker.ch> | 2005-12-20 21:49:54 +0100 |
commit | 22462833c1511c921822ba6f3eca4ea2d3cacf61 (patch) | |
tree | e37d8e36aca4a9bbf193de1eb11df3769d30abba /lib/Smokeping.pm | |
parent | 1bb4dde5b7a92d8cbe996cda79cd0b098a8dfb6a (diff) | |
download | smokeping-22462833c1511c921822ba6f3eca4ea2d3cacf61.tar.gz smokeping-22462833c1511c921822ba6f3eca4ea2d3cacf61.tar.xz |
synced up with 2.0 branch
Diffstat (limited to 'lib/Smokeping.pm')
-rw-r--r-- | lib/Smokeping.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Smokeping.pm b/lib/Smokeping.pm index 344318f..ae908ab 100644 --- a/lib/Smokeping.pm +++ b/lib/Smokeping.pm @@ -635,7 +635,8 @@ sub findmax ($$) { my ($desc,$start) = @{$_}; $start = exp2seconds($start); my ($graphret,$xs,$ys) = RRDs::graph - ("dummy", '--start', -$start, + ("dummy", '--start', -$start, + '--end','-'.int($start / $cfg->{Presentation}{detail}{width}), "DEF:maxping=${rrd}:median:AVERAGE", 'PRINT:maxping:MAX:%le' ); my $ERROR = RRDs::error(); |