Ad Widget

Collapse

Zabbix 1.6.1 Build 6097 - Custom Graphs do not refresh

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Palmertree
    Senior Member
    • Sep 2005
    • 746

    #1

    Zabbix 1.6.1 Build 6097 - Custom Graphs do not refresh

    Zabbix 1.6.1 Build 6097 - Custom Graphs do not refresh

    Custom graphs are not refreshing under Trunk version 6097. Back the frontend to 1.6.0 and graphs are now refreshing.
  • Palmertree
    Senior Member
    • Sep 2005
    • 746

    #2
    Also someone in my group reported that the custom graphs in 1.6.1 Build 6097 are do then following:

    The graph itself extended beyond the graph’s plot area (above).

    Comment

    • Palmertree
      Senior Member
      • Sep 2005
      • 746

      #3
      Found the problem for the custom graph refreshes. Modify the following in charts.php:

      Code:
      diff -ruN zabbix-original/frontends/php/charts.php zabbix/frontends/php/charts.php
      --- zabbix-original/frontends/php/charts.php    2008-10-02 02:34:01.000000000 -0400
      +++ zabbix/frontends/php/charts.php     2008-10-02 02:36:30.000000000 -0400
      @@ -30,6 +30,9 @@
      
              $page['type'] = detect_page_type(PAGE_TYPE_HTML);
      
      +        if(PAGE_TYPE_HTML == $page['type'])
      +                define('ZBX_PAGE_DO_REFRESH', 1);
      +
       include_once 'include/page_header.php';
      
       //             VAR                     TYPE    OPTIONAL FLAGS  VALIDATION      EXCEPTION

      Comment

      • Aly
        ZABBIX developer
        • May 2007
        • 1126

        #4
        Originally posted by Palmertree
        Also someone in my group reported that the custom graphs in 1.6.1 Build 6097 are do then following:

        The graph itself extended beyond the graph’s plot area (above).
        Screenshot would be nice

        I'm glad you've found how to refresh graphs . Don't you have problems with refreshing graphs while navigating? If you'll press reset button, then navigate to some period and wait till it refreshes.. if this is the only how url gets changed in graphs, then it could be fixed and "graph refresh" will retrun
        Zabbix | ex GUI developer

        Comment

        • amadriga
          Junior Member
          • Apr 2007
          • 20

          #5
          Something like this?

          I have this problem, any idea?
          Attached Files

          Comment

          Working...