librenms/LibreNMS/Device
Tony Murray 0801af7a81
Consolidate and improve snmptranslate usage (#14567)
* Consolidate and improve snmptranslate usage

* Fix style

* lint fixes

* fix typo

* allow multiple mib directories

* Only add mib if it is not already set

* oid first, in case we have key length issues

* if there is a full oid, don't add other mibs

* debug in ci

* more debug in ci

* better debug in ci

* remove debug

* Use numeric index

* revert dlink change

* Don't add -On twice

* unit tests and hopefully better heuristics

* remove dump and add one more set of tests

* style fixes

* handle bad input in old functions

* shortcut whole snmp_translate function
2022-11-07 12:00:47 -06:00
..
Availability.php Percentage calculation helper (#14235) 2022-08-24 21:01:54 +02:00
Processor.php Trim whitespaces from device data (#14429) 2022-10-11 12:50:38 -05:00
Sensor.php Sensors - Allow changing RRD type in YAML and PHP sensor discovery (#14208) 2022-10-25 08:31:02 -05:00
WirelessSensor.php Miscellaneous cleanup, mostly undefined variables - part2 (#14445) 2022-10-18 13:30:42 +02:00
YamlDiscovery.php Consolidate and improve snmptranslate usage (#14567) 2022-11-07 12:00:47 -06:00