Files
librenms-librenms/includes/polling/os/ray.inc.php
jozefrebjak d111bd95f9 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
2018-10-22 17:26:19 -05:00

8 lines
285 B
PHP

<?php
$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);