Ad Widget

Collapse

Screens reloading

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • paco078
    Junior Member
    • Oct 2009
    • 1

    #1

    Screens reloading

    Hi all,

    I'm using zabbix from several months and I like it very much. It has perfect base set of templates and graphs to monitor. It is easy to setup a screen of graphs with vital parameters and monitor them. For my there is one serious problem with monitored screens RELOAD. Every time screen needs to refresh data(graphs) zabbix reloads entire HTML page. Usually I have 10-12 graphs per screen and reload happens too slow. This probably is not a problem, when reload pace is more than 30 sec. But if I want to do some real time monitoring, or follow an issue it is almost impossible, because time for reload is several times more, than time I have to see graphs.

    So do you plan to implement some smarter AJAX based logic to reload only graphs in a screen ? Such logic would make image graphs reload to look like animation without blinking and page refreshing . For me such feature would greatly improve zabbix monitoring experience.

    Cheers,
    Plamen
  • nelsonab
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Sep 2006
    • 1233

    #2
    My frist though is have you looked at mod deflate for Apache? I started using it on my Zabbix system and WOW!

    Also if you're wanting to reload a graph on a very frequent basis that's a lot of SQL load with the way graphs are currently generated. You might be better served with optimizing the graph generation code that's there now or write your own. Right now there are a few Joins and subqueries which if you did your own solution you might be able to do without.
    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

    • mischa9
      Junior Member
      • Mar 2010
      • 10

      #3
      I have to agree with paco078 on this point.

      We are monitoring 6 graphs on 1 screen and refreshing takes about up to 5 Seconds. It is quite annoying when your trying to read the information and analyse the Problem while the entire page refreshes and the structure of the page has to build up again.

      Just reloading the Graphs would surely speed up things.

      Comment

      • MrKen
        Senior Member
        • Oct 2008
        • 652

        #4
        To speed things up try tuning your database.

        I am currently looking at a screen with 6 graphs, at the bottom of each graph it says 'Generated in': the values are 0.03, 0.10, 0.03, 0.08, 0.02, 0.02 seconds. Hitting F5, the screen refreshes in the blink of an eye!

        MrKen
        Disclaimer: All of the above is pure speculation.

        Comment

        • mischa9
          Junior Member
          • Mar 2010
          • 10

          #5
          Some of my graphs need 3.6 s to generate.

          Have you got any tips on speeding up the DB?

          Comment

          • MrKen
            Senior Member
            • Oct 2008
            • 652

            #6
            Tips for tuning mysql. I hope you're using mysql.

            Use Innodb for the storage engine. In mysql, do 'show variables;' to check whether you are using Innodb or Myisam.

            Read these threads for tips, and check the mysql online docs to help demystify all the variables.





            Also, as nelsonab pointed out above, Apache mod_deflate can also speed things up http://www.zabbix.com/forum/showthread.php?t=14073

            Good Luck
            Disclaimer: All of the above is pure speculation.

            Comment

            Working...