mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Improved support for Racom Ray radios (#9279)
* update os polling for ray I changed hardware detection, because in old format i got a hostname instead of hardware. I added features tab also. * Added wireless rate sensors I added sensors for Netbitrate and Maxbirate * deleted old ray.png * added better resolution logo for ray * Update Ray.php * Delete ray.png * Add files via upload * Delete ray.svg * added ray.svg logo * update ray.snmprec * Update Ray.php * Updated json test data * added state support for RAy Radios * Update ray.snmprec
This commit is contained in:
@@ -1,8 +1,7 @@
|
||||
<?php
|
||||
|
||||
|
||||
$ray_tmp = snmp_get_multi_oid($device, 'deviceName swVer serialNumber', '-OQs', 'RAY-MIB');
|
||||
$hardware = $ray_tmp['deviceName'];
|
||||
$ray_tmp = snmp_get_multi_oid($device, 'productName swVer serialNumber unitType', '-OQs', 'RAY-MIB');
|
||||
$hardware = $ray_tmp['productName'];
|
||||
$version = $ray_tmp['swVer'];
|
||||
$serial = $ray_tmp['serialNumber'];
|
||||
$features = $ray_tmp['unitType'];
|
||||
unset($ray_tmp);
|
||||
|
||||
Reference in New Issue
Block a user