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

Trigger is evaluated with data that does not exist in DB

    XMLWordPrintable

    Details

    • Type: Problem report
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 2.2.20, 3.0.11
    • Fix Version/s: None
    • Component/s: Server (S)
    • Labels:
      None
    • Team:
      Team A
    • Sprint:
      Sprint 18
    • Story Points:
      0.25

      Description

      Even if it has been removed from the DB, Values does not disappear from the ValueCache.

      There is a possibility of trigger evaluation. (Trigger like .last(#2))

      Steps to reproduce :
      1. Create a trigger.

      ({HOST:icmpping[127.0.0.1,,,100,].last(#3)}=0 & {HOST:icmpping[127.0.0.1,,,100,].last(0)}=1)
      

      2. Change item and receive 1 to 0.

      icmpping[127.0.0.1,,,100,] -> icmpping[128.0.0.1,,,100,]
      

      3. Change item and receive 1.
      Then, Click a 'Clear history and trends' and remove all history datas
      4. Next first time check, 'last(#3)' will evaluated.

      If set to ValueCacheSize=0, It does not reproduce.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            JKKim Kim Jongkwon
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: