Ad Widget

Collapse

Scheduled Reports 5.4

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • bagahe
    Junior Member
    • Nov 2021
    • 15

    #31
    I am still having issues with this.

    Running CentOS8. Zabbix version 5.4.4. Reports are successfully sent but they are all empty/blank.
    I've tried with both Chrome and Chromium. I've pretty much tried all the inputs from this thread and playing around with some parameters.
    Logs on web service show everything is OK and I do have the FrontEnd URL filled up with htttp://${my_xabbix_server}

    Click image for larger version

Name:	reports.png
Views:	1310
Size:	13.9 KB
ID:	436369

    Any idea of what could be happening?

    Comment

    • ouque3
      Junior Member
      • Jul 2021
      • 3

      #32
      Originally posted by ouque3
      stable 1 of 4 reports comes 1kb empty PDF. I update zabbix-web-service/unknown 1:5.4.3-1+ubuntu18.04 amd64 [upgradable from: 1:5.4.2-1+ubuntu18.04]. hope this helps
      Сcould not solve the problem by settings/debug. Issue resolved by transferring zabbix db to new instance from Ubuntu 18.04 Mysql to Ubuntu 20.04 pgsql.
      /close

      Comment

      • Rudlafik
        Senior Member
        • Nov 2018
        • 144

        #33
        Our resolution is:

        1. Administration -> General -> Other: Fronend URL: https://Yours.DNS.adr

        2.Zabbix server config: WebServiceURL=http://Yours.DNS.adr:10053/report

        3.Web service config:
        TLSAccept=unencrypted
        IgnoreURLCertErrors=1

        Its work for us :-) Not blank PDF
        Last edited by Rudlafik; 07-02-2022, 17:31.

        Comment

        • Cocorino
          Junior Member
          • May 2022
          • 23

          #34
          Hi,

          My problem is

          "Cannot accept incoming connection for peer: 172.20.210.155:38174"

          I know my ports are blocked by iptables. Except every port change test, you have some idea to solve the problem?

          I opened the default port 10053.
          Webservice URL is set correctly http://<iport>/report . And Start ReportWrites =3.
          chrome is installed correctly.
          web-service is running.

          Thank
          Last edited by Cocorino; 18-08-2022, 10:08.

          Comment


          • Cocorino
            Cocorino commented
            Editing a comment
            update it was necessary to modify in the /etc/zabbix/zabbix_web_service.conf AllowedIP=172.0.0.1,::1,ipzabbix. Now I have reports but empty to follow.
        • Micha2222
          Junior Member
          • Aug 2022
          • 9

          #35
          What is error message if you run the test or else if you try curl in cli?

          Comment

          • Cocorino
            Junior Member
            • May 2022
            • 23

            #36
            Micha2222 No errors, the test works, I get the emails but with an attachment but empty.

            Comment

            • Micha2222
              Junior Member
              • Aug 2022
              • 9

              #37
              Did you try just Chrome or Chromium as well. I had it with Chrome and switched. It seem like the dashboard connection is too slow.

              Comment

              • Cocorino
                Junior Member
                • May 2022
                • 23

                #38
                Yes, already tried​

                Comment

                • hakanozanlagan
                  Member
                  • Nov 2021
                  • 35

                  #39
                  i am using ubuntu 22.04 with zabbix 6.0 (with self signed certificate). below configuration is working in my test env. I applied same config to prod env.

                  wget https://dl.google.com/linux/direct/g...rent_amd64.deb
                  apt-get update
                  apt install -y ./google-chrome-stable_current_amd64.deb
                  apt install -y zabbix-web-service
                  systemctl enable zabbix-web-service

                  vi /etc/zabbix/zabbix_server.conf (set below conf)
                  StartReportWriters=3
                  WebServiceURL=zbxtst01.eduenv.com:10053/report

                  vi /etc/zabbix/zabbix_web_service.conf (set below conf)
                  TLSAccept=unencrypted
                  IgnoreURLCertErrors=1

                  login zabbix frontend as admin.
                  Administration -> General -> Other: Fronend URL: https://zbxtst01.eduenv.com

                  restart
                  systemctl restart zabbix-server zabbix-agent2 nginx php8.1-fpm zabbix-web-service​

                  Comment

                  • gang.ma
                    Junior Member
                    • Jun 2023
                    • 1

                    #40
                    Try to Debug zabbix_web_service

                    vim /etc/zabbix/zabbix_web_service.conf

                    Code:
                    LogFile=/var/log/zabbix/zabbix_web_service.log
                    LogFileSize=10
                    DebugLevel=5​
                    Reload zabbix-web-service
                    # /etc/init.d/zabbix-web-service restart

                    Tail the log and Test again.
                    # tail -f /var/log/zabbix/zabbix_web_service.log

                    Comment

                    • choiniere
                      Junior Member
                      • Jul 2023
                      • 6

                      #41
                      How do I enable report manager in my Zabbix docker container w/ docker-compose?

                      Comment

                      • NaveenKumar
                        Junior Member
                        • Mar 2024
                        • 1

                        #42
                        Hello Guys,

                        I am trying to create scheduled reports in zabbix, but i am getting error like "Cannot connect to web service:couldn't connect to server" while testing. can anyone help me to fix this issue

                        Comment

                        Working...