mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
* Create audiocodes family with very basic sensors * audiocode polling php and test files * audiocode polling php and test files * audiocode test files * audiocode cleaning * tests with selective polling disabled
11 lines
317 B
PHP
11 lines
317 B
PHP
<?php
|
|
|
|
use LibreNMS\RRD\RrdDefinition;
|
|
|
|
$oids = 'acSysIdName.0 acSysVersionSoftware.0 acSysIdSerialNumber.0';
|
|
$data = snmp_get_multi($device, $oids, '-OQUs', 'AC-SYSTEM-MIB');
|
|
|
|
$hardware = $data[0]['acSysIdName'];
|
|
$version = $data[0]['acSysVersionSoftware'];
|
|
$serial = $data[0]['acSysIdSerialNumber'];
|