From b973878691051157160b3a750bc8de3ec91af2e5 Mon Sep 17 00:00:00 2001 From: Tom Laermans Date: Tue, 18 Oct 2011 09:56:57 +0000 Subject: [PATCH] cur column should contain LAST not AVERAGE, obviously git-svn-id: http://www.observium.org/svn/observer/trunk@2688 61d68cd4-352d-0410-923a-c4978735b2b8 --- html/includes/graphs/device/toner.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/html/includes/graphs/device/toner.inc.php b/html/includes/graphs/device/toner.inc.php index bbc61ec223..0615e54f52 100644 --- a/html/includes/graphs/device/toner.inc.php +++ b/html/includes/graphs/device/toner.inc.php @@ -50,7 +50,7 @@ foreach (dbFetchRows("SELECT * FROM toner where device_id = ?", array($id)) as $ $rrd_options .= " DEF:toner$toner_id=$rrd_filename:toner:AVERAGE"; $rrd_options .= " LINE2:toner$toner_id#".$colour.":'" . $descr . "'"; - $rrd_options .= " GPRINT:toner$toner_id:AVERAGE:'%5.0lf%%'"; + $rrd_options .= " GPRINT:toner$toner_id:LAST:'%5.0lf%%'"; $rrd_options .= " GPRINT:toner$toner_id:MIN:'%5.0lf%%'"; $rrd_options .= " GPRINT:toner$toner_id:MAX:%5.0lf%%\\\\l";