FS#71452 - [zabbix-server] Scheduled reports not working (needs --enable-webservice)

Attached to Project: Arch Linux
Opened by Nigel Kukard (nkukard) - Tuesday, 06 July 2021, 11:31 GMT
Last edited by Robin Candau (Antiz) - Thursday, 02 November 2023, 07:57 GMT
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To Florian Pritz (bluewind)
Robin Candau (Antiz)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
Is there any possibility to get --enable-webservice turned on?
Attached is the error when trying to use scheduled reports.


Additional info:
Using package version 5.4.1-1
New features in 5.4 => https://www.zabbix.com/whats_new_5_4
More info => https://www.zabbix.com/forum/zabbix-help/424739-scheduled-reports-5-4

Steps to reproduce:
- Create a scheduled report
- Try click "Test"

Further info:
It looks like building with --enable-webservice generates another daemon that would need to have a .service file
It also looks like it may need to depend on chromium being installed for headless pdf generation
Possibly a separate package for this to split the deps?

This task depends upon

Closed by  Robin Candau (Antiz)
Thursday, 02 November 2023, 07:57 GMT
Reason for closing:  Implemented
Additional comments about closing:  Implemented in v6.4.8-2 https://gitlab.archlinux.org/archlinux/p ackaging/packages/zabbix/-/commit/aa6049 e09cbfc1028d172fedb954239d89e18f2f
Comment by Buggy McBugFace (bugbot) - Tuesday, 08 August 2023, 19:11 GMT
This is an automated comment as this bug is open for more then 2 years. Please reply if you still experience this bug otherwise this issue will be closed after 1 month.
Comment by Robin Candau (Antiz) - Wednesday, 01 November 2023, 19:47 GMT
Hi,

Thanks for the report.

I added Scheduled Reports support in Zabbix v6.4.8-2 by adding an additional split package called "zabbix-web-service" (with a dependency on chromium and its own .service file for the related daemon): https://gitlab.archlinux.org/archlinux/packaging/packages/zabbix/-/commit/aa6049e09cbfc1028d172fedb954239d89e18f2f
It is currently in [extra-testing].

It would be much appreciated if you could give it a try and check that scheduled reports are now supported as intended :)
Comment by Nigel Kukard (nkukard) - Thursday, 02 November 2023, 05:25 GMT
Working for me, thanks!
Comment by Robin Candau (Antiz) - Thursday, 02 November 2023, 07:56 GMT
Alright, thanks for the test!

Loading...