Ad Widget

Collapse

1.8.5 dashboard stuck at "Loading..."

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • linuxgurugamer
    Member
    • Oct 2010
    • 66

    #1

    1.8.5 dashboard stuck at "Loading..."

    I've made a clean install of 1.8.5; for various reasons I've configured Apache to use port 800; and while the servers and agents are working, the dashboard gets stuck with the following items showing "Loading..."
    Status of Zabbix
    System status
    Host status
    Last 20 issues
    Web monitoring

    When I install the 1.8.3 frontend, it works well, so I know that the server is working.

    Apache is working, PHP is working, there are no errors in the log files. The access.log has the following.

    This is on a Scientific Linux 5.6 system, essentially the same as a RHEL 5.6 system.

    Any ideas?

    Thanks in advance

    192.168.122.1 - - [07/Jul/2011:15:02:28 -0400] "GET /zabbix/dashboard.php?sid=dd5a89e1d16d398d HTTP/1.1" 200 27073 "http://localhost:800/zabbix/overview.php?sid=dd5a89e1d16d398d" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:5.0) Gecko/20100101 Firefox/5.0"
    192.168.122.1 - - [07/Jul/2011:15:02:28 -0400] "GET /zabbix/jsLoader.php?ver=1.8.5&lang=en_gb&files[]=class.pmaster.js HTTP/1.1" 304 - "http://localhost:800/zabbix/dashboard.php?sid=dd5a89e1d16d398d" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:5.0) Gecko/20100101 Firefox/5.0"
    192.168.122.1 - - [07/Jul/2011:15:02:28 -0400] "GET /zabbix/jsLoader.php?ver=1.8.5&lang=en_gb HTTP/1.1" 304 - "http://localhost:800/zabbix/dashboard.php?sid=dd5a89e1d16d398d" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:5.0) Gecko/20100101 Firefox/5.0"
    192.168.122.1 - - [07/Jul/2011:15:02:28 -0400] "GET /zabbix/images/general/chart.png HTTP/1.1" 200 3432 "http://localhost:800/zabbix/dashboard.php?sid=dd5a89e1d16d398d" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:5.0) Gecko/20100101 Firefox/5.0"
    192.168.122.1 - - [07/Jul/2011:15:02:28 -0400] "GET /zabbix/images/general/bttn/config.png HTTP/1.1" 200 324 "http://localhost:800/zabbix/styles/div.css" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:5.0) Gecko/20100101 Firefox/5.0"
    192.168.122.1 - - [07/Jul/2011:15:02:28 -0400] "GET /zabbix/images/general/bttn/menu.png HTTP/1.1" 200 274 "http://localhost:800/zabbix/styles/div.css" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:5.0) Gecko/20100101 Firefox/5.0"
    192.168.122.1 - - [07/Jul/2011:15:02:28 -0400] "GET /zabbix/images/general/bttn/arrowup.png HTTP/1.1" 200 371 "http://localhost:800/zabbix/styles/div.css" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:5.0) Gecko/20100101 Firefox/5.0"
    192.168.122.1 - - [07/Jul/2011:15:02:28 -0400] "POST /zabbix/jsrpc.php?output=json-rpc HTTP/1.1" 200 383 "http://localhost:800/zabbix/dashboard.php?sid=dd5a89e1d16d398d" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:5.0) Gecko/20100101 Firefox/5.0"
    192.168.122.1 - - [07/Jul/2011:15:08:56 -0400] "GET /zabbix/dashboard.php?sid=dd5a89e1d16d398d HTTP/1.1" 200 27050 "http://localhost:800/zabbix/dashboard.php?sid=dd5a89e1d16d398d" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:5.0) Gecko/20100101 Firefox/5.0"
    192.168.122.1 - - [07/Jul/2011:15:08:56 -0400] "GET /zabbix/jsLoader.php?ver=1.8.5&lang=en_gb&files[]=class.pmaster.js HTTP/1.1" 304 - "http://localhost:800/zabbix/dashboard.php?sid=dd5a89e1d16d398d" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:5.0) Gecko/20100101 Firefox/5.0"
    192.168.122.1 - - [07/Jul/2011:15:08:56 -0400] "GET /zabbix/jsLoader.php?ver=1.8.5&lang=en_gb HTTP/1.1" 304 - "http://localhost:800/zabbix/dashboard.php?sid=dd5a89e1d16d398d" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:5.0) Gecko/20100101 Firefox/5.0"
    192.168.122.1 - - [07/Jul/2011:15:08:56 -0400] "POST /zabbix/jsrpc.php?output=json-rpc HTTP/1.1" 200 383 "http://localhost:800/zabbix/dashboard.php?sid=dd5a89e1d16d398d" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:5.0) Gecko/20100101 Firefox/5.0"
  • linuxgurugamer
    Member
    • Oct 2010
    • 66

    #2
    Problem lines found

    I have been able to isolate the problem to the following file:

    jsLoader.php

    The problem is the following set of lines which have been added since 1.8.3:

    $jsLength = strlen($js);
    $ETag = md5($jsLength);
    if(isset($_SERVER['HTTP_IF_NONE_MATCH']) && $_SERVER['HTTP_IF_NONE_MATCH'] == $ETag){
    header('HTTP/1.1 304 Not Modified');
    header('ETag: '.$ETag);
    exit();
    }

    When I comment these lines out, the dashboard works properly.

    Any developers have a comment?


    JBB

    Comment

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

      #3
      hmm... i seem to recall that this was added to avoid reloading javascript files all the time and allow browsers to properly cache them...

      but there's no comment to indicate what that part is supposed to do

      could you please file a bugreport anyway ?
      thanks.
      Zabbix 3.0 Network Monitoring book

      Comment

      • linuxgurugamer
        Member
        • Oct 2010
        • 66

        #4
        Bug report

        Ummm, how? I'm not a paid user, and the link seems to require someone having a paid contract.

        Comment

        • ghoz
          Senior Member
          • May 2011
          • 204

          #5
          nah, you just have to create an account on their jira system

          Comment

          Working...