Ad Widget

Collapse

Zabbix Dynamic PDF Report Generation

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Joby
    Junior Member
    • Nov 2012
    • 29

    #121
    Groupwise permission to Dynamic reports

    Hi,

    Is it possible to allow dynamic report access only to hosts specified for a usergroup. If so please give me a step by step instruction on that.

    Thanking you

    Joby

    Comment

    • Joby
      Junior Member
      • Nov 2012
      • 29

      #122
      Is there any possibilities for this. someone please help...


      Originally posted by Joby
      Hi,

      Is it possible to allow dynamic report access only to hosts specified for a usergroup. If so please give me a step by step instruction on that.

      Thanking you

      Joby

      Comment

      • Ishan
        Member
        • May 2013
        • 40

        #123
        Reports are generating but no graphs

        Report is generating but without graphs, please kindly help me to fix this issue

        I am using Zabbix 2.0.5 version
        And followed the all thread but it was not fixed for me

        I ll post error log details below,

        [Wed May 15 10:55:20 2013] [error] [client 192.168.206.1] PHP Deprecated: Function set_magic_quotes_runtime() is deprecated in /usr/share/zabbix/class.pdf.php on line 2641, referer: http://192.168.206.145/zabbix/pdfform.php
        [Wed May 15 10:55:20 2013] [error] [client 192.168.206.1] PHP Deprecated: Function set_magic_quotes_runtime() is deprecated in /usr/share/zabbix/class.pdf.php on line 2653, referer: http://192.168.206.145/zabbix/pdfform.php

        Thanks in Advance

        Comment

        • Ishan
          Member
          • May 2013
          • 40

          #124
          Please help me to fix the issue, My OS is Cent OS 6.3....

          Comment

          • Ishan
            Member
            • May 2013
            • 40

            #125
            Help

            Anyone can help me to fix my issue would be great.. because i am waiting to finish this project and only one pending is this.. Please kindly help me..

            Comment

            • Mython
              Junior Member
              • May 2013
              • 11

              #126
              Originally posted by wamsterdam
              Finally got it working now. I forgot to edit the $z_login_data string in config.inc.php as mentioned in post #65. If you use Travis's version from post #100 and replace "host" with "hostid" as in my previous post, you're good to go with Zabbix 2.0.5.

              Wouter
              I did exactly the same, but I´m still getting the pdf without the graph

              could you please attach the files as posted in #100?

              Thanks in advance

              Comment

              • Mython
                Junior Member
                • May 2013
                • 11

                #127
                Originally posted by jitheshr89
                hi friends,

                extress,tchjts1,Tracs please check your inbox. I already send mail.

                Please share your comments here.
                I sent you an email! please let me know if you can share your work..
                Thanks!

                Comment

                • boe
                  Junior Member
                  • Dec 2012
                  • 24

                  #128
                  Originally posted by Ishan
                  Anyone can help me to fix my issue would be great.. because i am waiting to finish this project and only one pending is this.. Please kindly help me..
                  Hi,

                  Try this:


                  chmod 777 ./data.txt
                  chmod 777 ./tmp_images
                  chmod 777 ./tmp_cookies

                  ...and copy there folder "frotns", from your old arhive.

                  Run: http://XXXXXXXXXX/pdfform.php

                  Worked on my CentOS 6.4 (php 5.3-5.4), zabbix-2.0.6.
                  Last edited by boe; 22-05-2013, 09:48.

                  Comment

                  • Ishan
                    Member
                    • May 2013
                    • 40

                    #129
                    Hi Boe

                    Thanks you very much for your reply, Issue has been resolved after followed up with your steps.. It’s really appreciated!!!!!
                    By the way do you have implemented to automate the emails as well, please share with me if you have? Thanks again

                    Comment

                    • boe
                      Junior Member
                      • Dec 2012
                      • 24

                      #130
                      Originally posted by Ishan
                      Thanks you very much for your reply, Issue has been resolved after followed up with your steps.. It’s really appreciated!!!!!
                      By the way do you have implemented to automate the emails as well, please share with me if you have? Thanks again
                      This report does not suit me.
                      Looking for other ways to generate reports.

                      Comment

                      • wamsterdam
                        Member
                        • Apr 2013
                        • 34

                        #131
                        Originally posted by Mython
                        I did exactly the same, but I´m still getting the pdf without the graph

                        could you please attach the files as posted in #100?

                        Thanks in advance
                        Mython,

                        Meanwhile I changed the original files supplied by Axilla a bit. I switched to use the Zabbix PHP API from http://zabbixapi.confirm.ch (which syntax I could understand better than the original one) and I switched to use another PDF class from http://www.tcpdf.org. So my files are changed quite drastically.

                        I may have missed some posts, but you have reached the point that your PDF is created without the graph images. Are the images created in the tmp_images folder? Did you set up the correct folder permissions as noted in Boe's reply in post #128?

                        Wouter

                        Comment

                        • wamsterdam
                          Member
                          • Apr 2013
                          • 34

                          #132
                          Originally posted by boe
                          This report does not suit me.
                          Looking for other ways to generate reports.
                          Boe,

                          I'd like to know why these reports do not suit you? I agree they are far from perfect, but the idea is OK. With some customizing I think I can have my reports well suitable for my needs.

                          Wouter

                          Comment

                          • wamsterdam
                            Member
                            • Apr 2013
                            • 34

                            #133
                            Originally posted by Ishan
                            Thanks you very much for your reply, Issue has been resolved after followed up with your steps.. It’s really appreciated!!!!!
                            By the way do you have implemented to automate the emails as well, please share with me if you have? Thanks again
                            Ishan,

                            You will have to create your own php page to handle this. Just get yourself a copy of the class.phpmailer.php and class.smtp.php classes, which are widely used and documented. Than create a cronjob to fire your php page, and voila!

                            Wouter

                            Comment

                            • boe
                              Junior Member
                              • Dec 2012
                              • 24

                              #134
                              Originally posted by wamsterdam
                              I'd like to know why these reports do not suit you? I agree they are far from perfect, but the idea is OK. With some customizing I think I can have my reports well suitable for my needs.

                              Wouter
                              Hi wamsterdam.

                              You have created a nice script, but report is intended for the boss, and he did not want it to analyze graphs. Requires statistics in numbers.
                              Last edited by boe; 24-05-2013, 10:58.

                              Comment

                              • wamsterdam
                                Member
                                • Apr 2013
                                • 34

                                #135
                                Originally posted by boe
                                Hi wamsterdam.

                                You have created a nice script, but report is intended for the boss, and he did not want it to analyze graphs. Requires statistics in numbers.
                                Boe,

                                I did not create the script, I only changed it a bit to suit my needs.

                                You brought up a point though. I had thought about that and I will probably need to have some statistics also. But I wanted to have graphs anyway, so I just gave it a go. I'll get to the statistics later...

                                Wouter

                                Comment

                                Working...