mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Update sensor.inc.php, adding $unit to Average (#14680)
Due to a mistake, I forgot to add $unit to Average
This commit is contained in:
committed by
GitHub
parent
e8c3b2c924
commit
5dd5e880b7
@@ -44,6 +44,6 @@ foreach (dbFetchRows('SELECT * FROM `sensors` WHERE `sensor_class` = ? AND `devi
|
||||
$rrd_options .= " GPRINT:sensor{$sensor['sensor_id']}:LAST:%5.1lf$unit";
|
||||
$rrd_options .= " GPRINT:sensor{$sensor['sensor_id']}:MIN:%5.1lf$unit";
|
||||
$rrd_options .= " GPRINT:sensor{$sensor['sensor_id']}:MAX:%5.1lf$unit";
|
||||
$rrd_options .= " GPRINT:sensor{$sensor['sensor_id']}:AVERAGE:%5.2lf\\l ";
|
||||
$rrd_options .= " GPRINT:sensor{$sensor['sensor_id']}:AVERAGE:%5.2lf$unit\\l ";
|
||||
$iter++;
|
||||
}//end foreach
|
||||
|
Reference in New Issue
Block a user