Ad Widget

Collapse

Graphs using Google Visualization API Annotated Time Line

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jader.dias
    Junior Member
    • Mar 2010
    • 13

    #1

    Graphs using Google Visualization API Annotated Time Line

    Would be very nice if Zabbix showed us Flash graphs instead of the current one. Maybe it could be an option or plugin.

    The flash graph I like the most is the

    Google Visualization API: Annotated Time Line

  • nelsonab
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Sep 2006
    • 1233

    #2
    As neat as the graphs are they load a lot of the rendering responsibility on the client web browser. The current graphing functions in Zabbix perform the rendering on the server based on parameters sent. The Zabbix implimentation is useful in that the data used to create the graph is only transmitted from the DB to the server, and not the DB to the web browser as it would be using the Google API. I think it's cool, but I don't see it being very useful for Zabbix.
    RHCE, author of zbxapi
    Ansible, the missing piece (Zabconf 2017): https://www.youtube.com/watch?v=R5T9NidjjDE
    Zabbix and SNMP on Linux (Zabconf 2015): https://www.youtube.com/watch?v=98PEHpLFVHM

    Comment

    • jader.dias
      Junior Member
      • Mar 2010
      • 13

      #3
      @nelsonab

      My goal here is to improve the user experience and let him reach the data he wants as fast as possible.

      If you are concerned about rendering performance on the client side, let me assure you that there are workarounds for this, and there is a way to render any amount of data in the client side without making the browser to become unresponsive.

      Once you get used to the Annotated Time Line, you will not want to go back to the current Zabbix graph solution.

      Comment

      • richlv
        Senior Member
        Zabbix Certified Trainer
        Zabbix Certified SpecialistZabbix Certified Professional
        • Oct 2005
        • 3112

        #4
        once you try to use flash on linux for a prolonged period of time you'll take anything over flash graphs
        Zabbix 3.0 Network Monitoring book

        Comment

        • Alexei
          Founder, CEO
          Zabbix Certified Trainer
          Zabbix Certified SpecialistZabbix Certified Professional
          • Sep 2004
          • 5654

          #5
          Are you suggesting that all Zabbix users should rely on Google infrastructure, goodwill and availability of internet connection? No, thank you.

          Besides "My goal here is to improve the user experience and let him reach the data he wants as fast as possible." is not a valid argument because Zabbix spends most of the time on data retrieval not on rendering of a graph. Wait for the latest 1.8.2 to see how fast Zabbix graphs are!
          Alexei Vladishev
          Creator of Zabbix, Product manager
          New York | Tokyo | Riga
          My Twitter

          Comment

          • gpmidi
            Member
            • Aug 2009
            • 62

            #6
            Interactive Graphs

            I think the real message we should take is that it would be nice in the Zabbix graphs were interactive. If you could hover your mouse over a given data-point and see information about it or if you could scroll back and forth on the graphs it would be nice.
            -Paul

            Comment

            • richlv
              Senior Member
              Zabbix Certified Trainer
              Zabbix Certified SpecialistZabbix Certified Professional
              • Oct 2005
              • 3112

              #7
              Originally posted by gpmidi
              I think the real message we should take is that it would be nice in the Zabbix graphs were interactive. If you could hover your mouse over a given data-point and see information about it or if you could scroll back and forth on the graphs it would be nice.
              -Paul
              oh, definitely. and move mouse over legend to have series hilighted, hilight legend when mouse-overing series, click on legend to enable/disable individual series... probably highly, highly non-trivial to implement for all the browsers, though
              Zabbix 3.0 Network Monitoring book

              Comment

              • gpmidi
                Member
                • Aug 2009
                • 62

                #8
                Agreed

                Originally posted by richlv
                oh, definitely. and move mouse over legend to have series hilighted, hilight legend when mouse-overing series, click on legend to enable/disable individual series... probably highly, highly non-trivial to implement for all the browsers, though
                Yeah, but there may be open source libraries out there that can do it without relying on Google. Personally, I've never seen any. But that may change or I may have missed them.
                -Paul

                Comment

                • Aly
                  ZABBIX developer
                  • May 2007
                  • 1126

                  #9
                  Flash would be the last choice, from my point of view.
                  Zabbix | ex GUI developer

                  Comment

                  • richlv
                    Senior Member
                    Zabbix Certified Trainer
                    Zabbix Certified SpecialistZabbix Certified Professional
                    • Oct 2005
                    • 3112

                    #10
                    the last holdout for svg seems to have given in.

                    Microsoft Adopts SVG For Internet Explorer 9
                    An anonymous reader writes "SVG has been a published standard for almost a decade. Microsoft has had nothing to do with it, even while every other major browser adopted SVG as a supported format and interface. Just in the last few weeks, though, Microsoft has thrown a surprising amount of its weig...


                    there's also an interesting project from google which allows to render svg in ie using js :


                    that one unfortunately requires flash, but allows to use native svg in decent browsers.
                    Zabbix 3.0 Network Monitoring book

                    Comment

                    • zabbix_zen
                      Senior Member
                      • Jul 2009
                      • 426

                      #11
                      Impressive demos.

                      Linux Flash is still a mess.
                      Besides being 5x slower than it's Win counterpart, stability is also an issue( I'm not even talking about x86_64 version here).

                      Don't believe in silver bullets but maybe HTML5 will prove to be a viable alternative (Flash 10.1 is only faster if having access to GPU processing, which it still only has in Win), thought it will take close to 3 years for it to be massively used.

                      Though Zabbix users would welcome some face lift similar to this, I assume it just isn't businesslike in the short term.

                      Comment

                      • jader.dias
                        Junior Member
                        • Mar 2010
                        • 13

                        #12
                        I did it

                        I made a separate web app which reads from the Zabbix database and shows some flash graphics, with mouse hover effects and showing multiple variables simultaneously.

                        It was pretty easy using Google Visualization API.

                        Unfortunately I can't release the source code since it is owned by my company.

                        Comment

                        • untergeek
                          Senior Member
                          Zabbix Certified Specialist
                          • Jun 2009
                          • 512

                          #13
                          For my 2 cents, I like the current PHP implementation. There will always be room for improvement in any software system. It's the nature of continuing advancement. HTML5 sounds quite promising.

                          Is there any work being done to explore HTML5 and the graphs?

                          Comment

                          • richlv
                            Senior Member
                            Zabbix Certified Trainer
                            Zabbix Certified SpecialistZabbix Certified Professional
                            • Oct 2005
                            • 3112

                            #14
                            unfortunately, html5, canvas, svg and anything else interesting enough is not really an option until some older browsers are supported.
                            think certain browser from a certain huge company down to version 6. it's worse than any mythical creature and just won't die...
                            Zabbix 3.0 Network Monitoring book

                            Comment

                            Working...