add sanos detection (it is just nxos, so we treat it as if it's IOS for discovery purposes)

git-svn-id: http://www.observium.org/svn/observer/trunk@1693 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Adam Amstrong
2010-08-23 17:17:03 +00:00
parent 2f7461a2b6
commit 660d47fe2f
4 changed files with 22 additions and 3 deletions
+1 -1
View File
@@ -335,7 +335,7 @@ function formatUptime($diff, $format="long")
function isSNMPable($hostname, $community, $snmpver, $port)
{
global $config;
$pos = shell_exec($config['snmpget'] ." -m SNMPv2-MIB -$snmpver -c $community -t 1 $hostname:$port sysDescr.0");
$pos = shell_exec($config['snmpget'] ." -m SNMPv2-MIB -$snmpver -c $community -t 1 $hostname:$port sysObjectID.0");
if ($pos == '') {
return false;
} else {