Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Zabbix Docker based scheduled report issue #1659

Closed
ahmadqwe opened this issue Mar 14, 2025 · 1 comment
Closed

Zabbix Docker based scheduled report issue #1659

ahmadqwe opened this issue Mar 14, 2025 · 1 comment

Comments

@ahmadqwe
Copy link

ahmadqwe commented Mar 14, 2025

i have below container:

 docker ps
CONTAINER ID   IMAGE                                             COMMAND                  CREATED        STATUS                 PORTS                                                                                            NAMES
0930fa5f6de4   zabbix/zabbix-web-service:latest                  "docker-entrypoint.s…"   2 hours ago    Up 2 hours             0.0.0.0:10053->10053/tcp, :::10053->10053/tcp                                                    zabbix-web-service
c952bcf6034d   zabbix/zabbix-server-mysql:alpine-7.2-latest      "/usr/bin/docker-ent…"   13 hours ago   Up 11 minutes          0.0.0.0:10051->10051/tcp, :::10051->10051/tcp                                                    zabbix-server-mysql
5c8d2a702595   mysql:8.0-oracle                                  "docker-entrypoint.s…"   4 days ago     Up 4 days              3306/tcp, 33060/tcp                                                                              mysql-server
136cda4e9c3e   zabbix/zabbix-web-nginx-mysql:alpine-7.2-latest   "docker-entrypoint.sh"   2 weeks ago    Up 3 hours (healthy)   8443/tcp, 0.0.0.0:80->8080/tcp, :::80->8080/tcp                                                  zabbix-web-nginx-mysql

and i am keep getting Scheduled reports Test report generating

Details
Report generating test failed.
Report manager is disabled.

i believe all required done:

/var/lib/zabbix # cat /etc/zabbix/zabbix_server_reports.conf
### Option: StartReportWriters
#       Number of pre-forked report writer instances.
#
# Mandatory: no
# Range: 0-100
# Default:
#StartReportWriters=1

StartReportWriters=3

### Option: WebServiceURL
#       URL to Zabbix web service, used to perform web related tasks.
#       Example: http://localhost:10053/report
#
# Mandatory: no
# Default:
# WebServiceURL=
WebServiceURL=http://171.20.240.4:10053/report

#WebServiceURL=${ZBX_WEBSERVICEURL}
/var/lib/zabbix # curl http://171.20.240.4:10053/report
{"detail":"Method is not supported."}

is there any idea to go further?

@dotneft
Copy link
Collaborator

dotneft commented Mar 21, 2025

Why you have "StartReportWriters=3 and WebServiceURL=http://171.20.240.4:10053/report" static, while need to specify env variable?

@dotneft dotneft closed this as completed Mar 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants