mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
add xen support to libvirt vm discovery
git-svn-id: http://www.observium.org/svn/observer/trunk@2111 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@ -20,9 +20,9 @@ else if ($vm['vmwVmGuestOS'] == "")
|
||||
|
||||
if ($vm['vmwVmMemSize'] >= 1024)
|
||||
{
|
||||
echo("<td class=list>" . $vm['vmwVmMemSize']/1024 . " GB</td>");
|
||||
echo("<td class=list>" . sprintf("%.2f",$vm['vmwVmMemSize']/1024) . " GB</td>");
|
||||
} else {
|
||||
echo("<td class=list>" . $vm['vmwVmMemSize'] . " MB</td>");
|
||||
echo("<td class=list>" . sprintf("%.2f",$vm['vmwVmMemSize']) . " MB</td>");
|
||||
}
|
||||
|
||||
echo('<td class="list">' . $vm['vmwVmCpus'] . " CPU</td>");
|
||||
|
Reference in New Issue
Block a user