Ad Widget

Collapse

New HTML5 implementation to IT Services plotting on a tree graph

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • r-br
    Junior Member
    • Feb 2011
    • 27

    #1

    New HTML5 implementation to IT Services plotting on a tree graph

    Hello everyone,

    I'm a coworker of Felipe, and our team is developing a new version of the graph tree. The idea is the same, a graphical representation of the IT services. We only changed the implementation in three ways:
    • focused on Zabbix 2.x;
    • the interface, previously with a Java Applet, is now HTML5;
    • the daemon, previously in C, is now command line PHP.


    As an important move, we separated all the web code from the Zabbix PHP pages, to alleviate our maintenance problems (our team is very small and busy). The services are still created on the Zabbix IT Services page, but the weight/threshold setup is made on our standalone PHP interface. In the future, we plan to expand this currently limited functionality.

    The setup of both codes is trivial, you just need to edit the __conf.php files. The latest source code can be found on these GitHub repositories:
    • tree graph interface: https://github.com/rodrigofns/zabbix-service-tree
    • propagation daemon: https://github.com/rodrigofns/zabbix-service-tree-daemon


    The code which specifically renders the graph tree is a personal work of mine, and it's published on my own GitHub:
    • https://github.com/rodrigocfd/html5-tree-graph


    I attached some screenshots of the whole thing working. Worth mentioning that this is an ongoing work, not finished yet, but already functional. We are open to comments and suggestions.

    Thank you.
    Attached Files
  • richlv
    Senior Member
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Oct 2005
    • 3112

    #2
    will this be somehow covered at the zabbix conference 2013 or not ?
    Zabbix 3.0 Network Monitoring book

    Comment

    • exkg
      Senior Member
      Zabbix Certified Trainer
      Zabbix Certified Specialist
      • Mar 2007
      • 718

      #3
      Hi Rihards,

      Adail (from SERPRO) told me yes

      Its a great topic ...


      []s,
      Luciano
      --
      Luciano Alves
      www.zabbix.com
      Brazil | México | Argentina | Colômbia | Chile
      Zabbix Performance Tuning

      Comment

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

        #4
        Originally posted by richlv
        will this be somehow covered at the zabbix conference 2013 or not ?
        Hmmm... let-me think.... kkkkkkk

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

        Comment

        • Fatima R R Tonon
          Zabbix Certified Specialist
          Zabbix Certified Specialist
          • Oct 2004
          • 29

          #5
          The Rodrigo is the best guy to present this work !
          I would like to send him to present the Graph Tree, but i don't know if will possible.

          Comment

          • renato473
            Junior Member
            • Oct 2012
            • 8

            #6
            Good Very Nice Adail Sepro !

            Comment

            • andredeo
              Junior Member
              • May 2008
              • 19

              #7
              Rihards,

              I Will show the implementations from Brazilian guys , but just show, two slides ...
              Adail will talk about (probably) kkkk

              []'s

              Déo

              Comment

              • exkg
                Senior Member
                Zabbix Certified Trainer
                Zabbix Certified Specialist
                • Mar 2007
                • 718

                #8
                Fatima ... talvez consigamos fazer algo mais amplo sobre isso na proxima ZABBIX Conference ou no evento que estamos tentando trazer para o Brasil (durante a Latinoware). Acha possivel ?


                []s,
                Luciano
                --
                Luciano Alves
                www.zabbix.com
                Brazil | México | Argentina | Colômbia | Chile
                Zabbix Performance Tuning

                Comment

                • Fatima R R Tonon
                  Zabbix Certified Specialist
                  Zabbix Certified Specialist
                  • Oct 2004
                  • 29

                  #9
                  Sim. Podemos combinar algo para o Latinoware. Para o Fisl, cheguei a montar um simulador., mas não tinha demonstração no stand. Fico aguardando seu contato.

                  Comment

                  • klemens
                    Junior Member
                    • Apr 2013
                    • 7

                    #10
                    im trying to test you tool, ive edited __config.php with all data, but when i try to access the page i get this error:

                    Erro ao trazer o menu de login.
                    500: Internal Server Error

                    thanks in advanced.

                    Comment

                    • r-br
                      Junior Member
                      • Feb 2011
                      • 27

                      #11
                      Originally posted by klemens
                      Erro ao trazer o menu de login.
                      500: Internal Server Error
                      This error is coming from this:
                      Code:
                      var xhr = $.post('ajaxLoginMenu.php');
                      which is a really straightforward thing. It's just a regular post request, and this page doesn't even make database queries, it just checks the session. Can you load this page directly, by calling:
                      Code:
                      http://your-domain/ajaxLoginMenu.php
                      ?

                      Comment

                      • klemens
                        Junior Member
                        • Apr 2013
                        • 7

                        #12
                        i get this error:

                        PHP Parse error: syntax error, unexpected $end in /usr/local/share/zabbix/map/zabbix-service-tree-master/ajaxLoginMenu.php on line 16

                        strange is that i have just 15 lines, and there is no blank line in the end.

                        Comment

                        • r-br
                          Junior Member
                          • Feb 2011
                          • 27

                          #13
                          Originally posted by klemens
                          i get this error:

                          PHP Parse error: syntax error, unexpected $end in /usr/local/share/zabbix/map/zabbix-service-tree-master/ajaxLoginMenu.php on line 16

                          strange is that i have just 15 lines, and there is no blank line in the end.
                          That's a PHP parsing error, I really can't see where it came from.
                          Does your file look like this, with the closing bracket at end?


                          Note:
                          I'm currently working in the internationalization of the files, I expect to commit the change in a few days.

                          Comment

                          • klemens
                            Junior Member
                            • Apr 2013
                            • 7

                            #14
                            yeah its the same:

                            =$_SESSION['user']?></span> |
                            <a href="#" id="lnkLogoff" title="Efetuar logoff">Logoff</a>
                            </span>

                            <? }

                            Comment

                            • r-br
                              Junior Member
                              • Feb 2011
                              • 27

                              #15
                              Originally posted by klemens
                              yeah its the same:
                              Um... should it be the case that your PHP parser requires a blank line at the end of the file?
                              It should not, but anyway, try to add one, and see if it parses correctly.
                              Just hit ENTER at the end of the file to add a blank line.

                              Comment

                              Working...