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

Trigger issue when dealing with text

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Duplicate
    • Icon: Minor Minor
    • None
    • 3.0.6
    • Server (S)
    • Ubuntu 16.04 LTS

      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

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

              Created:
              Updated:
              Resolved: