mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
many small fixes, hacky way to ignore no more variables, fix up supermicro sensor limits, loosen automatic sensor limit settings a bit
git-svn-id: http://www.observium.org/svn/observer/trunk@1675 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -9,7 +9,7 @@ $device = device_by_id_cache($id);
|
||||
|
||||
$iter = "1";
|
||||
$sql = mysql_query("SELECT * FROM storage where device_id = '$id'");
|
||||
$rrd_options .= " COMMENT:' Size Used %age\\l'";
|
||||
$rrd_options .= " COMMENT:' Size Used %age\\l'";
|
||||
while($storage = mysql_fetch_array($sql)) {
|
||||
if($iter=="1") {$colour="CC0000";} elseif($iter=="2") {$colour="008C00";} elseif($iter=="3") {$colour="4096EE";
|
||||
} elseif($iter=="4") {$colour="73880A";} elseif($iter=="5") {$colour="D01F3C";} elseif($iter=="6") {$colour="36393D";
|
||||
|
Reference in New Issue
Block a user