mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
refactor: Added support for dskTable in UCD-SNMP-MIB (#4993)
This commit is contained in:
@@ -30,7 +30,7 @@ $rrd_options .= ' AREA:perc#'.$background['right'].':';
|
||||
$rrd_options .= ' LINE1.25:perc#'.$background['left'].":'$descr'";
|
||||
$rrd_options .= ' GPRINT:size:LAST:%6.2lf%sB';
|
||||
$rrd_options .= ' GPRINT:free:LAST:%6.2lf%sB';
|
||||
$rrd_options .= " GPRINT:perc:LAST:%5.2lf%%\\\\n";
|
||||
$rrd_options .= " GPRINT:perc:LAST:%5.2lf%%\\n";
|
||||
|
||||
if ($_GET['previous']) {
|
||||
$descr = rrdtool_escape('Prev '.$storage['storage_descr'], 12);
|
||||
@@ -48,5 +48,5 @@ if ($_GET['previous']) {
|
||||
$rrd_options .= ' LINE1.25:percX#'.$colour.":'$descr'";
|
||||
$rrd_options .= ' GPRINT:sizeX:LAST:%6.2lf%sB';
|
||||
$rrd_options .= ' GPRINT:freeX:LAST:%6.2lf%sB';
|
||||
$rrd_options .= " GPRINT:percX:LAST:%5.2lf%%\\\\n";
|
||||
$rrd_options .= " GPRINT:percX:LAST:%5.2lf%%\\n";
|
||||
}
|
||||
|
Reference in New Issue
Block a user