updated Hyper-V Clusters (Added SYN)
This commit is contained in:
@@ -44,7 +44,7 @@
|
||||
|
||||
<!-- Main content -->
|
||||
<?php
|
||||
$clusters = Invoke_Infra("select distinct cluster from cmdb_HyperV_Clusters where cluster <> '' and cluster not like '%-WM%' and cluster not like '%-C1MAS%' order by cluster");
|
||||
$clusters = Invoke_Infra("select distinct cluster from cmdb_HyperV_Hosts where cluster <> '' and cluster not like '%-WM%' and cluster not like '%-C1MAS%' and cluster not like '%-vrs%' and (cluster like 'DUN%' or cluster like 'DMV%') order by cluster");
|
||||
?>
|
||||
<div class="container-fluid" style="zoom:90%">
|
||||
<div class="row">
|
||||
@@ -56,7 +56,7 @@
|
||||
if ($count / 4 == (int) ($count / 4)) {
|
||||
echo "</div><div class='row'>";
|
||||
}
|
||||
$data = Invoke_Infra("select * from cmdb_HyperV_Clusters where cluster = '" . $cluster['cluster'] . "'");
|
||||
$data = Invoke_Infra("select * from cmdb_HyperV_Hosts where cluster = '" . $cluster['cluster'] . "'");
|
||||
$nodes = count($data);
|
||||
$vms = 0;
|
||||
$vm_mem = 0;
|
||||
|
||||
Reference in New Issue
Block a user