Uploaded image for project: 'ZABBIX FEATURE REQUESTS'
  1. ZABBIX FEATURE REQUESTS
  2. ZBXNEXT-1894

Logical operations in trigger expression can be defined even with undefined second part of expression

XMLWordPrintable

    • Icon: New Feature Request New Feature Request
    • Resolution: Won't fix
    • Icon: Minor Minor
    • None
    • 2.0.8
    • Server (S)
    • None

      If I have zabbix trap for some action (i.e. daily dump of mysql database) with exitcode of that action as trap value, then I cannot configure trigger with alarm on "no successful dumps last N days". I can only create trigger "no traps received last N days" (using "nodata()") and "all dumps last N days were unsuccessful" (this trigger will fall to unknown state if no traps received during this period).
      On expression

      {host:item.nodata(600)}

      >0 |

      {host:item.min(600)}

      >0
      we may not check second expression if first one is true, and assume value for this trigger to "true" if there was no data last 600 seconds.
      Then, on expression "a & b" we do not need to evaluate "b" if "a" is false.
      Is it possible to implement such logic in zabbix?

            Unassigned Unassigned
            pgulchuk Pavel
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: