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

time(0) function in trigger evaluation

    XMLWordPrintable

    Details

      Description

      Possible regression of:

      https://support.zabbix.com/browse/ZBX-2979

      I defined this expression as a trigger:

      {server1:system.cpu.util[,iowait].last(0)}

      >20 &

      {server1:system.cpu.util[,iowait].time(0)}

      > 090000

      However when I test this expression (say, with 07000), the expression always evaluates as TURE. In fact, it seems the only number I can get to evaluate as FALSE is 000000. Perhaps this is a problem with the leading zero in HHMMSS formats?

        Attachments

        1. screenshot.png
          screenshot.png
          15 kB
        2. screenshota.png
          screenshota.png
          15 kB
        3. screenshotb.png
          screenshotb.png
          15 kB
        4. screenshotc.png
          screenshotc.png
          15 kB

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            wkhql jack
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: