sensors table, with humidity as its first consumer - akcp humidity support implemented

git-svn-id: http://www.observium.org/svn/observer/trunk@1249 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Tom Laermans
2010-06-23 15:54:56 +00:00
parent f341e1c472
commit d449b63524
18 changed files with 402 additions and 11 deletions
-1
View File
@@ -7,7 +7,6 @@ include("common.inc.php");
$rrd_options .= " COMMENT:' Last Max\\n'";
$sql = mysql_query("SELECT * FROM temperature where temp_id = '$temp'");
$temperature = mysql_fetch_array(mysql_query("SELECT * FROM temperature where temp_id = '".mres($_GET['id'])."'"));
$hostname = mysql_result(mysql_query("SELECT hostname FROM devices WHERE device_id = '" . $temperature['device_id'] . "'"),0);