zabbix-module-hosts-tree icon indicating copy to clipboard operation
zabbix-module-hosts-tree copied to clipboard

Doesn't work in Zabbix 5.2.7

Open xenadmin opened this issue 2 years ago • 3 comments

The new page just stays empty. No visible errors. See attached apache error log.

[Thu Aug 26 14:51:20.054852 2021] [php7:error] [pid 13857] [client 1.2.3.4:3715] PHP Fatal error:  Uncaught Error: Call to undefined function getHostInterface() in /usr/share/zabbix/modules/zabbix-module-hosts-tree/partials/module.monitoring.host.view.html.php:142\nStack trace:\n#0 /usr/share/zabbix/modules/zabbix-module-hosts-tree/partials/module.monitoring.host.view.html.php(212): addGroupRow(Array, Array, 'Customer/Anaxco...', 'Customer', 1, Array)\n#1 /usr/share/zabbix/modules/zabbix-module-hosts-tree/partials/module.monitoring.host.view.html.php(51): addGroupRow(Array, Array, 'Customer', '', 0, Array)\n#2 /usr/share/zabbix/include/classes/mvc/CPartial.php(109): include('/usr/share/zabb...')\n#3 /usr/share/zabbix/modules/zabbix-module-hosts-tree/views/module.monitoring.bghost.view.refresh.php(23): CPartial->getOutput()\n#4 /usr/share/zabbix/include/classes/mvc/CView.php(122): include('/usr/share/zabb...')\n#5 /usr/share/zabbix/include/classes/core/ZBase.php(618): CView->getOutput()\n#6 /usr/share/zabbix/include/classes/core/ZBase.php(547): ZBase->processResponseFinal(Object(CRouter), Object(Modules\\BGmotHosts\\ in /usr/share/zabbix/modules/zabbix-module-hosts-tree/partials/module.monitoring.host.view.html.php on line 142, referer: https://FQDN/zabbix/zabbix.php?name=&ip=&dns=&port=&status=-1&evaltype=0&tags%5B0%5D%5Btag%5D=&tags%5B0%5D%5Boperator%5D=0&tags%5B0%5D%5Bvalue%5D=&maintenance_status=1&filter_name=Zabbix%20Proxys&filter_show_counter=0&filter_custom_time=0&sort=name&sortorder=ASC&show_suppressed=0&action=bghost.view&groupids%5B%5D=7
[Thu Aug 26 14:51:20.054886 2021] [php7:error] [pid 14325] [client 1.2.3.4:55212] PHP Fatal error:  Uncaught Error: Call to undefined function getHostInterface() in /usr/share/zabbix/modules/zabbix-module-hosts-tree/partials/module.monitoring.host.view.html.php:142\nStack trace:\n#0 /usr/share/zabbix/modules/zabbix-module-hosts-tree/partials/module.monitoring.host.view.html.php(212): addGroupRow(Array, Array, 'Customer/Anaxco...', 'Customer', 1, Array)\n#1 /usr/share/zabbix/modules/zabbix-module-hosts-tree/partials/module.monitoring.host.view.html.php(51): addGroupRow(Array, Array, 'Customer', '', 0, Array)\n#2 /usr/share/zabbix/include/classes/mvc/CPartial.php(109): include('/usr/share/zabb...')\n#3 /usr/share/zabbix/modules/zabbix-module-hosts-tree/views/module.monitoring.bghost.view.refresh.php(23): CPartial->getOutput()\n#4 /usr/share/zabbix/include/classes/mvc/CView.php(122): include('/usr/share/zabb...')\n#5 /usr/share/zabbix/include/classes/core/ZBase.php(618): CView->getOutput()\n#6 /usr/share/zabbix/include/classes/core/ZBase.php(547): ZBase->processResponseFinal(Object(CRouter), Object(Modules\\BGmotHosts\\ in /usr/share/zabbix/modules/zabbix-module-hosts-tree/partials/module.monitoring.host.view.html.php on line 142, referer: https://FQDN/zabbix/zabbix.php?name=&ip=&dns=&port=&status=-1&evaltype=0&tags%5B0%5D%5Btag%5D=&tags%5B0%5D%5Boperator%5D=0&tags%5B0%5D%5Bvalue%5D=&maintenance_status=1&filter_name=Zabbix%20Proxys&filter_show_counter=0&filter_custom_time=0&sort=name&sortorder=ASC&show_suppressed=0&action=bghost.view&groupids%5B%5D=7
[Thu Aug 26 14:51:20.055132 2021] [php7:error] [pid 13857] [client 1.2.3.4:3715] PHP Fatal error:  Uncaught Exception: Headers already sent. in /usr/share/zabbix/include/classes/helpers/CCookieHelper.php:68\nStack trace:\n#0 /usr/share/zabbix/include/classes/core/CCookieSession.php(126): CCookieHelper::set('zbx_session', 'eyJzZXNzaW9uaWQ...', 1632574280)\n#1 [internal function]: CCookieSession->write('a4feeaee57ee2dc...', 'eyJzZXNzaW9uaWQ...')\n#2 {main}\n  thrown in /usr/share/zabbix/include/classes/helpers/CCookieHelper.php on line 68, referer: https://FQDN/zabbix/zabbix.php?name=&ip=&dns=&port=&status=-1&evaltype=0&tags%5B0%5D%5Btag%5D=&tags%5B0%5D%5Boperator%5D=0&tags%5B0%5D%5Bvalue%5D=&maintenance_status=1&filter_name=Zabbix%20Proxys&filter_show_counter=0&filter_custom_time=0&sort=name&sortorder=ASC&show_suppressed=0&action=bghost.view&groupids%5B%5D=7
[Thu Aug 26 14:51:20.055243 2021] [php7:warn] [pid 13857] [client 1.2.3.4:3715] PHP Warning:  Unknown: Cannot call session save handler in a recursive manner in Unknown on line 0, referer: https://FQDN/zabbix/zabbix.php?name=&ip=&dns=&port=&status=-1&evaltype=0&tags%5B0%5D%5Btag%5D=&tags%5B0%5D%5Boperator%5D=0&tags%5B0%5D%5Bvalue%5D=&maintenance_status=1&filter_name=Zabbix%20Proxys&filter_show_counter=0&filter_custom_time=0&sort=name&sortorder=ASC&show_suppressed=0&action=bghost.view&groupids%5B%5D=7
[Thu Aug 26 14:51:20.055512 2021] [php7:error] [pid 14325] [client 1.2.3.4:55212] PHP Fatal error:  Uncaught Exception: Headers already sent. in /usr/share/zabbix/include/classes/helpers/CCookieHelper.php:68\nStack trace:\n#0 /usr/share/zabbix/include/classes/core/CCookieSession.php(126): CCookieHelper::set('zbx_session', 'eyJzZXNzaW9uaWQ...', 1632574280)\n#1 [internal function]: CCookieSession->write('a4feeaee57ee2dc...', 'eyJzZXNzaW9uaWQ...')\n#2 {main}\n  thrown in /usr/share/zabbix/include/classes/helpers/CCookieHelper.php on line 68, referer: https://FQDN/zabbix/zabbix.php?name=&ip=&dns=&port=&status=-1&evaltype=0&tags%5B0%5D%5Btag%5D=&tags%5B0%5D%5Boperator%5D=0&tags%5B0%5D%5Bvalue%5D=&maintenance_status=1&filter_name=Zabbix%20Proxys&filter_show_counter=0&filter_custom_time=0&sort=name&sortorder=ASC&show_suppressed=0&action=bghost.view&groupids%5B%5D=7
[Thu Aug 26 14:51:20.055677 2021] [php7:warn] [pid 14325] [client 1.2.3.4:55212] PHP Warning:  Unknown: Cannot call session save handler in a recursive manner in Unknown on line 0, referer: https://FQDN/zabbix/zabbix.php?name=&ip=&dns=&port=&status=-1&evaltype=0&tags%5B0%5D%5Btag%5D=&tags%5B0%5D%5Boperator%5D=0&tags%5B0%5D%5Bvalue%5D=&maintenance_status=1&filter_name=Zabbix%20Proxys&filter_show_counter=0&filter_custom_time=0&sort=name&sortorder=ASC&show_suppressed=0&action=bghost.view&groupids%5B%5D=7

xenadmin avatar Aug 26 '21 13:08 xenadmin