mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
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
This commit is contained in:
16
html/pages/device/vm.inc.php
Normal file
16
html/pages/device/vm.inc.php
Normal file
@@ -0,0 +1,16 @@
|
||||
<?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>");
|
||||
|
||||
?>
|
Reference in New Issue
Block a user