mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
fix graphtypes
git-svn-id: http://www.observium.org/svn/observer/trunk@2615 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -24,7 +24,8 @@ foreach ($rrd_list as $i => $rrd)
|
||||
}
|
||||
|
||||
$rrd_options .= " DEF:".$rrd['ds'].$i."=".$rrd['filename'].":".$rrd['ds'].":AVERAGE ";
|
||||
if($simple_rrd)
|
||||
|
||||
if($simple_rrd || $basicrrd)
|
||||
{
|
||||
$rrd_options .= " CDEF:".$rrd['ds'].$i."min=".$rrd['ds'].$i." ";
|
||||
$rrd_options .= " CDEF:".$rrd['ds'].$i."max=".$rrd['ds'].$i." ";
|
||||
|
Reference in New Issue
Block a user