diff --git a/includes/discovery/os/sentry3.inc.php b/includes/discovery/os/sentry3.inc.php index 295d42c945..9e8b183fb3 100644 --- a/includes/discovery/os/sentry3.inc.php +++ b/includes/discovery/os/sentry3.inc.php @@ -6,8 +6,8 @@ if (!$os) { // ServerTech doesn't have a way to distinguish between sentry3 and sentry4 devices // Hopefully, we can use the version string to figure it out $version = trim(snmp_get($device, 'Sentry3-MIB::serverTech.4.1.1.1.3.0', '-Osqnv')); - $version = explode(" ", $version, 1); - $version = intval($version); + $version = explode(" ", $version); + $version = intval($version[1]); // It appears that version 8 and up is good for sentry4 if ($version >= 8) {