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

Short circuit evaluation with | not working

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Won't fix
    • Icon: Trivial Trivial
    • None
    • 1.8.13
    • Server (S)
    • None
    • 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?

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

              Created:
              Updated:
              Resolved: