2017-02-03 00:04:41 +01:00
|
|
|
<?php
|
|
|
|
|
|
|
|
|
|
$hardware = trim(snmp_get($device, '.1.3.6.1.4.1.28194.1.37.0', '-OQv'), '" ');
|
|
|
|
|
|
2018-01-07 05:00:47 +00:00
|
|
|
if (preg_match('/avr-hd \[(.*?)\]/', $device['sysDescr'], $regexp_result)) {
|
2017-02-03 00:04:41 +01:00
|
|
|
$version = $regexp_result[1];
|
|
|
|
|
}
|