-
Incident report
-
Resolution: Won't fix
-
Trivial
-
None
-
5.4.9
-
None
-
Reached to run zabbix 5.4 on Alpine Linux
Linux 5.15.16-0
# zabbix_server -V
zabbix_server (Zabbix) 5.4.9
Revision {ZABBIX_REVISION} 23 December 2021, compilation time: Jan 2 2022 09:42:15
Compiled with OpenSSL 1.1.1l 24 Aug 2021
Running with OpenSSL 1.1.1l 24 Aug 2021
# zabbix_web_service -V
zabbix_web_service (Zabbix) 5.4.10
Revision db03ff023d 31 January 2022, compilation time: Feb 20 2022 15:01:53
/etc/zabbix/zabbix_server.conf:
StartReportWriters=5
WebServiceURL=http://<DNS>:10053/report
rc.init.d-config: (service config)
----------------------------------
name="zabbix_web_service"
config="/usr/local/etc/zabbix_web_service.conf"
command="/usr/local/sbin/${name}"
command_args="-config ${config}"
/usr/local/etc/zabbix_web_service.conf'
supervisor=supervise-daemon
pidfile="/run/${name}.pid"
start_pre() {
checkpath --directory --owner zabbix:zabbix /var/log/zabbix
checkpath --directory --owner zabbix:zabbix /run/zabbix
checkpath -f -m 0664 -o root:root /usr/local/etc/zabbix_web_service.conf
}
depend() {
need net
after firewall
}
--------------------
Reached to run zabbix 5.4 on Alpine Linux Linux 5.15.16-0 # zabbix_server -V zabbix_server (Zabbix) 5.4.9 Revision {ZABBIX_REVISION} 23 December 2021, compilation time: Jan 2 2022 09:42:15 Compiled with OpenSSL 1.1.1l 24 Aug 2021 Running with OpenSSL 1.1.1l 24 Aug 2021 # zabbix_web_service -V zabbix_web_service (Zabbix) 5.4.10 Revision db03ff023d 31 January 2022, compilation time: Feb 20 2022 15:01:53 /etc/zabbix/zabbix_server.conf: StartReportWriters=5 WebServiceURL= http://<DNS>:10053/report rc.init.d-config: (service config) ---------------------------------- name="zabbix_web_service" config="/usr/local/etc/zabbix_web_service.conf" command="/usr/local/sbin/${name}" command_args="-config ${config}" /usr/local/etc/zabbix_web_service.conf' supervisor=supervise-daemon pidfile="/run/${name}.pid" start_pre() { checkpath --directory --owner zabbix:zabbix /var/log/zabbix checkpath --directory --owner zabbix:zabbix /run/zabbix checkpath -f -m 0664 -o root:root /usr/local/etc/zabbix_web_service.conf } depend() { need net after firewall } --------------------
Steps to reproduce:
- run test report from "Scheduled Reports"
- Report will be sent properly by email with PDF attachement.
- When starting the same (or another) scheduled report some time later,
the report will be sent successfully, too (about 1h later) .. but - when i do run the same (or another) report just a couple of minutes (by clicking "test" in the schedule report itself) just after i did start the previous one, i will get a timeout error
- Restarting the services just after this error has got same results.
- Starting houskeeping job manually nas no effect, too
Result:
see attached screenshot
zabbix_web_service.log:
--------------------------
2022/02/20 21:30:50.742579 received report request from 127.0.0.1:50176
2022/02/20 21:30:50.742757 making chrome headless request with parameters url: http://alpinezab.opn9.9opn/zabbix.php?action=dashboard.print&dashboardid=54&from=2022-02-19%20
2022/02/20 21:31:52.436854 writing response for report request from 127.0.0.1:50176
Expected:
scheduled job reports should start without error - also when starting ~ 15 minutes after the previous one