Page 1 of 2

Nagios Graph Explorer - Problem with client side timezone

Posted: Fri Jul 19, 2013 12:07 am
by John12
Hi,

My Host ver: Centos 5.9 64bit
NagiosXI ver: Nagios XI 2012R2.2 VM running under vmware workstation.

Firstly, i would like to thanks "mike guthrie" for developing great Nagios graph Explorer.
My Problem is i have server to monitor located in EST timezone. and i need to monitor it from IST timezone. Now, i setup timezone to EST in nagiosxi server. All service detail performance graphs timezone are correct.
But when i look at the Graph Explorer, services graph. it somehow detecting my IST timezone and display there instead of monitoring servers EST timezone. (The one i see in service detail-> host services -> performance graph)

Hope you have understood my question and provide a way to make fixed timezone in Nagios Graph explorer.
I am ready to provide any further detail you required to fix the issue.

Thanks and regards,
John.

Re: Nagios Graph Explorer - Problem with client side timezon

Posted: Fri Jul 19, 2013 1:19 pm
by abrist
Can you do me a favor and check to make sure the server time is correct by following the document below:
http://assets.nagios.com/downloads/nagi ... m_Time.pdf
The graphs are generated from unix time stamps delivered in json. This should not be affected by client-side time settings, only by the time on the XI server.

Re: Nagios Graph Explorer - Problem with client side timezon

Posted: Sun Jul 21, 2013 1:44 am
by John12
Hi,
I already viewed that pdf and setup timezone in nagiosxi server VM accordingly.

I am attaching 3 screenshot for your view.
1. NagiosXI server system profile.
2. IST timezone. ( From where i monitor my servers )
3. EST timezone. ( Where the Host server running nagiosxi server in vmware workstation is located)
system profile.JPG
IST timezone.JPG
EST timezone.JPG
You can see the problem in IST timezone.Jpeg where the same service graph is shown with IST timexone. (+5.30 hr). I also tried other browsers, but they all show graph with IST timezone equivalent. when it has to show with. EST timezone.

Let me know.

regards,
John.

Re: Nagios Graph Explorer - Problem with client side timezon

Posted: Mon Jul 22, 2013 3:07 pm
by sreinhardt
I can confirm that highcharts, which is used for graph explorer, uses the local system time that is displaying the graph. So the data technically is still in sync with what the local time of the nagios server is at, but it does look off. Just to verify you would like to see this show EST specifically as that is where the server is located?

Re: Nagios Graph Explorer - Problem with client side timezon

Posted: Tue Jul 23, 2013 1:27 am
by John12
hi ,

Yes. i would like to see EST specifically in graphs (The nagiosxi local time), no matter from which corner of the world i access the nagiosxi, any timezone. When the service detail -> performance graph shows exact timezone of nagiosxi local time. Why the graph explorer convert the timezone from EST to IST when i view it from IST timezone. this makes hard to calculate the graph time when the warning or critical of server services occured. :roll:

regards,
John.

Re: Nagios Graph Explorer - Problem with client side timezon

Posted: Tue Jul 23, 2013 2:36 pm
by sreinhardt
Well again, this really isn't a graph explorer issue, but an issue with highcharts that creates the graphs. At this time highcharts does not support anything other than localtime or UTC. There are some possible changes that I am going to discuss with a developer on altering from the UTC base.

Re: Nagios Graph Explorer - Problem with client side timezon

Posted: Thu Jul 25, 2013 12:16 am
by John12
I can now understand. I will wait for the changes from developer soon. cause it makes difficult and time consuming to do time conversion in order to find service problems.

Re: Nagios Graph Explorer - Problem with client side timezon

Posted: Thu Jul 25, 2013 11:39 am
by abrist
Understood. Watch the release notes, otherwise we will potentially be in touch concerning this possible feature.

Re: Nagios Graph Explorer - Problem with client side timezon

Posted: Mon Sep 16, 2013 5:21 am
by John12
I just went through new nagiosxi update and isntalled it.. but couldnt find nagios graph issue resolve.. any update..

thanks
John.

Re: Nagios Graph Explorer - Problem with client side timezon

Posted: Mon Sep 16, 2013 10:54 am
by abrist
We have a dev looking into this, but as the world conference is around the corner, attention has shifted to other projects in the short term. This is an issue, first and foremost with highcharts, so there is only so much we can do without deviating too far from the upstream highchart api.