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

    • Sprint 84 (Jan 2022), Sprint 85 (Feb 2022)
    • 0.5

      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) - last(//mysql.innodb_os_log_written, #1:now-1h)) / {$MYSQL.INNODB_LOG_FILES}

            mchudinov Maxim Chudinov (Inactive)
            mchudinov Maxim Chudinov (Inactive)
            Team INT
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: