summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNiko Tyni <ntyni@iki.fi>2007-05-10 21:27:08 +0200
committerNiko Tyni <ntyni@iki.fi>2007-05-10 21:27:08 +0200
commitbac139a24caca3f26a55968b4f9a9db333411ce5 (patch)
tree06d33f14c67717e185ffe2df662df7eaa093deb5
parent7bc36ce39e814253406d6a045e567065026ba7f4 (diff)
downloadsmokeping-bac139a24caca3f26a55968b4f9a9db333411ce5.tar.gz
smokeping-bac139a24caca3f26a55968b4f9a9db333411ce5.tar.xz
fix lost smoke (Debian #412826)
-rw-r--r--CHANGES3
-rw-r--r--lib/Smokeping.pm2
2 files changed, 4 insertions, 1 deletions
diff --git a/CHANGES b/CHANGES
index 51a999d..946a7ec 100644
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,6 @@
+* show all smoke in the detail graphs, even if it's out of the scale. -- niko,
+ reported by Oskar Liljeblad <oskar *osk.mine.nu> as Debian bug #412826
+
2007/05/02 -- released version 2.1.1
* fixed scaling of detail graphs. They were all scaled to max_rtt
if it was defined --tobi
diff --git a/lib/Smokeping.pm b/lib/Smokeping.pm
index 1925546..6676a40 100644
--- a/lib/Smokeping.pm
+++ b/lib/Smokeping.pm
@@ -1006,7 +1006,7 @@ sub get_detail ($$$$;$){
'--color', 'BACK#ffffff',
'--color', 'CANVAS#ffffff',
(map {"DEF:ping${_}=${rrd}:ping${_}:AVERAGE"} 1..$pings),
- (map {"CDEF:cp${_}=ping${_},0,$max->{$start},LIMIT"} 1..$pings),
+ (map {"CDEF:cp${_}=ping${_},$max->{$start},MIN"} 1..$pings),
("DEF:loss=${rrd}:loss:AVERAGE"),
@upargs,# draw the uptime bg color
@lossargs, # draw the loss bg color