Add "Host" column to the inventory table in /X/Inventory.php and introduce VM issue metrics (Unclustered, Wrong Owner) in Hyper-V clusters report with refined query logic.
This commit is contained in:
@@ -56,6 +56,7 @@
|
||||
<thead> <!-- Header -->
|
||||
<tr>
|
||||
<th data-field="Name" data-sortable="true">Name</th>
|
||||
<th data-field="Host" data-sortable="true">Host</th>
|
||||
<th data-field="OS" data-sortable="true">OS Type</th>
|
||||
<th data-field="distrib" data-sortable="true">Distrib</th>
|
||||
<th data-field="Last Boot" data-sortable="true">Last reboot</th>
|
||||
@@ -77,6 +78,8 @@
|
||||
$name = $s['hostname'];
|
||||
echo "<td><a href='/inventory/server-detail.php?s=".$name."' target='_blank'>$name</a></td>";
|
||||
|
||||
//Host
|
||||
echo "<td>".$s['Owner']."</td>";
|
||||
//OS Type
|
||||
$typ = match ($s['type'] ?? null) {
|
||||
'AIX' => 'AIX',
|
||||
|
||||
Reference in New Issue
Block a user