Hi,
I'm pretty new to both Zabbix and working with Linux Server. I'm trying to set up Server Monitoring in a small lab environment, running Zabbix 7 on Ubuntu Server 24.04, with Zabbix Agent 2 on a couple of Windows Servers.
Active monitoring of these servers through premade templates seems to work fine, I am however unable to generate any Scheduled Reports from Dashboards like "Zabbix Server" and "Global View", after following the official documentation and several other guides to the best of my ability.
When trying to test these reports, I receive two alternating error messages:
1. Report generating test failed: Cannot read the response, check connection with the Zabbix server "localhost".
2. Report generating test failed: Timeout while waiting for response.
Also, " Zabbix server: Utilization of report manager internal processes, in %" seems to be continually at 100% according to the Zabbix Web UI. Checking ressources per htop on the Ubuntu server also shows ~100% CPU-usage through "report manager #1 started" at all times. This persists even after restarting the Ubuntu server/deleting the scheduled reports in the Web UI, and seemingly can only be "fixed" by setting StartReportWriters=0 in the Zabbix server .conf.
Additional info/some of the things I've tried to no avail:
- increasing StartReportWriters up to 10
- Ubuntu Firewall is disabled
- setting IgnoreURLCertErrors=1 in the zabbix web service .conf
- allowing all IPs in the Zabbix Server and Zabbix Web service .conf files
- downgrading Zabbix Web Service from 7.0.5 to 7.0.X
- raising various PHP-limits in the Apache Web Server configuration
Looking at the Zabbix Server log files when running a report, there seems to be theme of things returning 0 values, I'm not quite sure how to interpret that though:
tail -n 30 /var/log/zabbix/zabbix_server.log
1111:20241108:102645.282 End of process_escalations()
1111:20241108:102645.282 In process_escalations()
1111:20241108:102645.282 query [txnlev:0] [select escalationid,actionid,triggerid,eventid,r_eventid, nextcheck,esc_step,status,itemid,acknowledgeid,ser vicealarmid,serviceid from escalations where triggerid is null and itemid is null and serviceid is null and nextcheck<=1731061608 order by actionid,triggerid,itemid,r_eventid asc,escalationid]
1111:20241108:102645.282 End of process_escalations()
1111:20241108:102645.282 zbx_setproctitle() title:'escalator #1 [processed 0 escalations in 0.000952 sec, idle 3 sec]'
1111:20241108:102645.282 In zbx_ipc_async_socket_recv() timeout:3
1151:20241108:102645.292 End of zbx_ipc_service_recv():2
1151:20241108:102645.292 In zbx_ipc_service_recv() timeout:1.000
1130:20241108:102645.305 zbx_setproctitle() title:'trapper #2 [processed data in 0.000101 sec, waiting for connection]'
1129:20241108:102645.305 zbx_setproctitle() title:'trapper #1 [processed data in 0.000060 sec, waiting for connection]'
1131:20241108:102645.306 zbx_setproctitle() title:'trapper #3 [processed data in 0.000053 sec, waiting for connection]'
1081:20241108:102645.504 End of zbx_ipc_service_recv():2
1081:20241108:102645.504 In zbx_ipc_service_recv() timeout:1.000
1105:20241108:102645.548 End of zbx_ipc_async_socket_recv():0
1105:20241108:102645.548 zbx_setproctitle() title:'history syncer #2 [processed 0 values, 0 triggers in 0.000014 sec, syncing history]'
1105:20241108:102645.548 In zbx_sync_history_cache() history_num:0
1105:20241108:102645.548 zbx_setproctitle() title:'history syncer #2 [processed 0 values, 0 triggers in 0.000011 sec, idle 1 sec]'
1105:20241108:102645.548 In zbx_ipc_async_socket_recv() timeout:1
1179:20241108:102645.556 End of zbx_ipc_service_recv():2
1179:20241108:102645.556 In zbx_ipc_service_recv() timeout:1.000
1107:20241108:102645.566 End of zbx_ipc_async_socket_recv():0
1107:20241108:102645.566 zbx_setproctitle() title:'history syncer #3 [processed 0 values, 0 triggers in 0.000010 sec, syncing history]'
1107:20241108:102645.566 In zbx_sync_history_cache() history_num:0
1107:20241108:102645.566 zbx_setproctitle() title:'history syncer #3 [processed 0 values, 0 triggers in 0.000010 sec, idle 1 sec]'
1107:20241108:102645.566 In zbx_ipc_async_socket_recv() timeout:1
1109:20241108:102645.568 End of zbx_ipc_async_socket_recv():0
1109:20241108:102645.568 zbx_setproctitle() title:'history syncer #4 [processed 0 values, 0 triggers in 0.000011 sec, syncing history]'
1109:20241108:102645.568 In zbx_sync_history_cache() history_num:0
1109:20241108:102645.568 zbx_setproctitle() title:'history syncer #4 [processed 0 values, 0 triggers in 0.000010 sec, idle 1 sec]'
1109:20241108:102645.568 In zbx_ipc_async_socket_recv() timeout:1
I guess I may potentially be overlooking something quite obvious. Any help would be much appreciated!
I'm pretty new to both Zabbix and working with Linux Server. I'm trying to set up Server Monitoring in a small lab environment, running Zabbix 7 on Ubuntu Server 24.04, with Zabbix Agent 2 on a couple of Windows Servers.
Active monitoring of these servers through premade templates seems to work fine, I am however unable to generate any Scheduled Reports from Dashboards like "Zabbix Server" and "Global View", after following the official documentation and several other guides to the best of my ability.
When trying to test these reports, I receive two alternating error messages:
1. Report generating test failed: Cannot read the response, check connection with the Zabbix server "localhost".
2. Report generating test failed: Timeout while waiting for response.
Also, " Zabbix server: Utilization of report manager internal processes, in %" seems to be continually at 100% according to the Zabbix Web UI. Checking ressources per htop on the Ubuntu server also shows ~100% CPU-usage through "report manager #1 started" at all times. This persists even after restarting the Ubuntu server/deleting the scheduled reports in the Web UI, and seemingly can only be "fixed" by setting StartReportWriters=0 in the Zabbix server .conf.
Additional info/some of the things I've tried to no avail:
- increasing StartReportWriters up to 10
- Ubuntu Firewall is disabled
- setting IgnoreURLCertErrors=1 in the zabbix web service .conf
- allowing all IPs in the Zabbix Server and Zabbix Web service .conf files
- downgrading Zabbix Web Service from 7.0.5 to 7.0.X
- raising various PHP-limits in the Apache Web Server configuration
Looking at the Zabbix Server log files when running a report, there seems to be theme of things returning 0 values, I'm not quite sure how to interpret that though:
tail -n 30 /var/log/zabbix/zabbix_server.log
1111:20241108:102645.282 End of process_escalations()
1111:20241108:102645.282 In process_escalations()
1111:20241108:102645.282 query [txnlev:0] [select escalationid,actionid,triggerid,eventid,r_eventid, nextcheck,esc_step,status,itemid,acknowledgeid,ser vicealarmid,serviceid from escalations where triggerid is null and itemid is null and serviceid is null and nextcheck<=1731061608 order by actionid,triggerid,itemid,r_eventid asc,escalationid]
1111:20241108:102645.282 End of process_escalations()
1111:20241108:102645.282 zbx_setproctitle() title:'escalator #1 [processed 0 escalations in 0.000952 sec, idle 3 sec]'
1111:20241108:102645.282 In zbx_ipc_async_socket_recv() timeout:3
1151:20241108:102645.292 End of zbx_ipc_service_recv():2
1151:20241108:102645.292 In zbx_ipc_service_recv() timeout:1.000
1130:20241108:102645.305 zbx_setproctitle() title:'trapper #2 [processed data in 0.000101 sec, waiting for connection]'
1129:20241108:102645.305 zbx_setproctitle() title:'trapper #1 [processed data in 0.000060 sec, waiting for connection]'
1131:20241108:102645.306 zbx_setproctitle() title:'trapper #3 [processed data in 0.000053 sec, waiting for connection]'
1081:20241108:102645.504 End of zbx_ipc_service_recv():2
1081:20241108:102645.504 In zbx_ipc_service_recv() timeout:1.000
1105:20241108:102645.548 End of zbx_ipc_async_socket_recv():0
1105:20241108:102645.548 zbx_setproctitle() title:'history syncer #2 [processed 0 values, 0 triggers in 0.000014 sec, syncing history]'
1105:20241108:102645.548 In zbx_sync_history_cache() history_num:0
1105:20241108:102645.548 zbx_setproctitle() title:'history syncer #2 [processed 0 values, 0 triggers in 0.000011 sec, idle 1 sec]'
1105:20241108:102645.548 In zbx_ipc_async_socket_recv() timeout:1
1179:20241108:102645.556 End of zbx_ipc_service_recv():2
1179:20241108:102645.556 In zbx_ipc_service_recv() timeout:1.000
1107:20241108:102645.566 End of zbx_ipc_async_socket_recv():0
1107:20241108:102645.566 zbx_setproctitle() title:'history syncer #3 [processed 0 values, 0 triggers in 0.000010 sec, syncing history]'
1107:20241108:102645.566 In zbx_sync_history_cache() history_num:0
1107:20241108:102645.566 zbx_setproctitle() title:'history syncer #3 [processed 0 values, 0 triggers in 0.000010 sec, idle 1 sec]'
1107:20241108:102645.566 In zbx_ipc_async_socket_recv() timeout:1
1109:20241108:102645.568 End of zbx_ipc_async_socket_recv():0
1109:20241108:102645.568 zbx_setproctitle() title:'history syncer #4 [processed 0 values, 0 triggers in 0.000011 sec, syncing history]'
1109:20241108:102645.568 In zbx_sync_history_cache() history_num:0
1109:20241108:102645.568 zbx_setproctitle() title:'history syncer #4 [processed 0 values, 0 triggers in 0.000010 sec, idle 1 sec]'
1109:20241108:102645.568 In zbx_ipc_async_socket_recv() timeout:1
I guess I may potentially be overlooking something quite obvious. Any help would be much appreciated!
Comment