update graph file

This commit is contained in:
laf
2016-10-25 15:09:49 +00:00
parent f9b5f80152
commit a7a76c998a

View File

@@ -46,7 +46,7 @@ foreach (dbFetchRows('SELECT * FROM toner where device_id = ?', array($device['d
$hostname = gethostbyid($toner['device_id']);
$descr = substr(str_pad($toner['toner_descr'], 16), 0, 16);
$descr = safedescr(substr(str_pad($toner['toner_descr'], 16), 0, 16));
$rrd_filename = rrd_name($device['hostname'], array('toner', $toner['toner_index']));
$toner_id = $toner['toner_id'];