diff --git a/html/pages/devices.inc.php b/html/pages/devices.inc.php index cee913ca1..18396292d 100644 --- a/html/pages/devices.inc.php +++ b/html/pages/devices.inc.php @@ -248,7 +248,7 @@ if($format == "graph") { $graph_type = "device_".$subformat; - echo("
+ echo("
".$device['hostname']." - ".$interface['ifDescr']."
\ \ diff --git a/includes/polling/sensors.inc.php b/includes/polling/sensors.inc.php index a0f52d2c0..9c7396f5c 100644 --- a/includes/polling/sensors.inc.php +++ b/includes/polling/sensors.inc.php @@ -1,17 +1,29 @@ 'A', + 'frequency' => 'Hz', + 'humidity' => '%', + 'fanspeed' => 'rpm', + 'power' => 'W', + 'voltage' => 'V', + 'temperature' => 'C'); + +foreach ($supported_sensors as $sensor_type => $sensor_unit) +{ + poll_sensor($device, $sensor_type, $sensor_unit); +} ?>