Geert Hauwaerts 80f6b2dcc2 VMWARE SUPPORT!! :)
- Support for VMware hosts AND Virtual Machines.
- VMware MIB files added.
- SVN property ignore on MIB .index files.


git-svn-id: http://www.observium.org/svn/observer/trunk@1976 61d68cd4-352d-0410-923a-c4978735b2b8
2011-03-26 17:16:09 +00:00

17 lines
552 B
PHP

<?php
echo('<table border="0" cellspacing="0" cellpadding="5" width="100%" class="sortable"><tr class="tablehead"><th>Server Name</th><th>Power Status</th><th>Operating System</th><th>Memory</th><th>CPU</th></tr>');
$i = "1";
$vm_query = mysql_query("SELECT id, vmwVmVMID, vmwVmDisplayName, vmwVmGuestOS, vmwVmMemSize, vmwVmCpus, vmwVmState FROM vmware_vminfo WHERE device_id = '".mres($_GET['id'])."' ORDER BY vmwVmDisplayName");
while ($vm = mysql_fetch_array($vm_query))
{
include("includes/print-vm.inc.php");
$i++;
}
echo("</table>");
?>