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

Trigger issue when dealing with text

    XMLWordPrintable

    Details

    • Type: Incident report
    • Status: Closed
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 3.0.6
    • Fix Version/s: None
    • Component/s: Server (S)
    • Labels:
    • Environment:
      Ubuntu 16.04 LTS

      Description

      Hello,

      I have an item which is of type TEXT, when I create and test a trigger in the expression constructor it doesn't behave as expected.

      What I'm trying to do is alert when a text value doesn't change within a specific length of time.

      My trigger looks as follows: {HOST.ITEM.last()}={HOST.ITEM.last(#96)}

      I have also tried: {HOST.ITEM.last()}={HOST.ITEM.last(,86400)}

      When I test the expression with identical numerical values the result is TRUE, when I test with identical text values, the result is unexpectedly FALSE.

      i.e.

      {HOST.ITEM.last()} = 1
      {HOST.ITEM.last(#96)} = 1
      Result: TRUE

      However:
      {HOST.ITEM.last()} = abc
      {HOST.ITEM.last(#96)} = abc
      Result: FALSE

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              seannienaber@gmail.com Sean Nienaber
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: