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
298 B
PHP
11 lines
298 B
PHP
<?php
|
|
|
|
$temp_data = snmp_get_multi_oid($device, ['hikEntity.101.0', 'hikEntityType.0', 'hikEntityIndex.0'], '-OUQs', 'HIKVISION-MIB');
|
|
|
|
$hostname =
|
|
$version = $temp_data['hikEntity.101.0'];
|
|
$hardware = $temp_data['hikEntityType.0'];
|
|
$serial = $temp_data['hikEntityIndex.0'];
|
|
|
|
unset($temp_data);
|