ZABBIX BUGS AND ISSUES
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-4038

maximum number of days to keep history and trends for

    Details

      Description

      Suppose we wish to keep history and trends forever. In that case, we wish to enter the maximum value into "Keep history" and "Keep trends" fields in item configuration. However, it is unclear what the maximum value is.

      It turns out that the maximum value is 65535 days (by the way, why?), but it would be nice if the GUI would help the user to find that value. Currently, it allows to enter an eight digit number into both fields and then complains:

      • Warning. Incorrect value for [history]
      • Warning. Incorrect value for [trends]

        Activity

        Hide
        Aleksandrs Saveljevs added a comment -

        Same problem for "Refresh unsupported items (in sec)" configuration parameter in "Administration" -> "General" -> "Other".

        Show
        Aleksandrs Saveljevs added a comment - Same problem for "Refresh unsupported items (in sec)" configuration parameter in "Administration" -> "General" -> "Other".
        Hide
        Toms added a comment -

        Fixed in dev. branch: svn://svn.zabbix.com/branches/dev/ZBX-4038

        Show
        Toms added a comment - Fixed in dev. branch: svn://svn.zabbix.com/branches/dev/ZBX-4038
        Hide
        Alexey Fukalov added a comment - - edited

        This should be somehow done without passing error messages as parameter to "check_fields" function.

        <Toms> RESOLVED in r26162

        Show
        Alexey Fukalov added a comment - - edited This should be somehow done without passing error messages as parameter to "check_fields" function. <Toms> RESOLVED in r26162
        Hide
        Alexey Fukalov added a comment - - edited

        (1)
        I think there is unused code left in validate.inc.php for $caption2.
        Check for range numbers can be done with one regexp instead of two.
        Translation strings shouldn't be separated.

        <Toms> RESOLVED in r26272

        <Vedmak> CLOSED

        Show
        Alexey Fukalov added a comment - - edited (1) I think there is unused code left in validate.inc.php for $caption2. Check for range numbers can be done with one regexp instead of two. Translation strings shouldn't be separated. <Toms> RESOLVED in r26272 <Vedmak> CLOSED
        Hide
        Alexey Fukalov added a comment - - edited

        (2)
        In graphs.php ZBX_MN_WIDTH is used for both width and height, and tbh i don't like constant name, as it's too general.

        <Toms> RESOLVED in r26272

        <Vedmak> CLOSED

        Show
        Alexey Fukalov added a comment - - edited (2) In graphs.php ZBX_MN_WIDTH is used for both width and height, and tbh i don't like constant name, as it's too general. <Toms> RESOLVED in r26272 <Vedmak> CLOSED
        Hide
        Alexey Fukalov added a comment - - edited

        (3)
        At some places numbers were changed to constants at some were not.
        Also different constants should be used for different fields.

        <Toms> Point them out please.

        <Toms> We came to agreement that constants will be added later. RESOLVED in r26272

        <Vedmak> CLOSED

        Show
        Alexey Fukalov added a comment - - edited (3) At some places numbers were changed to constants at some were not. Also different constants should be used for different fields. <Toms> Point them out please. <Toms> We came to agreement that constants will be added later. RESOLVED in r26272 <Vedmak> CLOSED
        Hide
        Alexey Fukalov added a comment - - edited

        (4)
        Nice error message is shown only for "warnings" probably should be same for "criticals".

        <Toms> RESOLVED in r26272

        <Vedmak> CLOSED

        Show
        Alexey Fukalov added a comment - - edited (4) Nice error message is shown only for "warnings" probably should be same for "criticals". <Toms> RESOLVED in r26272 <Vedmak> CLOSED
        Hide
        Alexey Fukalov added a comment - - edited

        (5)
        Also it should work even if between check is combined with with other checks i.e. regexp should not match whole string only.

        <Toms> RESOLVED in r26272

        <Vedmak> CLOSED

        Show
        Alexey Fukalov added a comment - - edited (5) Also it should work even if between check is combined with with other checks i.e. regexp should not match whole string only. <Toms> RESOLVED in r26272 <Vedmak> CLOSED
        Hide
        Alexey Fukalov added a comment - - edited

        Also sync with trunk please, there are some conflicts.

        <Toms> RESOLVED in r26272

        <Vedmak> CLOSED

        Show
        Alexey Fukalov added a comment - - edited Also sync with trunk please, there are some conflicts. <Toms> RESOLVED in r26272 <Vedmak> CLOSED
        Hide
        Alexey Fukalov added a comment -

        (6)
        Seems wrong lines were removed in nodes.php after merge.

        Show
        Alexey Fukalov added a comment - (6) Seems wrong lines were removed in nodes.php after merge.
        Hide
        Alexey Fukalov added a comment - - edited

        (7)
        in chart7.php "BETWEEN(_PERIOD,ZBX_MAX_PERIOD),"
        Same in chart6.php, chart3.php, chart2.php, chart.php and more..

        Show
        Alexey Fukalov added a comment - - edited (7) in chart7.php "BETWEEN(_PERIOD,ZBX_MAX_PERIOD)," Same in chart6.php, chart3.php, chart2.php, chart.php and more..
        Hide
        Alexey Fukalov added a comment -

        (8)
        Use of undefined constant _PORT_NUMBER - assumed '_PORT_NUMBER' [include/validate.inc.php:616]
        Incorrect interface port "10050" provided. [CHost.update -> CHostInterface.replaceHostInterfaces -> CHostInterface.checkInput]

        When update host.

        Show
        Alexey Fukalov added a comment - (8) Use of undefined constant _PORT_NUMBER - assumed '_PORT_NUMBER' [include/validate.inc.php:616] Incorrect interface port "10050" provided. [CHost.update -> CHostInterface.replaceHostInterfaces -> CHostInterface.checkInput] When update host.
        Hide
        Toms added a comment -

        RESOLVED from fresh start: svn://svn.zabbix.com/branches/dev/ZBX-4038-2

        Show
        Toms added a comment - RESOLVED from fresh start: svn://svn.zabbix.com/branches/dev/ZBX-4038-2
        Hide
        Alexey Fukalov added a comment - - edited

        (9)
        Parse error: syntax error, unexpected ';', expecting ')' in /home/vedmak/public_html/trunk1/frontends/php/items.php on line 194

        When open items list.

        <Toms> RESOLVED in r26423

        <Vedmak> CLOSED

        Show
        Alexey Fukalov added a comment - - edited (9) Parse error: syntax error, unexpected ';', expecting ')' in /home/vedmak/public_html/trunk1/frontends/php/items.php on line 194 When open items list. <Toms> RESOLVED in r26423 <Vedmak> CLOSED
        Hide
        Toms added a comment -

        Fixed in 2.0.0rc3 r26425

        Show
        Toms added a comment - Fixed in 2.0.0rc3 r26425

          People

          • Assignee:
            Toms
            Reporter:
            Aleksandrs Saveljevs
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: