librenms-librenms/html/pages/device/graphs/temperatures.inc.php
2010-02-13 07:40:43 +00:00

8 lines
277 B
PHP

<?php
if(mysql_result(mysql_query("SELECT count(*) FROM temperature WHERE device_id = '" . $device['device_id'] . "'"),0)) {
$graph_title = "Temperatures";
$graph_type = "device_temperatures"; include ("includes/print-device-graph.php");
echo("<br />");
}
?>