I'm seeing the following errors in the cacti log. I'm trying to understand the code and contribute fixes if possible, but others will likely fix this faster than me.
Cheers.
2016-08-30 09:08:05 - CMDPHP PHP ERROR Backtrace: (/plugins/hmib/poller_hmib.php: 136 process_hosts)(/plugins/hmib/poller_hmib.php: 226 autoDiscoverHosts)(/plugins/hmib/poller_hmib.php: 182 cacti_snmp_walk)(/plugins/hmib/snmp.php: 353 key)(CactiErrorHandler)(/lib/functions.php: 4103 cacti_debug_backtrace)
2016-08-30 09:08:05 - ERROR PHP WARNING in Plugin 'hmib': key() expects parameter 1 to be array, boolean given in file: /www/cacti/plugins/hmib/snmp.php on line: 353
2016-08-30 09:08:05 - CMDPHP PHP ERROR Backtrace: (/plugins/hmib/poller_hmib.php: 136 process_hosts)(/plugins/hmib/poller_hmib.php: 226 autoDiscoverHosts)(/plugins/hmib/poller_hmib.php: 182 cacti_snmp_walk)(/plugins/hmib/snmp.php: 353 reset)(CactiErrorHandler)(/lib/functions.php: 4103 cacti_debug_backtrace)
2016-08-30 09:08:05 - ERROR PHP WARNING in Plugin 'hmib': reset() expects parameter 1 to be array, boolean given in file: /www/cacti/plugins/hmib/snmp.php on line: 353
I'm seeing the following errors in the cacti log. I'm trying to understand the code and contribute fixes if possible, but others will likely fix this faster than me. Cheers.