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

time_shift in trigger functions doesn't support DST

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Unresolved
    • Icon: Trivial Trivial
    • None
    • 2.0.9
    • Server (S)

      time_shift parameter in trigger functions doesn't support time zones, so if you have a trigger expression with a time_shit parameter longer than a day, this can be a problem.

      Here is an example:

      sum(3600)-sum(3600,604800)

      This trigger checks the absolute difference of the sum in the last hour and the sum of that same hour 7 days ago (3600*24*7=604800), so if the time zone changes during that week, the sum(3600,604800) will either use one hour earlier or later than the current hour.

            Unassigned Unassigned
            kustodian Strahinja Kustudic
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: