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

Macro expansion for {EVENT.DATE} & {EVENT.TIME} has a problem when the user's profile setting is set to "System default"

XMLWordPrintable

    • S24-W28/29, S24-W34/35
    • 1

      Steps to reproduce:

      1. General Setting: Default time zone is "(UTC+09:00) Asia/Tokyo"
      2. User Profile Setting: Time zone is "System default: (UTC+09:00) Asia/Tokyo"
      3. A script for a "Manual event action" is set up as follows:
        echo "EVENT.DATE : " {EVENT.DATE}
        echo "EVENT.TIME : " {EVENT.TIME}
        

      Result:
      When executing the "Manual event action" script, {EVENT.DATE} and

      {EVENT.TIME} are expanded to "UTC+00:00" time instead of the specified time zone.
      Expected:
      Macros {EVENT.DATE} & {EVENT.TIME}

      should expand using the specified global or user time zone.

      Zabbix server will only use the specified global/user time zone when expanding macros in notifications (e.g. {EVENT.TIME} can expand to a different time zone per user) and for the time limit when notifications are sent (see "When active" setting in user media configuration).

      https://www.zabbix.com/documentation/6.0/en/manual/web_interface/time_zone

            mprihodko Mihails Prihodko
            yIn Syusei YIn
            Team B
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 8h Original Estimate - 8h
                8h
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 22h 4m
                22h 4m