Ad Widget

Collapse

UNIX Time Stamp issue

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Tractorboy
    Member
    • Oct 2010
    • 98

    #1

    UNIX Time Stamp issue

    I have an issue in that i have data going into the database 1 hour ahead on the factual time.

    He is what I have

    1) a job that collects data into a file, the file includes the time the key was generated

    The code to create the time is
    TimeStamp = DateDiff("s", "01/01/1970 00:00:00",now())

    2) zabbix_sender then runs and posts the data to the zabbix server.
    3) The data is recieved with a time 1 hour ahead of the correct time.

    The only issue we have is with keys that have there data populated via zabbix sender where the time stamp is included.

    We believe the issue only started in the last few days, but cannot be absolutely sure.


    Can anyone offer ideas to the root cause please. We have had numerous looks at the server times exectra but no luck in resolving.


    This is of some importance any the time a metric happened is critical.

    Also the graphs are now only able to show data that is actually on hour old, so impossible to see current metrics in a graph.
Working...