Ad Widget

Collapse

Scheduled Reports 5.4

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dilan bandara
    Junior Member
    • Mar 2021
    • 7

    #16
    Thanks gofree Its worked for me

    Comment

    • fajar
      Junior Member
      • Jun 2021
      • 1

      #17
      zabbix-web-service already active after run "apt install zabbix-web-service" on ubuntu 20 but on Zabbix GUI interface still error "Report manager is disabled"
      if follow https://www.zabbix.com/documentation/current/manual/installation/install#download_the_source_archive and still error

      Is there any special configuration on Ubuntu 20.04.2 LTS?

      Comment


      • gofree
        gofree commented
        Editing a comment
        check second post in the thread - you need to start report writer process that will automatically start report manager process
    • dilan bandara
      Junior Member
      • Mar 2021
      • 7

      #18
      Hi Guys,

      Can we get only dashboard view by using scheduled report option? can we get inventory details by using this method?? I mean server details.

      Comment

      • othin
        Junior Member
        • May 2016
        • 14

        #19
        Hi, anyone can help me please?
        -I've install zabbix-web-service and i start it
        -i've add in zabbix_server.conf "StartReportWriters=1"
        but now how i can know the url that i must add in administration -> general ->other?
        My site is: https://exdample.com/zabbix and i've tried http://localhost:10053/reports but the test fail...

        in zabbix_server.conf: i've add WebServiceURL=http://localhost:10053/reports but is wrong i think

        thank you

        *Update*
        I've add in zabbix_server.conf:
        WebServiceURL=http://localhost:10055/reports
        In zabbix_web_server.conf:
        ListenPort=10055

        but now i see only :
        Code:
        curl http://localhost:10055/reports
        404 page not found
        *Update2*
        report....not reports....sorry, i've add the correct url in zabbix_server.conf


        Details Report generating test failed.
        • Cannot fetch data: chrome failed to start:
        • /usr/bin/google-chrome-stable: error while loading shared libraries: libatk-1.0.so.0: cannot open shared object file: No such file or directory
        • .
        i've installed libatk-2.0.so
        But now i see a timeout, logs don't help...i'll see now

        Click image for larger version

Name:	Schermata da 2021-06-07 11-14-03.png
Views:	6400
Size:	14.3 KB
ID:	426117
        Attached Files
        Last edited by othin; 07-06-2021, 11:15.

        Comment

        • Sebastian
          Member
          • Jul 2020
          • 33

          #20
          Hello,
          Here is official tutorial available: https://www.youtube.com/watch?v=fcqMqBphuu4

          I have configured this. Working fine. Below you can find steps to follow for installation.

          System: Ubuntu 18
          commands for Debian/Ubuntu:


          At my installation using google-chrome-stable package caused generating white empty PDF reports. Switching to chromium fixed issue.

          you can uninstall google chrome by issuing


          Code:
           apt-get remove google-chrome-stable

          1. Install Chromium , Reporting uses chromium engine for generating PDF.


          Code:
          apt install chromium-browser

          2. Install Zabbix-Web Service

          commands for Debian/Ubuntu:
          Code:
          apt install zabbix-web-service
          enable zabbix-web-service service.

          Code:
          systemctl enable zabbix-web-service
          
          systemctl start zabbix-web-service
          3. Modify "zabbix_server.conf" file

          add lines:

          Code:
          StartReportWriters=1
          WebServiceURL=http://localhost:10053/report
          match WebServiceURL with "zabbix_web_service.conf" settings

          Restart zabbix-server

          Code:
          service zabbix-server restart
          4. Setup Frontend URl Parameter in Zabbix GUI

          Administration/General/Others

          working format "http://zabbix.your.domain"

          5. Setup Example Report

          Documentation:
          https://www.zabbix.com/documentation...config/reports

          Last edited by Sebastian; 09-06-2021, 12:54.

          Comment


          • markfree
            markfree commented
            Editing a comment
            The video tutorial is very informative and easy to follow. Thanks.

          • sirbank
            sirbank commented
            Editing a comment
            it work Thank you.
        • ElemondCraw
          Junior Member
          • May 2021
          • 2

          #21
          Hello,

          I have a blank PDF when I generate a report
          I have Ubuntu 20.04 Zabbix 5.4.1 and using Chrome
          Also, when I do : curl http://172.18.1.10:10053/report
          I have : {"detail":"Method is not supported."}
          I wonder if it's related or not
          Does anyone know how to fix or some research I could go on ?
          Thanks in advance.

          Comment

          • markfree
            Senior Member
            • Apr 2019
            • 868

            #22
            These scheduled reports are quite nice indeed.

            But my current server does not have a OS UI, much less Google Chrome. It is mainly headless. I only use it through cmd line.

            So, I wonder how can I install Google Chrome Browser without loading a full UI.

            Comment

            • Atsushi
              Senior Member
              • Aug 2013
              • 2028

              #23
              I also have a headless server, but I downloaded the package from the following URL on my Windows machine, uploaded the package file to the server, and installed Chrome from the command line.
              Chrome is the official web browser from Google, built to be fast, secure, and customizable. Download now and make it yours.

              Comment

              • markfree
                Senior Member
                • Apr 2019
                • 868

                #24
                I could try to install Chromium, but my setup has no UI. So, if I try to install the package, it asks me to install lots of libs and UI elements, which is not desired right now.

                Comment

                • cvalean
                  Junior Member
                  • Jul 2021
                  • 2

                  #25
                  I got this to work on ubuntu 20.04 with the following checked:
                  - use chromium - not from snap. I added it with ungoogled-chromium - search for the steps
                  - configure ListenPort=10053 in zabbix_web_service.com
                  - in zabbix_server.conf add WebServiceURL=http://localhost:10053/report and StartReportWriters=3
                  - restart zabbix server and zabbix web service

                  With this done I'm not getting anymore the 1kb empty pdf files.

                  Comment

                • ouque3
                  Junior Member
                  • Jul 2021
                  • 3

                  #26
                  I'm get the 1kb empty pdf files, delete chrome stable and install chromium. I don’t know whether it helped or not. And i noticed strange messages after reinstall in the logs:

                  zabbix_web_service[13135]: 2021/07/15 14:59:09 ERROR: could not unmarshal event: unknown PrivateNetworkRequestPolicy value
                  zabbix_web_service[13135]: 2021/07/15 14:59:09 ERROR: could not unmarshal event: unknown PrivateNetworkRequestPolicy value


                  Does anyone know what the problem might be?

                  Comment

                  • ouque3
                    Junior Member
                    • Jul 2021
                    • 3

                    #27
                    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

                    Comment


                    • Sebastian
                      Sebastian commented
                      Editing a comment
                      Hello ouque3 , I confirm my installation is working the same as yours.
                  • rafkol65
                    Junior Member
                    • Sep 2021
                    • 1

                    #28
                    My pdfs contain the message: Not Found
                    The requested URL was not found on this server.
                    Apache/2.4.41 (Ubuntu) Server at 192.168.20.12 Port 80
                    What am I doing wrong?

                    Comment

                    • MOnet
                      Junior Member
                      • Nov 2019
                      • 4

                      #29
                      Here is another video tutorial: https://youtu.be/NaxBiPEqlbc
                      I think the only thing which is missing in this tutorial is to add the "FrontendURL" in Administration->General->other
                      Tested with Ubuntu 20.04.3 and zabbix 6.0.0alpha4

                      Comment

                      • JK123
                        Junior Member
                        • Oct 2021
                        • 1

                        #30
                        Yes I faced the similar issue, but by enabling the report writer process, it resolved.

                        Comment

                        Working...