Ad Widget

Collapse

Zabbix Time zone/Timestamp issue in notification messages.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Iciclebar
    Junior Member
    • Apr 2022
    • 7

    #1

    Zabbix Time zone/Timestamp issue in notification messages.

    We use Zabbix in conjunction with Datadog in our environment. Zabbix is currently sending events to Datadog which is managing communication and data aggregation between our server and serverless environments.

    When an alert comes from Zabbix it has 2 time entries.
    1. Timestamp in the Body
    2. Timestamp on the event


    With all Configs set to America/Chicago (UTC-5) It shows the message body timestamp correctly but the timestamp on the event is showing that it happened 5 hours in the past. Datadog shows the message as happening 5h ago even though it just arrived.

    Click image for larger version  Name:	UserUTC-5_GuiUTC-5.png Views:	7 Size:	51.9 KB ID:	443490

    The epoch timestamp on the event is 1650533883000
    Assuming that this timestamp is in milliseconds:
    GMT: Thursday, April 21, 2022 9:38:03 AM
    Your time zone: Thursday, April 21, 2022 4:38:03 AM GMT-05:00 DST
    Relative: 9 hours ago



    Altering the user to UTC and leaving the GUI at UTC-5 Provides the following Result. The Event timestamp is properly interpreted, but now the message body is in utc.

    Click image for larger version  Name:	UserUTC_GuiUTC-5.png Views:	7 Size:	53.3 KB ID:	443492

    Epoch timestamp is 1650552123000
    Assuming that this timestamp is in milliseconds:
    GMT: Thursday, April 21, 2022 2:42:03 PM
    Your time zone: Thursday, April 21, 2022 9:42:03 AM GMT-05:00 DST
    Relative: 4 hours ago




    Is it not possible to bring these timestamps into line so I can get local time in my message body and in the event timestamp as well? or is there something else I should be looking for on the server?

    Thanks
    Last edited by Iciclebar; 21-04-2022, 21:59.
Working...