diff --git a/includes/polling/os/unix.inc.php b/includes/polling/os/unix.inc.php index d8deb962c..a3c4fe8ba 100755 --- a/includes/polling/os/unix.inc.php +++ b/includes/polling/os/unix.inc.php @@ -76,6 +76,19 @@ elseif ($device['os'] == "dsm") # FIXME only the build, not the actual version number, so won't use this.. yet? # list(,,,$version,) = explode(" ",$poll_device['sysDescr'],5); # $version = "Build " . trim($version,'#'); + + $hrSystemInitialLoadParameters = trim(snmp_get($device, "hrSystemInitialLoadParameters.0", "-Osqnv")); + + $options = explode(" ",$hrSystemInitialLoadParameters); + + foreach ($options as $option) + { + list($key,$value) = explode("=",$option,2); + if ($key == "syno_hw_version") + { + $hardware = $value; + } + } } ?>