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

Zabbix trigger "Expression constructor" | Time() and dayofweek() metrics

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Won't fix
    • Icon: Trivial Trivial
    • None
    • 5.4.10, 5.4.11, 6.0.1, 6.0.2
    • None
    • None

      Hi guys.

      1. Im usig triggers with time() and dayofweek() metrics.
      2. I want to test the trigger with "expression constructor"
      3. Can't change time or days at test windows

       

      Trigger:

      last(xyz/system.hw.serialnumber[xyz])=0 and time()>007000 and time()<090000 and dayofweek()=1-5

       

      Problem: Zabbix expression constructor will take this metrics (time and dayofweek) from actual time and date, so if you wanna test midnight trigger you need to realy try it at midnight...with days is same.

       

            igorbach Igor Gorbach
            pavlikradek Radek Pavlík
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: