mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
git-svn-id: http://www.observium.org/svn/observer/trunk@2030 61d68cd4-352d-0410-923a-c4978735b2b8
17 lines
548 B
PHP
17 lines
548 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 vminfo WHERE device_id = '".$device['device_id']."' ORDER BY vmwVmDisplayName");
|
|
|
|
while ($vm = mysql_fetch_assoc($vm_query))
|
|
{
|
|
include("includes/print-vm.inc.php");
|
|
$i++;
|
|
}
|
|
|
|
echo("</table>");
|
|
|
|
?>
|