Ad Widget

Collapse

Zabbix-Extras 2

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • spaww
    Senior Member
    Zabbix Certified Specialist
    • May 2009
    • 178

    #1

    Zabbix-Extras 2

    This project is intended as extend the native options of Zabbix 2.2 or up. For previous version of Zabbix still using Zabbix-Extras version 1.2 (available in forum).

    New features on Zabbix-Extras 2:
    • Customization of the logo of Zabbix frontend based on image registered in Zabbix logo (facilitates customization by companies).
    • Customization of map tile, border and background (colors, visibility)
    • Menus derived from the database (useful for adding your own menus to Zabbix)
    • Support for literal values ​​in graphs (without using scales)


    "Old" Features on Zabbix-Extras 2 (with some small changes):
    • Capacity and Trend Report
    • Report of items not supported
    • Estimated costs of storage with the items listed
    • Interrelationships between events (temporal analysis of possible causes and effects)


    For more details about the plugin and install guides (in Brazilian Portuguese), please see http://spinola.net.br/blog.

    It also adds two other plugins with very interesting features (but kept by other Brazilian authors):


    Installation instructions

    1) Check your Zabbix Version.
    2) Make a backup (every time is a good thing to do).
    3) Download file "https://raw.github.com/SpawW/zabbix-...stalaExtras.sh" run with SH command: sh ./instalaExtras.sh Follow the instructions (the first screen is the language selection). After the install... refresh zabbix interface (F5) and use the new Menu item called "EXTRAS".

    Installer available in English and Portuguese !

    About the author

    Zabbix-Extras Built by Adail Horst
    Submit your issues using the Github issue tracker
    Adail Horst
    OCA/OCP - Oracle Application Server
    ZABBIX Certified Specialist
    http://www.spinola.net.br/blog (Blog sobre Zabbix e tecnologia)
  • extress
    Member
    • Jul 2012
    • 32

    #2
    It works good on my side but I was wondering how to uninstall it (in case of upgrade) ?

    Comment

    • spaww
      Senior Member
      Zabbix Certified Specialist
      • May 2009
      • 178

      #3
      Originally posted by extress
      It works good on my side but I was wondering how to uninstall it (in case of upgrade) ?
      Hi Extress,

      In case of upgrade you need to re-install Zabbix-Extras (run again the instalaExtras.sh)
      Adail Horst
      OCA/OCP - Oracle Application Server
      ZABBIX Certified Specialist
      http://www.spinola.net.br/blog (Blog sobre Zabbix e tecnologia)

      Comment

      • markuz
        Junior Member
        • Jul 2014
        • 2

        #4
        installation problems

        I executed the script like instructed and it installs without problems.

        But i get error messages like the following displayed in the zabbix web interface:


        Undefined index: url [index.php:109 → CView->render() → include() → require_once() → zbx_construct_menu() in /usr/share/zabbix/include/menu.inc.php:348]


        do you have an idea what the problem might be?

        Comment

        • spaww
          Senior Member
          Zabbix Certified Specialist
          • May 2009
          • 178

          #5
          Marcus,

          What is the Zabbix Version?

          Originally posted by markuz
          I executed the script like instructed and it installs without problems.

          But i get error messages like the following displayed in the zabbix web interface:


          Undefined index: url [index.php:109 → CView->render() → include() → require_once() → zbx_construct_menu() in /usr/share/zabbix/include/menu.inc.php:348]


          do you have an idea what the problem might be?
          Adail Horst
          OCA/OCP - Oracle Application Server
          ZABBIX Certified Specialist
          http://www.spinola.net.br/blog (Blog sobre Zabbix e tecnologia)

          Comment

          • markuz
            Junior Member
            • Jul 2014
            • 2

            #6
            Hi spaww, thank you for your quick reply.

            The version is 2.2, but the problem is solved now.

            The problem was that i had set a proxy

            export http_proxy=http://xxx
            export https_proxy=https://xxx


            And the script tried to access localhost/zabbix using that proxy.

            so the following fixed it:

            export no_proxy=localhost,127.0.0.0/8

            Comment

            • Thrasher
              Junior Member
              • Sep 2014
              • 1

              #7
              Errors in logs - get_request

              Hi,

              Zabbix 2.4 - Centos 6.5.

              Getting this in the logs and the addon has rendered large parts of my installation unusable

              [Mon Sep 29 11:47:17 2014] [error] [client 192.168.0.26] PHP Fatal error: Call to undefined function get_request() in /usr/share/zabbix/include/views/zbxe.users.extra$
              [Mon Sep 29 11:48:07 2014] [error] [client 192.168.0.26] PHP Fatal error: Call to undefined function get_request() in /usr/share/zabbix/zbxe-cat.php on line 80, refer$
              [Mon Sep 29 11:48:12 2014] [error] [client 192.168.0.26] PHP Fatal error: Call to undefined function get_request() in /usr/share/zabbix/include/views/zbxe.users.extra$
              [Mon Sep 29 11:50:26 2014] [error] [client 192.168.0.26] PHP Fatal error: Call to undefined function get_request() in /usr/share/zabbix/include/views/zbxe.users.extra$
              [Mon Sep 29 11:50:42 2014] [error] [client 192.168.0.26] PHP Fatal error: Call to undefined function get_request() in /usr/share/zabbix/zbxe-cat.php on line 80, refer$
              [Mon Sep 29 11:50:48 2014] [error] [client 192.168.0.26] PHP Fatal error: Call to undefined function get_request() in /usr/share/zabbix/include/views/zbxe.users.extra$
              [Mon Sep 29 11:51:33 2014] [error] [client 192.168.0.26] PHP Fatal error: Call to undefined function get_request() in /usr/share/zabbix/include/views/zbxe.users.extra$
              [Mon Sep 29 11:54:51 2014] [error] [client 192.168.0.26] PHP Fatal error: Call to undefined function get_request() in /usr/share/zabbix/zbxe-em.php on line 35
              [Mon Sep 29 11:55:01 2014] [error] [client 192.168.0.26] PHP Fatal error: Call to undefined function get_request() in /usr/share/zabbix/zbxe-cat.php on line 80
              [Mon Sep 29 11:55:14 2014] [error] [client 192.168.0.26] PHP Fatal error: Call to undefined function get_request() in /usr/share/zabbix/zbxe-sc.php on line 65
              [Mon Sep 29 11:55:37 2014] [error] [client 192.168.0.26] PHP Fatal error: Call to undefined function get_request() in /usr/share/zabbix/include/views/zbxe.users.extra$
              [Mon Sep 29 11:55:53 2014] [error] [client 192.168.0.26] PHP Fatal error: Call to undefined function get_request() in /usr/share/zabbix/zbxe-config.php on line 112
              [Mon Sep 29 12:01:36 2014] [error] [client 192.168.0.26] PHP Fatal error: Call to undefined function get_request() in /usr/share/zabbix/zbxe-cat.php on line 80, refer

              Comment

              • spaww
                Senior Member
                Zabbix Certified Specialist
                • May 2009
                • 178

                #8
                Thrasher,

                Zabbix-extras 2.0 is not for Zabbix 2.4...

                For Zabbix 2.4 please use Zabbix-extras 2.1.

                Now you need to replace .php files for a original Zabbix 2.4 installation... and install zabbix extras 2.1 (spinola.net.br/blog).



                Originally posted by Thrasher
                Hi,

                Zabbix 2.4 - Centos 6.5.

                Getting this in the logs and the addon has rendered large parts of my installation unusable

                [Mon Sep 29 11:47:17 2014] [error] [client 192.168.0.26] PHP Fatal error: Call to undefined function get_request() in /usr/share/zabbix/include/views/zbxe.users.extra$
                [Mon Sep 29 11:48:07 2014] [error] [client 192.168.0.26] PHP Fatal error: Call to undefined function get_request() in /usr/share/zabbix/zbxe-cat.php on line 80, refer$
                [Mon Sep 29 11:48:12 2014] [error] [client 192.168.0.26] PHP Fatal error: Call to undefined function get_request() in /usr/share/zabbix/include/views/zbxe.users.extra$
                [Mon Sep 29 11:50:26 2014] [error] [client 192.168.0.26] PHP Fatal error: Call to undefined function get_request() in /usr/share/zabbix/include/views/zbxe.users.extra$
                [Mon Sep 29 11:50:42 2014] [error] [client 192.168.0.26] PHP Fatal error: Call to undefined function get_request() in /usr/share/zabbix/zbxe-cat.php on line 80, refer$
                [Mon Sep 29 11:50:48 2014] [error] [client 192.168.0.26] PHP Fatal error: Call to undefined function get_request() in /usr/share/zabbix/include/views/zbxe.users.extra$
                [Mon Sep 29 11:51:33 2014] [error] [client 192.168.0.26] PHP Fatal error: Call to undefined function get_request() in /usr/share/zabbix/include/views/zbxe.users.extra$
                [Mon Sep 29 11:54:51 2014] [error] [client 192.168.0.26] PHP Fatal error: Call to undefined function get_request() in /usr/share/zabbix/zbxe-em.php on line 35
                [Mon Sep 29 11:55:01 2014] [error] [client 192.168.0.26] PHP Fatal error: Call to undefined function get_request() in /usr/share/zabbix/zbxe-cat.php on line 80
                [Mon Sep 29 11:55:14 2014] [error] [client 192.168.0.26] PHP Fatal error: Call to undefined function get_request() in /usr/share/zabbix/zbxe-sc.php on line 65
                [Mon Sep 29 11:55:37 2014] [error] [client 192.168.0.26] PHP Fatal error: Call to undefined function get_request() in /usr/share/zabbix/include/views/zbxe.users.extra$
                [Mon Sep 29 11:55:53 2014] [error] [client 192.168.0.26] PHP Fatal error: Call to undefined function get_request() in /usr/share/zabbix/zbxe-config.php on line 112
                [Mon Sep 29 12:01:36 2014] [error] [client 192.168.0.26] PHP Fatal error: Call to undefined function get_request() in /usr/share/zabbix/zbxe-cat.php on line 80, refer
                Adail Horst
                OCA/OCP - Oracle Application Server
                ZABBIX Certified Specialist
                http://www.spinola.net.br/blog (Blog sobre Zabbix e tecnologia)

                Comment

                • ZabbixSon
                  Junior Member
                  • Nov 2014
                  • 17

                  #9
                  Geological

                  Im running zabbix 2.2 in my server and i'v installed zabbix extras 2

                  my question is:

                  1. Is there i need to configure for geo to make it works?

                  2. Do i need to install google maps plugin because geo using google maps plugin?

                  Last edited by ZabbixSon; 25-11-2014, 03:28.

                  Comment

                  • spaww
                    Senior Member
                    Zabbix Certified Specialist
                    • May 2009
                    • 178

                    #10
                    Hi ZabbixSon,

                    If you use ZBX 2.4 and ZBXExtras 2.1 is better. But... Zabbix-Geo (both versions) need curl package working in php. Try to add this package and restart apache.

                    Originally posted by ZabbixSon
                    Im running zabbix 2.2 in my server and i'v installed zabbix extras 2

                    my question is:

                    1. Is there i need to configure for geo to make it works?

                    2. Do i need to install google maps plugin because geo using google maps plugin?

                    Adail Horst
                    OCA/OCP - Oracle Application Server
                    ZABBIX Certified Specialist
                    http://www.spinola.net.br/blog (Blog sobre Zabbix e tecnologia)

                    Comment

                    • ZabbixSon
                      Junior Member
                      • Nov 2014
                      • 17

                      #11
                      It Works!

                      Hi SpawW,

                      Thank you for your reply, my zabbix extras is working perfectly now, thank you for your help..

                      regards,

                      Comment

                      • ZabbixSon
                        Junior Member
                        • Nov 2014
                        • 17

                        #12
                        Originally posted by spaww
                        Hi Extress,

                        In case of upgrade you need to re-install Zabbix-Extras (run again the instalaExtras.sh)

                        Hi SpawW.. How to uninstall it? it seems like zabbix extras make me unable to load my graph in monitoring tab,

                        Is there any way to deal with it without uninstalling extras, because i love it but i cant load my graph in monitoring tab>graph

                        Comment

                        • spaww
                          Senior Member
                          Zabbix Certified Specialist
                          • May 2009
                          • 178

                          #13
                          ZabbixSon,

                          What is the error message ? I not change the file "charts.php", so I think is not Zabbix Extras the problem.

                          Only for know... you install Zabbix -> Zabbix Extras 2.0 -> Zabbix Extras 2.1...
                          OR
                          Install Zabbix -> Zabbix Extras 2.1
                          ?
                          Adail Horst
                          OCA/OCP - Oracle Application Server
                          ZABBIX Certified Specialist
                          http://www.spinola.net.br/blog (Blog sobre Zabbix e tecnologia)

                          Comment

                          • ZabbixSon
                            Junior Member
                            • Nov 2014
                            • 17

                            #14
                            Hi SpawW, im installing zabbix extras 2.0 on my zabbix 2.2.6


                            in the tab Configuration > Hosts > and i clicked on graph, click an item graph and preview, only by doing this i can preview my graph of my item


                            i have this error when i click on Monitoring > Graph , tab..
                            Last edited by ZabbixSon; 12-02-2015, 04:23.

                            Comment

                            • spaww
                              Senior Member
                              Zabbix Certified Specialist
                              • May 2009
                              • 178

                              #15
                              You use this script to install ?


                              Look at error_log in apache... i think you will found more info in this log !
                              Adail Horst
                              OCA/OCP - Oracle Application Server
                              ZABBIX Certified Specialist
                              http://www.spinola.net.br/blog (Blog sobre Zabbix e tecnologia)

                              Comment

                              Working...