vzaigrin / UniversalStorageCollector

tool for gathering performance information from different storage system
19 stars 2 forks source link

VPLEX UTC Time Zone #2

Closed eschek87 closed 7 years ago

eschek87 commented 7 years ago

Hi,

is there a way to change the time zone in the data that comes from vplex? I tried to change the time zone in the graphite conf file, but it ignores the setting. I need to have the times in utc+1. Vplex is configured touse our ntp servers. If i opened the vplex performance monitor webfrontend it shows the data in our local time. Do you have an idea?

Regards, Stephan

vzaigrin commented 7 years ago

You could setup Timezone in the dashboard setting in Grafana.

eschek87 commented 7 years ago

Do you mean this setting? It is already set to local browser time. But this did not change anything 2017-02-03 14_09_34-grafana - vplex

vzaigrin commented 7 years ago

Yes, if you set this value not to local browser time it should show correct time. I use this setting for my VPLEX and it works. vplex vplex2

eschek87 commented 7 years ago

Weird...Now it is 14:32. With local browser time it show the last value one hour back. Wit UTC it goes 2 hours back. 2017-02-03 14_32_02-grafana - vplex

vzaigrin commented 7 years ago

VPLEX displays date in UTC. Compare output of date command and last value in monitor file. vplex3

eschek87 commented 7 years ago

Yes sure. Both have UTC. That's why i ask if there is a way to add an hour...i thought this is possible with the graphite conf file local_settings.py but this changes nothing. Seems to ignore my setting. Maybe i will ask this on graphite site on github.

eschek87 commented 7 years ago

I have now set in local_settings.py and the system time of my ubuntu on utc. If i now use local browser time in grafana i got the right timestamps. Thanks for your help