mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
11 lines
345 B
PHP
11 lines
345 B
PHP
|
<?php
|
||
|
|
||
|
$temp_data = snmp_get_multi_oid($device, ['softwVersion.0', 'deviceType.0', 'videoEncode.0', 'videoNetTrans.0'], '-OUQs', 'HIK-DEVICE-MIB');
|
||
|
|
||
|
$version = $temp_data['softwVersion.0'];
|
||
|
$hardware = $temp_data['deviceType.0'];
|
||
|
$features = $temp_data['videoEncode.0'];
|
||
|
$features .= '-' . $temp_data['videoNetTrans.0'];
|
||
|
|
||
|
unset($temp_data);
|