NetXMS Support Forum

English Support => General Support => Topic started by: Meandmybrain on June 11, 2019, 11:56:55 AM

Title: Wrong time on linecharts
Post by: Meandmybrain on June 11, 2019, 11:56:55 AM
Hello,

when using netxms web-console, the time displayed in linecharts etc. is UTC, while on my clients it is CEST (UTC+2).
Both server and client are using ntp from the same timeserver.

I searched the forum and found some suggestions, but nothing didn´t work for me. Maybe I did something wrong and can´t find this error.
Here are the time settings for my netxms server:

Local time: Di 2019-06-11 09:50:25 CEST
Universal time: Di 2019-06-11 07:50:25 UTC
RTC time: Di 2019-06-11 07:50:25
Time zone: Europe/Berlin (CEST, +0200)
System clock synchronized: yes
systemd-timesyncd.service active: yes
RTC in local TZ: no

Settings on windows clients:

(UTC+01:00) Amsterdam, Berlin, Bern, Rom, Stockholm, Wien
settings for summertime are "automatic" and time is correct CEST
I also checked browsertime for IE11, Firefox and Chrome. It´s always CEST and at all of them the linecharts are showing UTC.
Netxms version is 2.2.13 on Ubuntu server 18.04 LTS.

Has anyone a helpful hint for me to solve this problem?

Thanks and greetings

M.
Title: Re: Wrong time on linecharts
Post by: Victor Kirhenshtein on June 12, 2019, 10:58:46 AM
Hi,

do you have web server on same machine as netxms server? What Java application server and Java version you are using?

Best regards,
Victor
Title: Re: Wrong time on linecharts
Post by: Meandmybrain on June 13, 2019, 02:58:09 PM
Hi Victor,

netxms server and webserver are on the same machine, web console is opened from various windows 10 clients.

Tomcat:
Server version: Apache Tomcat/8.5.39 (Ubuntu)
Server built:   Apr 10 2019 04:45:09 UTC
Server number:  8.5.39.0
OS Name:        Linux
OS Version:     4.15.0-51-generic
Architecture:   amd64
JVM Version:    11.0.3+7-Ubuntu-1ubuntu218.04.1

Java version:
openjdk version "11.0.3" 2019-04-16
OpenJDK Runtime Environment (build 11.0.3+7-Ubuntu-1ubuntu218.04.1)
OpenJDK 64-Bit Server VM (build 11.0.3+7-Ubuntu-1ubuntu218.04.1, mixed mode, sharing)

Best,
Sebastian