librenms-librenms/includes/polling/os/hikvision.inc.php

5 lines
179 B
PHP
Raw Normal View History

2015-01-05 21:06:49 +00:00
<?php
2015-07-13 20:10:26 +02:00
$version = trim(snmp_get($device, '.1.3.6.1.4.1.39165.1.3.0', '-OQv', '', ''), '"');
$hardware = trim(snmp_get($device, '.1.3.6.1.4.1.39165.1.1.0', '-OQv', '', ''), '"');