Cacti / plugin_mactrack

Mactrack Plugin for Cacti
GNU General Public License v2.0
12 stars 24 forks source link

Undefined key array when database maintenance runs daily #212

Closed jdcoats closed 2 months ago

jdcoats commented 2 months ago

This isnt new, I was just holding off until the other issues were fixed to see if it was resolved also.

2024/04/20 04:08:11 - CMDPHP PHP ERROR WARNING Backtrace: (/plugins/mactrack/mactrack_scanner.php[164]:get_IOS_dot1dTpFdbEntry_ports(), /plugins/mactrack/lib/mactrack_cisco.php[301]:build_InterfacesTable(), /plugins/mactrack/lib/mactrack_functions.php[772]:CactiErrorHandler())
2024/04/20 04:08:11 - ERROR PHP WARNING in Plugin 'mactrack': Undefined array key 329 in file: /var/www/localhost/htdocs/cacti/plugins/mactrack/lib/mactrack_functions.php on line: 772
2024/04/20 04:08:11 - CMDPHP PHP ERROR WARNING Backtrace: (/plugins/mactrack/mactrack_scanner.php[164]:get_IOS_dot1dTpFdbEntry_ports(), /plugins/mactrack/lib/mactrack_cisco.php[301]:build_InterfacesTable(), /plugins/mactrack/lib/mactrack_functions.php[772]:CactiErrorHandler())
2024/04/20 04:08:11 - ERROR PHP WARNING in Plugin 'mactrack': Undefined array key 328 in file: /var/www/localhost/htdocs/cacti/plugins/mactrack/lib/mactrack_functions.php on line: 772
2024/04/20 04:08:11 - CMDPHP PHP ERROR WARNING Backtrace: (/plugins/mactrack/mactrack_scanner.php[164]:get_IOS_dot1dTpFdbEntry_ports(), /plugins/mactrack/lib/mactrack_cisco.php[301]:build_InterfacesTable(), /plugins/mactrack/lib/mactrack_functions.php[772]:CactiErrorHandler())
2024/04/20 04:08:11 - ERROR PHP WARNING in Plugin 'mactrack': Undefined array key 327 in file: /var/www/localhost/htdocs/cacti/plugins/mactrack/lib/mactrack_functions.php on line: 772
2024/04/20 04:08:11 - CMDPHP PHP ERROR WARNING Backtrace: (/plugins/mactrack/mactrack_scanner.php[164]:get_IOS_dot1dTpFdbEntry_ports(), /plugins/mactrack/lib/mactrack_cisco.php[301]:build_InterfacesTable(), /plugins/mactrack/lib/mactrack_functions.php[772]:CactiErrorHandler())
2024/04/20 04:08:11 - ERROR PHP WARNING in Plugin 'mactrack': Undefined array key 326 in file: /var/www/localhost/htdocs/cacti/plugins/mactrack/lib/mactrack_functions.php on line: 772
2024/04/20 04:08:11 - CMDPHP PHP ERROR WARNING Backtrace: (/plugins/mactrack/mactrack_scanner.php[164]:get_IOS_dot1dTpFdbEntry_ports(), /plugins/mactrack/lib/mactrack_cisco.php[301]:build_InterfacesTable(), /plugins/mactrack/lib/mactrack_functions.php[772]:CactiErrorHandler())
2024/04/20 04:08:11 - ERROR PHP WARNING in Plugin 'mactrack': Undefined array key 325 in file: /var/www/localhost/htdocs/cacti/plugins/mactrack/lib/mactrack_functions.php on line: 772
2024/04/20 04:08:11 - CMDPHP PHP ERROR WARNING Backtrace: (/plugins/mactrack/mactrack_scanner.php[164]:get_IOS_dot1dTpFdbEntry_ports(), /plugins/mactrack/lib/mactrack_cisco.php[301]:build_InterfacesTable(), /plugins/mactrack/lib/mactrack_functions.php[772]:CactiErrorHandler())
2024/04/20 04:08:11 - ERROR PHP WARNING in Plugin 'mactrack': Undefined array key 324 in file: /var/www/localhost/htdocs/cacti/plugins/mactrack/lib/mactrack_functions.php on line: 772
2024/04/20 04:08:11 - CMDPHP PHP ERROR WARNING Backtrace: (/plugins/mactrack/mactrack_scanner.php[164]:get_IOS_dot1dTpFdbEntry_ports(), /plugins/mactrack/lib/mactrack_cisco.php[301]:build_InterfacesTable(), /plugins/mactrack/lib/mactrack_functions.php[772]:CactiErrorHandler())
2024/04/20 04:08:11 - ERROR PHP WARNING in Plugin 'mactrack': Undefined array key 323 in file: /var/www/localhost/htdocs/cacti/plugins/mactrack/lib/mactrack_functions.php on line: 772
2024/04/20 04:08:11 - CMDPHP PHP ERROR WARNING Backtrace: (/plugins/mactrack/mactrack_scanner.php[164]:get_IOS_dot1dTpFdbEntry_ports(), /plugins/mactrack/lib/mactrack_cisco.php[301]:build_InterfacesTable(), /plugins/mactrack/lib/mactrack_functions.php[772]:CactiErrorHandler())
2024/04/20 04:08:11 - ERROR PHP WARNING in Plugin 'mactrack': Undefined array key 322 in file: /var/www/localhost/htdocs/cacti/plugins/mactrack/lib/mactrack_functions.php on line: 772
jdcoats commented 2 months ago

sorry should have reported it before new release :(

xmacan commented 2 months ago

no problem, we will fix it and release again. I haven't cisco devices, so I have never met this

TheWitness commented 2 months ago

@jdcoats, if you could test the change and report back ASAP, we can re-cut the release.