mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
This commit is contained in:
committed by
Tony Murray
parent
9ee96bda76
commit
89c1c2e810
@@ -1,5 +1,5 @@
|
||||
<?php
|
||||
if ($data = snmp_get_multi($device, 'unifiApSystemModel unifiApSystemVersion', '-OQUs', 'UBNT-UniFi-MIB')) {
|
||||
if ($data = snmp_getnext_multi($device, 'unifiApSystemModel unifiApSystemVersion', '-OQUs', 'UBNT-UniFi-MIB')) {
|
||||
$hardware = $data['unifiApSystemModel'];
|
||||
$version = $data['unifiApSystemVersion'];
|
||||
} elseif ($data = snmp_getnext_multi($device, 'dot11manufacturerProductName dot11manufacturerProductVersion', '-OQUs', 'IEEE802dot11-MIB')) {
|
||||
|
||||
Reference in New Issue
Block a user