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

Trigger issue when dealing with text

    XMLWordPrintable

Details

    • Incident report
    • Status: Closed
    • Minor
    • Resolution: Duplicate
    • 3.0.6
    • None
    • Server (S)
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: