somsakc / docker-observium

Docker container for Observium Community Edition
GNU General Public License v3.0
79 stars 52 forks source link

Wrong Time Zone in Graphs #32

Closed jiimint closed 8 months ago

jiimint commented 1 year ago

Hello I have a problem with the time zone I have set the variable TZ=Europe/Athens in both observiumdb: and observiumap: but my graphs show 3 hours behind. The observium itself has the correct time from the ip I log in to. Is there any solution about it?

somsakc commented 8 months ago

I revised amd64/observium-init.sh file by updating /etc/timezone and /etc/localtime in container image whenever TZ environment is specified. It will effect to rrd graph.

Hopefully, it could fix your facing problem.