commits since 4563aaa1d appear to interfere with pinging all hosts using the advanced ping template and crashes the monitor template (most current develop)
Ubuntu LTS
PHP 8.1
Cacti 1.3.0 - Dev 4563aaa1 @ 2024-01-27 14:02
reverting back to 4563aaa1d resolves.
New errors in the log after upgrade:
2024-01-27 13:44:10 - CMDPHP ERRORS DETECTED - DISABLING PLUGIN 'monitor'
2024-01-27 13:44:09 - PHP ERROR Backtrace: (CactiShutdownHandler())
2024-01-27 13:44:09 - ERROR PHP ERROR in Plugin 'monitor': Uncaught TypeError: array_key_exists(): Argument Cacti/cacti#2 ($array) must be of type array, null given in /var/www/html/cacti/plugins/monitor/monitor.php:1823 Stack trace: #0 /var/www/html/cacti/plugins/monitor/monitor.php(2220): get_status_icon() Cacti/cacti#1 /var/www/html/cacti/plugins/monitor/monitor.php(1785): render_host_tiles() Cacti/cacti#2 /var/www/html/cacti/plugins/monitor/monitor.php(1318): render_host() Cacti/cacti#3 /var/www/html/cacti/plugins/monitor/monitor.php(244): render_default() Cacti/cacti#4 /var/www/html/cacti/plugins/monitor/monitor.php(161): draw_page() Cacti/cacti#5 {main} thrown in file: /var/www/html/cacti/plugins/monitor/monitor.php on line: 1823
2024-01-27 13:44:09 - PHP ERROR WARNING Backtrace: (/plugins/monitor/monitor.php[161]:draw_page(), /plugins/monitor/monitor.php[244]:render_default(), /plugins/monitor/monitor.php[1318]:render_host(), /plugins/monitor/monitor.php[1785]:render_host_tiles(), /plugins/monitor/monitor.php[2220]:CactiErrorHandler())
2024-01-27 13:44:09 - ERROR PHP WARNING in Plugin 'monitor': Undefined array key "monitor_icon" in file: /var/www/html/cacti/plugins/monitor/monitor.php on line: 2220
reverting to older commit still crashes monitor plugin.
Describe the bug
commits since 4563aaa1d appear to interfere with pinging all hosts using the advanced ping template and crashes the monitor template (most current develop) Ubuntu LTS PHP 8.1 Cacti 1.3.0 - Dev 4563aaa1 @ 2024-01-27 14:02
reverting back to 4563aaa1d resolves.
New errors in the log after upgrade:
reverting to older commit still crashes monitor plugin.