Ad Widget

Collapse

Report PDFs are blank

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • highway_fixer_man
    Member
    • Jun 2022
    • 35

    #1

    Report PDFs are blank

    Ive seen this reported a few times, and applied the "solutions" but nothing is working.

    I need some clarification:

    I am setting the "Frontend URL​" to the URL I use when I access the frontend. Something like "https://zabbix.mycompany.com/zabbix". It is using a valid HTTPS cert.

    I have set the "WebServiceURL" in /etc/zabbix/zabbix_server.conf as follows:
    Code:
    WebServiceURL=http://localhost:10053/report
    If I curl localhost:10053, I get a
    Code:
     {"detail":"Method is not supported."}
    netstat -ntlp shows that I am listening on the required port, but only on IPv6:

    Code:
    netstat -ntlp | grep 10053
    tcp6 0 0 :::10053 :::* LISTEN 1907970/zabbix_web_



    I have installed chromium and it is available in the path at /usr/bin/chromium

    What am I missing? Is it the IPv4 issue? How can I get zabbix-web-service listening on IPv4 as well?

  • Markku
    Senior Member
    Zabbix Certified SpecialistZabbix Certified ProfessionalZabbix Certified Expert
    • Sep 2018
    • 1781

    #2
    I have no experience on the reports so I cannot help you with the blank reports but I can still try to clarify something.

    The "Method is not supported" message is due to you issuing a GET request to the endpoint while it expects something else, like POST. It is used by Zabbix internals so take it as it is, at least you know that the service is running (because it responded to you).

    "tcp6" in netstat in practice means "TCP in IPv4 and IPv6" (google for "netstat tcp6 ipv4" if more information is needed), so it's fine.

    Markku

    Comment

    Working...