mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-12 16:06:25 +02:00
os discovery debug forced (for now) and extra fortigate detection
git-svn-id: http://www.observium.org/svn/observer/trunk@1662 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -93,8 +93,10 @@ function getHostOS($device)
|
||||
{
|
||||
global $config;
|
||||
|
||||
$sysDescr = snmp_get ($device, "sysDescr.0", "-Ovq");
|
||||
$sysObjectId = snmp_get ($device, "sysObjectID.0", "-Ovqn");
|
||||
$sysDescr = snmp_get ($device, "SNMPv2-MIB::sysDescr.0", "-Ovq");
|
||||
$sysObjectId = snmp_get ($device, "SNMPv2-MIB::sysObjectID.0", "-Ovqn");
|
||||
|
||||
echo("| $sysDescr | $sysObjectId | ");
|
||||
|
||||
$dir_handle = @opendir($config['install_dir'] . "/includes/discovery/os") or die("Unable to open $path");
|
||||
while ($file = readdir($dir_handle))
|
||||
|
||||
Reference in New Issue
Block a user