Short circuit evaluation with | not working

XMLWordPrintable

    • Type: Incident report
    • Resolution: Won't fix
    • Priority: Trivial
    • None
    • Affects Version/s: 1.8.13
    • Component/s: Server (S)
    • None
    • Environment:
      Debian Squeeze

      I have a zabbix trapper item, let's say "test1", character-type. Some cron job usually put "OK" and "ERROR" values in this item.
      Sometimes these cron jobs fail or don't run at all.

      I have an trigger like this

      test1.nodata(3600) | test.str(OK,3600)

      This trigger is ok when data comes is but the second term (str) fails if there is no data in the last hour.
      Even then this trigger should fire up an event because
      the first term evaluates to 1: "1 | Unknown" should still evaluate to 1, shouldn't it?

            Assignee:
            Unassigned
            Reporter:
            Marcus Röder
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: