SNMP discoveries on printers are throwing an error. I haven’t made any changes… it started to occur over the Easter weekend.
Here is the error in the discovery log
Fatal error: Uncaught Error: Cannot use string offset as an array in /opt/librenms/includes/snmp.inc.php:461
Stack trace:
#0 /opt/librenms/includes/discovery/toner.inc.php(8): snmpwalk_cache_oid(Array, ‘prtMarkerSuppli…’, ‘2.0.0.0.0.0.0.0…’, ‘Printer-MIB’)
#1 /opt/librenms/includes/discovery/functions.inc.php(183): include(’/opt/librenms/i…’)
#2 /opt/librenms/discovery.php(128): discover_device(Array, Array)
#3 {main}
thrown in /opt/librenms/includes/snmp.inc.php on line 461