mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Merge pull request #2048 from Rosiak/issue-2024
Enhance WatchGuard OS Detection
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
if (!$os) {
|
if (!$os) {
|
||||||
if (preg_match('/^WatchGuard\ Fireware/', $sysDescr)) {
|
if (preg_match('/^WatchGuard\ Fireware/', $sysDescr) || strpos($sysObjectId, '1.3.6.1.4.1.3097.1.5') !== false) {
|
||||||
$os = 'firebox';
|
$os = 'firebox';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user