Ad Widget

Collapse

Zabbix Dynamic PDF Report Generation

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • martinm_76
    Member
    • Mar 2015
    • 57

    #316
    Download 0.9.4

    Originally posted by byak
    Hello martinm !

    Thank you for your answer. I might seem a bit lost here, but where can i download your report ?
    Hi byak. I was rushing out the door, so I didn't have time to go back through the thread, but follow this link:



    Older versions are there as well.

    /Martin.

    Comment

    • byak
      Junior Member
      • Sep 2016
      • 15

      #317
      It seems to be working nicely

      Thank you !

      Comment

      • byak
        Junior Member
        • Sep 2016
        • 15

        #318
        Hello, sorry for my double post but i got a problem with the logo on the PDF.

        In fact i tried to put my logo company into the PDF but it didn't work. My picture is stored in the ./image/general. The image is a PNG, i tried to put the full path to the picture in the config file but with no result. In the PDF it just show no logo.

        On the other hand if want to go with the pwc_logo.png it will work perfectly.

        Thank you for your help.

        Comment

        • martinm_76
          Member
          • Mar 2015
          • 57

          #319
          Originally posted by byak
          Hello, sorry for my double post but i got a problem with the logo on the PDF.

          In fact i tried to put my logo company into the PDF but it didn't work. My picture is stored in the ./image/general. The image is a PNG, i tried to put the full path to the picture in the config file but with no result. In the PDF it just show no logo.

          On the other hand if want to go with the pwc_logo.png it will work perfectly.

          Thank you for your help.
          Hi byak.

          I have tried to reply to your private message, but I am not sure if I succeeded. I see nothing in my sent messages, so here goes:

          Please show me what 'file' thinks of your logo:

          Code:
          # file images/general/*
          images/general/pwc-logo.png: PNG image data, 224 x 164, 8-bit/color RGB, non-interlaced
          images/general/zabbix.png:   PNG image data, 118 x 31, 8-bit/color RGB, non-interlaced
          /MMO

          Comment

          • byak
            Junior Member
            • Sep 2016
            • 15

            #320
            Hi martin,

            Yeah same for me :/

            Here you can the "file" screen:

            Code:
            file images/general/*
            images/general/m.png: PNG image data, 367 x 156, 8-bit/color RGBA, non-interlaced
            images/general/s.png: PNG image data, 200 x 85, 8-bit/color RGBA, non-interlaced
            images/general/pwc-logo.png:    PNG image data, 224 x 164, 8-bit/color RGB, non-interlaced
            images/general/zabbix.png:      PNG image data, 118 x 31, 8-bit/color RGB, non-interlaced
            I can see that my pictures are in RGBA, does that have any impact ?

            Thank you

            Comment

            • martinm_76
              Member
              • Mar 2015
              • 57

              #321
              Originally posted by byak
              Hi martin,

              Yeah same for me :/

              Here you can the "file" screen:

              Code:
              file images/general/*
              images/general/m.png: PNG image data, 367 x 156, 8-bit/color RGBA, non-interlaced
              images/general/s.png: PNG image data, 200 x 85, 8-bit/color RGBA, non-interlaced
              images/general/pwc-logo.png:    PNG image data, 224 x 164, 8-bit/color RGB, non-interlaced
              images/general/zabbix.png:      PNG image data, 118 x 31, 8-bit/color RGB, non-interlaced
              I can see that my pictures are in RGBA, does that have any impact ?

              Thank you
              I honestly do not know, but it is possible that ezPDF doesn't know how to handle the transparency channel. Could you try to save one of them without transparency? If it eludes you, try saving as JPEG, opening the JPEG and saving that as PNG. Then transparency should be gone.

              It is worth trying. I would hope that transparency is supported, but I can understand if it is not.

              Comment

              • byak
                Junior Member
                • Sep 2016
                • 15

                #322
                Hi,

                It seems that it was in fact the transparency that was the problem.

                I deleted the transparency using GIMP. (Saving in JPEG then going back to PNG didn't work for me).

                Thank you for your help

                Comment

                • asgimenez
                  Junior Member
                  • Aug 2016
                  • 2

                  #323
                  Report generation for Zabbix 3.0.4 - Ubuntu

                  Hi there,

                  Any how-to for this version - Zabbix 3.0.4?

                  Please let me know

                  /AS

                  Comment

                  • byak
                    Junior Member
                    • Sep 2016
                    • 15

                    #324
                    Originally posted by asgimenez
                    Hi there,

                    Any how-to for this version - Zabbix 3.0.4?

                    Please let me know

                    /AS
                    Hello asgimenez,

                    I followed those instructions and it is working fine. I'm using Zabbix 3.0.3.

                    Just change the repo if you wish a newer version with the one linked by martin here : https://drive.google.com/folderview?...p=sharing#list

                    Comment

                    • asgimenez
                      Junior Member
                      • Aug 2016
                      • 2

                      #325
                      Originally posted by byak
                      Hello asgimenez,

                      I followed those instructions and it is working fine. I'm using Zabbix 3.0.3.

                      Just change the repo if you wish a newer version with the one linked by martin here : https://drive.google.com/folderview?...p=sharing#list


                      Thank you very much for this.

                      I have followed everything that but I'm having this issue when I try to go to /report in my browser:

                      Unable to login: Array ( [code] => -32602 [message] => Invalid params. [data] => Incorrect method "user.authenticate". )

                      the website, username and password are correct!

                      Comment

                      • vlam
                        Senior Member
                        Zabbix Certified Specialist
                        • Jun 2009
                        • 166

                        #326
                        Hi All

                        I also get Unable to login.

                        But I also have an question, how can I get people to login for the report as I have multiple users that need to be able to login and only see there host groups?

                        Any help in getting this done would be great

                        Thanks
                        4 Zabbix Frontend Servers (Load balanced)
                        2 Zabbix App Servers (HA)
                        2 Zabbix Database Servers (HA)
                        18 Zabbix Proxy Servers (HA)
                        3897 Deployed Zabbix Agents
                        6161 Values per second
                        X-Layer Integration
                        Jaspersoft report Servers (HA)

                        Comment

                        • n_o
                          Junior Member
                          • Nov 2016
                          • 1

                          #327
                          Latest release works good with 3.0.4, but i have a pdf generation problem.
                          There is blank space on the end of page3 (see attach), so all graphs are moved down on next pages.
                          Is there any way to fix it?
                          Attached Files

                          Comment

                          • hernan
                            Member
                            • Sep 2016
                            • 67

                            #328
                            Originally posted by byak
                            Hello asgimenez,

                            I followed those instructions and it is working fine. I'm using Zabbix 3.0.3.

                            Just change the repo if you wish a newer version with the one linked by martin here : https://drive.google.com/folderview?...p=sharing#list
                            Thank you for this suggestion, the PDF Report is working perfect.

                            Can you tell me which is the correct procedure to change the red line on the report?

                            Thanks in advance.

                            Regards.

                            Comment

                            • juliand
                              Junior Member
                              • Nov 2016
                              • 1

                              #329
                              Report with last page empty

                              Hello all,

                              Would anyone be able to help me?
                              createpdf.php works fine but at the end of the graphs there is an added page that is empty. I cannot seem to find what to modify in createpdf.php to get rid of this empty page.


                              Any help would be appricated

                              Thanks

                              Julian

                              Comment

                              • araneon
                                Junior Member
                                • Apr 2016
                                • 28

                                #330
                                Good day!
                                Tell me how to add them to report the amount of time during which the host has been in a crash?

                                OK. Tell me how you can add the report concluded, "AGE" Triggers {HOST.NAME:icmpping.max(#3)}=0
                                Last edited by araneon; 25-11-2016, 07:56. Reason: Clarification of

                                Comment

                                Working...