mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Added additional comware detection
This commit is contained in:
@@ -4,7 +4,10 @@ if (!$os) {
|
||||
if (strstr($sysDescr, 'Comware')) {
|
||||
$os = 'comware';
|
||||
}
|
||||
else if (preg_match('/HP [a-zA-Z0-9- ]+ Switch Software Version/', $sysDescr)) {
|
||||
elseif (preg_match('/HP [a-zA-Z0-9- ]+ Switch Software Version/', $sysDescr)) {
|
||||
$os = 'comware';
|
||||
}
|
||||
elseif (strstr($sysObjectId, '.1.3.6.1.4.1.25506.11.1')) {
|
||||
$os = 'comware';
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user