sexibytes / sexigraf

SexiGraf is a vSphere centric Graphite appliance with a Grafana frontend.
http://www.sexigraf.fr
MIT License
128 stars 21 forks source link

How to change timezone JST? #310

Closed maopan415 closed 1 year ago

maopan415 commented 2 years ago

Hi, SexyGraf is very nice monitorg tool.

I have a question, I want to change sexigraf timezone JST. I changed config file /etc/localtime, /etc/grafana/grafana.ini so sexigraf dashboard and status captured in vmw are changed timezone JST. but event infomation captured in vi are not change timezone. Only vi event information is displayed in UTC. How to change vi event information displayed in JST?

Do you have any ideas? thanks.

rschitz commented 2 years ago

Hi, thanks for your support!

You should leave the configuration in UTC and only change the timezone in the org configuration so the dashboards would inherit it:

image

rschitz commented 2 years ago

default is browser time BTW

maopan415 commented 2 years ago

Hi, thanks for help! I changed the server configuration in UTC and change the timezone in the org configuration. so The time display on the dashboard is changed, but the event occurrence time is displayed as UTC+9:00(timezone config) instead of the actual occurrence time.

The event actually occurred at 14:00, but displayed at 22:00 on the dashboard. How to fix it? Thanks.

image
rschitz commented 2 years ago

If you check any dashboard, does the timeline match your current timezone?

maopan415 commented 1 year ago

Hi, thanks for your help! I fixed vCenter Server timezone, so grafana timezone is fixed too Sorry, Thanks :)

rschitz commented 1 year ago

No problem, glad you found the issue ;)