mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-12 16:06:25 +02: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:
@@ -105,6 +105,15 @@ if (device_permitted($_GET['id']) || $check_device == $_GET['id'])
|
||||
</li>');
|
||||
}
|
||||
|
||||
if (@mysql_result(mysql_query("SELECT COUNT(id) FROM vmware_vminfo WHERE device_id = '" . $device["device_id"] . "'"), 0) > '0')
|
||||
{
|
||||
echo('<li class="' . $select['vm'] . '">
|
||||
<a href="'.$config['base_url'].'/device/' . $device['device_id'] . '/vm/">
|
||||
<img src="images/16/server_cog.png" align="absmiddle" border="0" /> Virtual Machines
|
||||
</a>
|
||||
</li>');
|
||||
}
|
||||
|
||||
if (@mysql_result(mysql_query("select count(*) from vrfs WHERE device_id = '" . $device['device_id'] . "'"), 0) > '0')
|
||||
{
|
||||
echo('<li class="' . $select['vrfs'] . '">
|
||||
@@ -226,4 +235,4 @@ else
|
||||
{
|
||||
include("includes/error-no-perm.inc.php");
|
||||
}
|
||||
?>
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user