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

Incorrect trigger calculation with function last()

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Cannot Reproduce
    • Icon: Major Major
    • None
    • 6.0.0beta1
    • Server (S)
    • None
    • Zabbix 6.0.0alpha8 (latest master)
    • Sprint 82 (Nov 2021), Sprint 83 (Dec 2021)

      Steps to reproduce:

      1. Create item as system.sw.os from default template or any other item of type character with some large update interval
      2. Create trigger like: last(/Zabbix server/system.sw.os,#1)<>last(/Zabbix server/system.sw.os,#2) and length(last(/Zabbix server/system.sw.os))>0
        1. This is how it is defined in the default template for trigger "Operating system description has changed"

      Result:
      This trigger will fire after collecting first value

      Expected:
      It must not fire as we have no second value to evaluate last(#2)

            dotneft Alexey Pustovalov
            alexei Alexei Vladishev
            Team C
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: