Ad Widget

Collapse

Server time

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • devboy
    Junior Member
    • Oct 2010
    • 11

    #1

    Server time

    Hi,

    I'm trying to design conditional triggers with values that differ based on time of day. I've seen the examples in the docs, but I can't find any reference to the timezone the server uses. When viewing the data in the browser I always see it in my timezone.

    1. I am assuming server saves data in UTC. Would that be a fair assumption?
    2. What time format does the time() function in the triggers use?
    3. Can I change the displayed timezone(in my browser) somehow? Preferably to UTC.

    Cheers,
    DB
  • devboy
    Junior Member
    • Oct 2010
    • 11

    #2
    So turns out I was wrong...

    Not sure what goes into Zabbix's DB, but when calculating time() in triggers, it uses the local machine time.

    I am wondering if there is a way to change that? I.e. to make the server work in UTC (other than to change underlying server clock).

    Cheers,
    DB

    Comment

    Working...