Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-20396

Incorrect converting of last() function when import template 5.0 in Zabbix 6.0

    XMLWordPrintable

Details

    • Team INT
    • Sprint 84 (Jan 2022)
    • 0.5

    Description

      Steps to reproduce:

      1. Take MySQL template from repo https://git.zabbix.com/projects/ZBX/repos/zabbix/browse/templates/db/mysql_agent?at=refs%2Fheads%2Frelease%2F5.0
      2. Import into Zabbix 6.0

      Result:
      The formula in "Calculated value of innodb_log_file_size" item became (last(//mysql.innodb_os_log_written) - last(//mysql.innodb_os_log_written)) / {$MYSQL.INNODB_LOG_FILES}

      Expected:
      (last(//mysql.innodb_os_log_written) - first(//mysql.innodb_os_log_written, 1h)) / {$MYSQL.INNODB_LOG_FILES}

      Attachments

        Activity

          People

            mchudinov Maxim Chudinov
            mchudinov Maxim Chudinov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: