summaryrefslogtreecommitdiffstats
path: root/lib/Smokeping.pm
diff options
context:
space:
mode:
authorTobi Oetiker <tobi@oetiker.ch>2008-04-03 16:37:35 +0200
committerTobi Oetiker <tobi@oetiker.ch>2008-04-03 16:37:35 +0200
commit4654618b5ca4b8c6b3bfb4d508eb1da8c47eddec (patch)
tree428851043d4dc24fca8d14261ce7784e9218e64a /lib/Smokeping.pm
parentd6ea346a961f7579627bb789f875219ae10c8592 (diff)
downloadsmokeping-4654618b5ca4b8c6b3bfb4d508eb1da8c47eddec.tar.gz
smokeping-4654618b5ca4b8c6b3bfb4d508eb1da8c47eddec.tar.xz
display all the smoke even when the graph is limited in height
Diffstat (limited to 'lib/Smokeping.pm')
-rw-r--r--lib/Smokeping.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Smokeping.pm b/lib/Smokeping.pm
index 96bed37..13dac78 100644
--- a/lib/Smokeping.pm
+++ b/lib/Smokeping.pm
@@ -1298,7 +1298,7 @@ sub get_detail ($$$$;$){
'--start',$realstart,
($end ne 'last' ? ('--end',$end) : ()),
'--height',$cfg->{Presentation}{detail}{height},
- '--width',,$cfg->{Presentation}{detail}{width},
+ '--width',$cfg->{Presentation}{detail}{width},
'--title',$desc.$from,
'--rigid','--upper-limit', $max->{$s}{$start},
@log,
@@ -1310,7 +1310,7 @@ sub get_detail ($$$$;$){
'--color', 'BACK#ffffff',
'--color', 'CANVAS#ffffff',
(map {"DEF:ping${_}=${rrd}:ping${_}:AVERAGE"} 1..$pings),
- (map {"CDEF:cp${_}=ping${_},0,$max->{$s}{$start},LIMIT"} 1..$pings),
+ (map {"CDEF:cp${_}=ping${_},$max->{$s}{$start},LT,ping${_},INF,IF"} 1..$pings),
("DEF:loss=${rrd}:loss:AVERAGE"),
@upargs,# draw the uptime bg color
@lossargs, # draw the loss bg color