mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
cur column should contain LAST not AVERAGE, obviously
git-svn-id: http://www.observium.org/svn/observer/trunk@2688 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@ -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";
|
||||
|
||||
|
Reference in New Issue
Block a user