Skip to content
Snippets Groups Projects
Commit 8efc855f authored by Tibo's avatar Tibo
Browse files

Show mount point

parent 8365b44b
No related branches found
No related tags found
No related merge requests found
......@@ -25,9 +25,9 @@ class Disks extends \App\AbstractSensor {
$disks = $this->parse($record->disks);
$return = "<table class='table table-sm'>";
$return .= "<tr><th></th><th>Usage</th></tr>";
$return .= "<tr><th></th><th></th><th>Usage</th></tr>";
foreach ($disks as $disk) {
$return .= "<tr><td>" . $disk->filesystem . "</td><td>" . $disk->usedPercent() . "%</td></tr>";
$return .= "<tr><td>" . $disk->filesystem . "</td><td>" . $disk->mounted . "</td><td>" . $disk->usedPercent() . "%</td></tr>";
}
$return .= "</table>";
return $return;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment