Ad Widget

Collapse

Zabbix Trunk : Fixed Graphs not Fixed

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • grahamf
    Junior Member
    • May 2007
    • 11

    #1

    Zabbix Trunk : Fixed Graphs not Fixed

    Using the latest trunk source, my fixed graphs are not using the exact value I specify for the max. e.g. If I specify a max of 100, the graph goes from 0 to 120. If I specify a max of 50, the graph shows 0 to 60.

    I am using a database that was upgraded from Zabbix 1.4.6 using the patch.sql that is created from make dist.

    There is nothing untoward in the GRAPHS table (I am using MySQL). The yaxistype is set to 1, the yaxismin is 0.000 and yaxismax is set to 100.000. I can change these values through the UI, and the values stick.

    Graham
  • Aly
    ZABBIX developer
    • May 2007
    • 1126

    #2
    Happens only with int values. Thank you, fixed.
    Zabbix | ex GUI developer

    Comment

    • grahamf
      Junior Member
      • May 2007
      • 11

      #3
      Is it available in SVN now, and if so which files changed in the fix (so that I can test this out).

      Comment

      • Aly
        ZABBIX developer
        • May 2007
        • 1126

        #4
        rev. 6019, chart.inc.php.
        Zabbix | ex GUI developer

        Comment

        • grahamf
          Junior Member
          • May 2007
          • 11

          #5
          That fix didn't work, but duplicating the code fragment for the ITEM_VALUE_TYPE_FLOAT case immediately below did.

          Comment

          • Aly
            ZABBIX developer
            • May 2007
            • 1126

            #6
            Fixed for float values too.
            Zabbix | ex GUI developer

            Comment

            Working...