mirror of
https://github.com/stylersnico/librenms.git
synced 2026-08-01 00:24:21 +02:00
Temperature improvements:
- Allow default limit to be set in configuration - Insert temperature upon discovery already into database (except observer-style .. yet) - On Supermicro temperatures, select high limit via snmp as well git-svn-id: http://www.observium.org/svn/observer/trunk@722 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -45,7 +45,7 @@ while($temperature = mysql_fetch_array($temp_data)) {
|
||||
echo("Alerting for " . $device['hostname'] . " " . $temperature['temp_descr'] . "\n");
|
||||
}
|
||||
|
||||
mysql_query("UPDATE temperature SET temp_current = '$temp' WHERE temp_id = '$temperature[temp_id]'");
|
||||
mysql_query("UPDATE temperature SET temp_current = '$temp' WHERE temp_id = '" . $temperature['temp_id'] . "'");
|
||||
}
|
||||
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user