mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Fixed scrut errors
This commit is contained in:
@@ -99,8 +99,8 @@ foreach (dbFetchRows($sql, $param) as $sensor) {
|
|||||||
|
|
||||||
$response[] = array(
|
$response[] = array(
|
||||||
'hostname' => generate_device_link($sensor),
|
'hostname' => generate_device_link($sensor),
|
||||||
'sensor_descr' => overlib_link($link, $sensor['sensor_descr'], $overlib_content),
|
'sensor_descr' => overlib_link($link, $sensor['sensor_descr'], $overlib_content, null),
|
||||||
'graph' => overlib_link($link_graph, $sensor_minigraph, $overlib_content),
|
'graph' => overlib_link($link_graph, $sensor_minigraph, $overlib_content, null),
|
||||||
'alert' => $alert,
|
'alert' => $alert,
|
||||||
'sensor_current' => $sensor['sensor_current'].$unit,
|
'sensor_current' => $sensor['sensor_current'].$unit,
|
||||||
'sensor_range' => round($sensor['sensor_limit_low'], 2).$unit.' - '.round($sensor['sensor_limit'], 2).$unit,
|
'sensor_range' => round($sensor['sensor_limit_low'], 2).$unit.' - '.round($sensor['sensor_limit'], 2).$unit,
|
||||||
|
Reference in New Issue
Block a user