Ad Widget

Collapse

Zabbix Dynamic PDF Report Generation

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jitheshr89
    Junior Member
    • Oct 2012
    • 26

    #91
    Its working with 2.0.3

    Hi Axila,
    Thanks for u r working. I am glad to say that its working with 2.0.3. Then I developed one mail alerting system. Which will send a Consolidated Report hosts in every hour.

    Then Axila I need ur help. I have a two web application hosted in IIS server. Now am get all details of that application. But I want to add one more key. Which will give Active session of two application. Do you have any idea?



    Advance Thanks
    Jithesh R

    Comment

    • DIoX|DaZ
      Member
      • Apr 2011
      • 31

      #92
      Please any help running on 2.0.3 ? maybe email? instructions?

      Comment

      • jitheshr89
        Junior Member
        • Oct 2012
        • 26

        #93
        Yes it is working in 2.0.3

        Hi,

        I can help you. Give me your personal mail id. I will send you config file.



        Advance Thanks
        Jithesh R

        Comment


        • sajid4uu2c
          sajid4uu2c commented
          Editing a comment
          sent you a personal message, could you please send to it
      • tts00
        Junior Member
        • May 2011
        • 13

        #94
        Blank

        Im using Zabbix 1.8.5 and CentOS 5.8 and the report pdf is without the graphs.

        Conf:

        <?php
        //CONFIGURABLE
        # zabbix server info(user must have API access)
        $z_server = 'http://127.0.0.1/';
        $z_user = 'report';
        $z_pass = 'password';
        # tmp_images directory path
        $z_img_path = '/var/www/html/report/tmp_images/';
        # should be the tail of the URL
        $pdf_location = $z_server ."report/pdf.php";
        # paper settings
        $paper_format = 'LETTER'; // formats supported: 4A0, 2A0, A0 -> A10, B0 -> B10, C0 -> C10, RA0 -> RA4, SRA0 -> SRA4, LETTER, LEGAL, EXECUTIVE, FOLIO
        $paper_oreintation = 'portrait'; // formats supported: portrait / landscape
        # time zone
        $timezone = 'EST';

        //DO NOT CHANGE BELOW THIS LINE
        $z_tmp_cookies = "";
        $z_url_index = $z_server ."index.php";
        $z_url_graph = $z_server ."chart2.php";
        $z_url_api = $z_server ."api_jsonrpc.php";
        $z_login_data = "name=" .$z_user ."&password=" .$z_pass ."&enter=Enter";
        $data = './data.txt';
        ?>

        PHP Modules:

        bcmath
        bz2
        calendar
        ctype
        curl
        date
        dbase
        dom
        exif
        ftp
        gd
        gettext
        gmp
        hash
        iconv
        json
        libxml
        mbstring
        mime_magic
        mysql
        mysqli
        openssl
        pcntl
        pcre
        PDO
        pdo_mysql
        pdo_sqlite
        posix
        pspell
        Reflection
        session
        shmop
        SimpleXML
        sockets
        SPL
        standard
        sysvmsg
        sysvsem
        sysvshm
        tokenizer
        wddx
        xml
        xmlreader
        xmlrpc
        xmlwriter
        xsl
        zlib

        Thank you

        Comment

        • robertkarl
          Junior Member
          • Aug 2012
          • 6

          #95
          Host Group instead of Host

          Hi everybody, does somebody getting this script work with Host group instead of host only ?

          If yes what is the modification you have done ?

          Thanks !

          Comment

          • nnh0206
            Junior Member
            • Dec 2012
            • 5

            #96
            hi everybody ,i'm using zabbix 2.0.3 on CentOS 6.3 mysql 5.1 php 5.3.3 ,my report pdf is without graphs and no image is generated in tmp_images .
            data.txt :
            1<Introduction>
            This is an automatically generated PDF file containing data gathered from Zabbix Network Monitoring System.
            #NP
            2<Graphs>

            [PHP Modules]
            bcmath
            bz2
            calendar
            Core
            ctype
            curl
            date
            dom
            ereg
            exif
            fileinfo
            ffmpeg
            filter
            ftp
            gd
            gettext
            gmp
            hash
            iconv
            json
            libxml
            mbstring
            mysql
            mysqli
            openssl
            pcntl
            pcre
            PDO
            pdo_mysql
            pdo_sqlite
            Phar
            readline
            Reflection
            session
            shmop
            SimpleXML
            sockets
            SPL
            sqlite3
            standard
            tokenizer
            wddx
            xml
            xmlreader
            xmlwriter
            xsl
            zip
            zlib
            my email : [email protected]

            thank you !
            Last edited by nnh0206; 10-12-2012, 20:17.

            Comment

            • tts00
              Junior Member
              • May 2011
              • 13

              #97
              Dear Friends,

              I found the problem. It was the php version(5.1).

              Thank you.

              Comment

              • nnh0206
                Junior Member
                • Dec 2012
                • 5

                #98
                report zabbix

                what's your version PHP?

                Comment

                • nnh0206
                  Junior Member
                  • Dec 2012
                  • 5

                  #99
                  i used php 5.3.3 and it deprecated function set_magic_qoute_runtime()
                  i should use old version ???

                  Comment

                  • marakshin
                    Junior Member
                    • Feb 2011
                    • 27

                    #100
                    upgrade for 2.0.4

                    Upgrade source code for working with version Zabbix 2.0.4 + php5.3
                    - call deprecated functions in ini_set();
                    - change login string;
                    - change API calls to new format;
                    Version in attachment (without folder: fonts - attachment limit).

                    Waiting for feedback
                    Attached Files

                    Comment

                    • robertkarl
                      Junior Member
                      • Aug 2012
                      • 6

                      #101
                      Question for you

                      Originally posted by marakshin
                      Upgrade source code for working with version Zabbix 2.0.4 + php5.3
                      - call deprecated functions in ini_set();
                      - change login string;
                      - change API calls to new format;
                      Version in attachment (without folder: fonts - attachment limit).

                      Waiting for feedback
                      Hi marakshin, you seem to have coding skill , do you think their any way to get graph for a host group instead of host only ?

                      Thanks

                      Comment

                      • G3r0m3G
                        Junior Member
                        • Dec 2012
                        • 16

                        #102
                        Hello,

                        I'm new user of Zabbix and I have deployed a test plateforme. In addition, I have instal this plugin it's great and thank you to developpers . But I have suggestions to improve the plugin . What's do you think about :
                        • It's possible to add a report for a host group ?
                        • It's possible to add, by a select box, just a selected graphs for host and host group ?


                        Thank you, have a nice day,

                        G3r0m3G

                        Comment

                        • marakshin
                          Junior Member
                          • Feb 2011
                          • 27

                          #103
                          Originally posted by robertkarl
                          Hi marakshin, you seem to have coding skill , do you think their any way to get graph for a host group instead of host only ?

                          Thanks
                          It`s possible: Zabbix have a great API
                          I think what I try to make it when i have a free time

                          Comment

                          • robertkarl
                            Junior Member
                            • Aug 2012
                            • 6

                            #104
                            Originally posted by marakshin
                            It`s possible: Zabbix have a great API
                            I think what I try to make it when i have a free time
                            Thanks ! hope you will find a solutions !

                            Comment

                            • Corjik
                              Junior Member
                              • Jan 2013
                              • 2

                              #105
                              pdf report to email

                              Hello. Everything works fine! One question, how to send the pdf obtained by email? Thanks in advance for your answers!

                              Comment

                              Working...