Ad Widget

Collapse

New HTML5 implementation to IT Services plotting on a tree graph

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • bezarsnba
    Member
    • Aug 2013
    • 39

    #31
    E ai Galera

    Antes de tudo quero parabenizar pelo projeto, mas se puder me ajudar.

    Eu estou tentanto implementar esta funcionalidade, ele esta pedindo usuário e senha coloco o do Zabbix e mesmo assim não esta conseguindo autenticar.

    Verifiquei no log do apache e encontrei a seguinte mensagem:

    [Wed Nov 27 16:12:09 2013] [error] [client ::1] client denied by server configuration: /usr/share/zabbix/api/api_jsonrpc.php
    [Wed Nov 27 16:12:09 2013] [error] [client 192.168.12.66] PHP Notice: Use of undefined constant user - assumed 'user' in /usr/share/zabbix/zabbix-service-tree/ajaxLogin.php on line 27, referer: http://200.187.79.196/zabbix/zabbix-service-tree/
    [Wed Nov 27 16:12:09 2013] [error] [client 192.168.12.66] Login no Zabbix falhou para o usu\xc3\xa1rio Admin., referer: http://200.187.79.196/zabbix/zabbix-service-tree/

    Valeu

    Beza

    Comment

    • syndeysider
      Senior Member
      • Oct 2013
      • 115

      #32
      Great tool

      Very nice tool!

      I can display the IT services but cannot login?

      MySQL 5.5
      Zabbix 2.0.7

      Apache error log :
      [Mon Jan 06 09:46:07 2014] [error] [client ::1] script '/opt/zabbix/web/api/api_jsonrpc.php' not found or unable to stat
      [Mon Jan 06 09:46:07 2014] [error] [client 192.168.x.x] PHP Notice: Use of undefined constant user - assumed 'user' in /opt/zabbix-repo/code_development/zabbix-service-tree/ajaxLogin.php on line 27, referer: http://xxx.xxx.xxx.au/zabbix/zabbix-service-tree/
      [Mon Jan 06 09:46:07 2014] [error] [client 192.168.5.15] Zabbix login failed for user fakeuser., referer: http://xxx.xxx.xxx.au/zabbix/zabbix-service-tree/

      Attached is pic of PHP error (with Errors enabled).

      Comment

      • r-br
        Junior Member
        • Feb 2011
        • 27

        #33
        Originally posted by bezarsnba
        [Wed Nov 27 16:12:09 2013] [error] [client 192.168.12.66] PHP Notice: Use of undefined constant user - assumed 'user' in /usr/share/zabbix/zabbix-service-tree/ajaxLogin.php on line 27, referer: http://200.187.79.196/zabbix/zabbix-service-tree/
        Originally posted by syndeysider
        [Mon Jan 06 09:46:07 2014] [error] [client ::1] script '/opt/zabbix/web/api/api_jsonrpc.php' not found or unable to stat
        [Mon Jan 06 09:46:07 2014] [error] [client 192.168.x.x] PHP Notice: Use of undefined constant user - assumed 'user' in /opt/zabbix-repo/code_development/zabbix-service-tree/ajaxLogin.php on line 27, referer: http://xxx.xxx.xxx.au/zabbix/zabbix-service-tree/
        There was a minor syntax error (I forgot the quotes surrounding a string...), and I've just commited the fix on the repo. Please check if it worked.

        Thanks for the feedback.

        Comment

        • syndeysider
          Senior Member
          • Oct 2013
          • 115

          #34
          still unable to login.

          Does the web form support LDAP based authentication?

          Keep getting 401: Unauthorized errors. I am able to login to the Zabbix Interface without issues.

          Comment

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

            #35
            Please,

            Try to install using: https://www.zabbix.com/forum/showthread.php?t=44411

            And check if the problem persists !
            Adail Horst
            OCA/OCP - Oracle Application Server
            ZABBIX Certified Specialist
            http://www.spinola.net.br/blog (Blog sobre Zabbix e tecnologia)

            Comment

            • andrea.consadori
              Member
              • Apr 2013
              • 94

              #36
              hi, i try with zabbix 2.2.5 and i get

              Code:
              [Thu Aug 07 17:36:59 2014] [error] [client 172.31.250.9] PHP Parse error:  syntax error, unexpected end of file in /usr/share/zabbix/extras/service-tree/i18n/i18n.php on line 51, referer: http://192.168.0.99/zabbix/zbxe-arvore.php?ddreset=1&sid=7b95be420555bcaa

              Comment

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

                #37
                Hi Andrea,

                Probably, you need to change your php.ini ( short_open_tag = on) and restart apache.


                Originally posted by andrea.consadori
                hi, i try with zabbix 2.2.5 and i get

                Code:
                [Thu Aug 07 17:36:59 2014] [error] [client 172.31.250.9] PHP Parse error:  syntax error, unexpected end of file in /usr/share/zabbix/extras/service-tree/i18n/i18n.php on line 51, referer: http://192.168.0.99/zabbix/zbxe-arvore.php?ddreset=1&sid=7b95be420555bcaa
                Adail Horst
                OCA/OCP - Oracle Application Server
                ZABBIX Certified Specialist
                http://www.spinola.net.br/blog (Blog sobre Zabbix e tecnologia)

                Comment

                • andrea.consadori
                  Member
                  • Apr 2013
                  • 94

                  #38
                  Originally posted by spaww
                  Hi Andrea,

                  Probably, you need to change your php.ini ( short_open_tag = on) and restart apache.
                  thanks, now is working

                  Comment

                  • mausampaio
                    Junior Member
                    • Sep 2014
                    • 1

                    #39
                    I have the following problem ... I'm having trouble logging in, when I try to say that the user is not compatible. Also I can only present a unique service on the screen the child services do not appear.

                    I'm using the latest version of Zabbix 2.0-Extras.



                    Comment

                    • monica
                      Junior Member
                      Zabbix Certified Specialist
                      • May 2014
                      • 1

                      #40
                      Zabbix Tree Service login failed

                      I obtain the same error.
                      Any idea of what happen?

                      Comment

                      • edgdelgado
                        Junior Member
                        Zabbix Certified Specialist
                        • Jul 2013
                        • 19

                        #41
                        For me, I can't see the list of services.

                        Extras 2.1 + Zabbix 2.4.1

                        at the tree loading
                        [Fri Feb 20 10:09:25.912258 2015] [php5:error] [pid 19990] [client ------:63175] The 5 additional tables will be created in Zabbix database., referer: http://-----/zabbix/zbxe-arvore.php?ddreset=1&sid=9d4e152649ebda58

                        Login
                        [php5:error] [pid 19974] [client -----:63198] PHP Warning: Attempt to assign property of non-object in /usr/share/zabbix/extras/service-tree/inc/Zabbix.class.php on line 125, referer: http://-----/zabbix/extras/service-tree/index.php

                        Comment

                        • Bruno Carvalho
                          Member
                          • Oct 2014
                          • 32

                          #42
                          Hi! I'm with the same problem edgdelgado
                          Zabbix version: Zabbix 2.4.1

                          the 5 tables are already in the database

                          service_alert
                          service_icon
                          service_showtree
                          service_threshold
                          service_weight
                          Last edited by Bruno Carvalho; 25-02-2015, 16:43.

                          Comment

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

                            #43
                            Originally posted by Bruno Carvalho
                            Hi! I'm with the same problem edgdelgado
                            Zabbix version: Zabbix 2.4.1

                            the 5 tables are already in the database

                            service_alert
                            service_icon
                            service_showtree
                            service_threshold
                            service_weight
                            This zabbix install... is using packages or source ?
                            Adail Horst
                            OCA/OCP - Oracle Application Server
                            ZABBIX Certified Specialist
                            http://www.spinola.net.br/blog (Blog sobre Zabbix e tecnologia)

                            Comment

                            • Bruno Carvalho
                              Member
                              • Oct 2014
                              • 32

                              #44
                              I installed using the pack, the following screens are bug with "Items not supported" it lists more does not fall in the unsupported item on the screen, but I am at the moment, the SNMP Builder does not work as it should.

                              I believe that this can is on my web install, my frontend is right in apache root context, it may be that my problems?

                              ex: http://localhost/ - opens my zabbix login

                              Comment

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

                                #45
                                Originally posted by mausampaio
                                I have the following problem ... I'm having trouble logging in, when I try to say that the user is not compatible. Also I can only present a unique service on the screen the child services do not appear.

                                I'm using the latest version of Zabbix 2.0-Extras.



                                You have Zbx 2.4 too ?
                                I dont know if Tree plugin still compatible with old version of Zabbix.
                                Adail Horst
                                OCA/OCP - Oracle Application Server
                                ZABBIX Certified Specialist
                                http://www.spinola.net.br/blog (Blog sobre Zabbix e tecnologia)

                                Comment

                                Working...