From a7ea2374de787417c52f51f50200de85875185b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B8ren=20Rosiak?= Date: Thu, 16 Jun 2016 19:13:18 +0200 Subject: [PATCH] Sophos Support Redo --- includes/discovery/os/linux.inc.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/includes/discovery/os/linux.inc.php b/includes/discovery/os/linux.inc.php index c91849d1ab..562fd68ba2 100644 --- a/includes/discovery/os/linux.inc.php +++ b/includes/discovery/os/linux.inc.php @@ -69,9 +69,9 @@ if (!$os) { elseif (stristr($sysObjectId, 'cumulusMib') || strstr($sysObjectId, '.1.3.6.1.4.1.40310')) { $os = 'cumulus'; } -// elseif (strstr($sysObjectId, '.1.3.6.1.4.1.8072.3.2.10')) { -// $os = 'sophos'; -// } + elseif (strstr($sysDescr, 'g56fa85e') || strstr($sysDescr, 'gc80f187')) { + $os = 'sophos'; + } else { // Check for Synology DSM $hrSystemInitialLoadParameters = trim(snmp_get($device, 'HOST-RESOURCES-MIB::hrSystemInitialLoadParameters.0', '-Osqnv'));