mirror of
https://github.com/unraid/webgui.git
synced 2026-01-14 13:39:58 -06:00
35 lines
1.7 KiB
Plaintext
35 lines
1.7 KiB
Plaintext
Menu="Device New"
|
|
Title="Attributes"
|
|
Cond="strpos($disks[$name]['status'],'_NP')===false"
|
|
---
|
|
<?PHP
|
|
/* Copyright 2005-2016, Lime Technology
|
|
* Copyright 2015-2016, Bergware International.
|
|
*
|
|
* This program is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU General Public License version 2,
|
|
* as published by the Free Software Foundation.
|
|
*
|
|
* The above copyright notice and this permission notice shall be included in
|
|
* all copies or substantial portions of the Software.
|
|
*/
|
|
?>
|
|
<script>
|
|
$(function() {
|
|
$.post("/webGui/include/SmartInfo.php",{cmd:'attributes',port:'<?=isset($disks[$name]['device'])?$disks[$name]['device']:$name?>',name:'<?=$name?>'}, function(data) {
|
|
$('#disk_attributes').html(data);
|
|
});
|
|
});
|
|
</script>
|
|
<table class='share_status small'>
|
|
<thead><td style="width:30px">#</td><td>Attribute Name</td><td>Flag</td><td>Value</td><td>Worst</td><td>Threshold</td><td>Type</td><td>Updated</td><td>Failed</td><td style="width:145px">Raw Value</td></thead>
|
|
<tbody id="disk_attributes"><tr><td colspan='10'><br><center><i class='fa fa-spinner fa-spin'></i> <em>Please wait... retrieving S.M.A.R.T. information!</em></center></td></tr></tbody>
|
|
</table>
|
|
<input type="button" value="Done" onclick="done()">
|
|
|
|
> This list shows the SMART attributes supported by this disk. For more information about each SMART attribute, it is recommended to search online.
|
|
>
|
|
> Attributes in *orange* may require your attention. They have a **raw value** greater than zero and may indicate a pending disk failure.
|
|
>
|
|
> Special attention is required when the particular attribute raw value starts to increase over time. When in doubt, consult the Limetech forum for advice.
|