diff --git a/includes/discovery/os/sentry3.inc.php b/includes/discovery/os/sentry3.inc.php index f57160905..6ba9ae53c 100644 --- a/includes/discovery/os/sentry3.inc.php +++ b/includes/discovery/os/sentry3.inc.php @@ -2,7 +2,7 @@ if (!$os) { - if (preg_match("/^Sentry\ Switched /", $sysDescr)) { $os = "sentry3"; } + if (preg_match("/^Sentry\ (Switched|Smart) /", $sysDescr)) { $os = "sentry3"; } } -?> \ No newline at end of file +?> diff --git a/includes/polling/os/sentry3.inc.php b/includes/polling/os/sentry3.inc.php index 2a0b24826..638a3dafc 100644 --- a/includes/polling/os/sentry3.inc.php +++ b/includes/polling/os/sentry3.inc.php @@ -7,7 +7,7 @@ $hardware = snmp_get($device, "towerModelNumber.1", "-Ovq", "Sentry3-MIB"); $serial = snmp_get($device, "towerProductSN.1", "-Ovq", "Sentry3-MIB"); $version = snmp_get($device, "systemVersion.0", "-Ovq", "Sentry3-MIB"); -$version = preg_split('/Sentry\ Switched\ CDU\ Version/', $version); +$version = preg_split('/Sentry\ (Switched|Smart)\ CDU\ Version/', $version); $version = $version[1]; -?> \ No newline at end of file +?>