mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
* Added support for HikVision-DS Cameras clean up removed pointless file, cleaned up code fixed failing unit tests, a bit of cleanup WIP - will rebase split hikvision into hikvision-nvr an hikvision-cam * removed unneeded comment and rec file
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);
|