Hi,
I've my Nagiosxi server time set up to GMT London time and If I check my System profile I can see it's ok. The thing is when I go to Incident Management -> Scheduled Downtime all the downtime are shown using the local time of my laptop (GMT+1) instead of the GMT and is causing a little bit of confusion.
If I go to check the host, I can see the comment of the downtime with the correct GMT time
Is this something that be changed? I didn't see on the user profile anything about changing the timer zone.
Scheduled Downtime using my browser time?
-
dwhitfield
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: Scheduled Downtime using my browser time?
When you say System Profile, do you mean the System Settings circled on page 2 of https://assets.nagios.com/downloads/nag ... m_Time.pdf ?
That document actually has info for changing your time zone in all the pieces. PHP is the one I suspect here.
That document actually has info for changing your time zone in all the pieces. PHP is the one I suspect here.
-
monit_burb
- Posts: 52
- Joined: Fri Sep 23, 2016 3:00 am
Re: Scheduled Downtime using my browser time?
I didn't meant the System Settings but there is the time set properly to GMT London time. I mean in System Config -> System profile -> View system info. Attached screenshot.dwhitfield wrote:When you say System Profile, do you mean the System Settings circled on page 2 of https://assets.nagios.com/downloads/nag ... m_Time.pdf ?
That document actually has info for changing your time zone in all the pieces. PHP is the one I suspect here.
I was also thinking about php or apache config but couldn't find anything so far but in th screenshot you could see php have the right time
You do not have the required permissions to view the files attached to this post.
-
dwhitfield
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: Scheduled Downtime using my browser time?
Please start on the CentOS 7 portion of page 3 of https://assets.nagios.com/downloads/nag ... m_Time.pdf and work your way to the end.
Sometimes people change the times and don't restart the services, so it's important you work all the way through the document...obviously changing to the appropriate time zone.
Sometimes people change the times and don't restart the services, so it's important you work all the way through the document...obviously changing to the appropriate time zone.
-
monit_burb
- Posts: 52
- Joined: Fri Sep 23, 2016 3:00 am
Re: Scheduled Downtime using my browser time?
My server have been since the OS was installed in the same time zone, using the same ntp servers and rebooted multiple times. As you can see in the previous screenshot, it shows the correct time zone por the system and php.dwhitfield wrote:Please start on the CentOS 7 portion of page 3 of https://assets.nagios.com/downloads/nag ... m_Time.pdf and work your way to the end.
Sometimes people change the times and don't restart the services, so it's important you work all the way through the document...obviously changing to the appropriate time zone.
I checked my current time zone with the commands "date" and with ls commands.
ls -l /etc/localtime
lrwxrwxrwx 1 root root 33 Feb 13 17:31 /etc/localtime -> /usr/share/zoneinfo/Europe/London
Also tried to restart the httpd and ntpd services but is still not fixed.
This is not something that is only happening to me but to every users of our Nagios platform that it's in a different time zone than the system so I guess I can discard browser or cache issues.
Re: Scheduled Downtime using my browser time?
I think we've got a misunderstanding of this here. When you login to XI the time is always local (of course) and when configuring scheduled downtime for another server in a different timezone you'll have to manually account for the time diff.
I'm in CST and a server is in PST and I want downtime to begin at 8pm for that server. Since CST is an hour behind I'd select 19:00 when setting scheduling this downtime.
I'm in CST and a server is in PST and I want downtime to begin at 8pm for that server. Since CST is an hour behind I'd select 19:00 when setting scheduling this downtime.
Be sure to check out the Knowledgebase for helpful articles and solutions!
-
monit_burb
- Posts: 52
- Joined: Fri Sep 23, 2016 3:00 am
Re: Scheduled Downtime using my browser time?
Yes, I'm afraid we are not understanding each other. If I go to "Incident Management" and schedule a downtime for a host lest say from 9AM to 10AM, once is set up if I browse the list of scheduled downtime and look for that host it will display that the downtime is set from 10AM to 11AM. As a test a just created a new downtime from 9AM to 10AM and checked from my laptop and a laptop in the same time zone as the Nagios server. Mine is displaying from 10AM to 11AM, the one in the Nagios time zone is displaying from 9AM to 10AM so as I was suspecting, is using the laptop timezone to show the scheduled downtimes.bwallace wrote:I think we've got a misunderstanding of this here. When you login to XI the time is always local (of course) and when configuring scheduled downtime for another server in a different timezone you'll have to manually account for the time diff.
I'm in CST and a server is in PST and I want downtime to begin at 8pm for that server. Since CST is an hour behind I'd select 19:00 when setting scheduling this downtime.
-
dwhitfield
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: Scheduled Downtime using my browser time?
I submitted internal feature request 11238 for this. If you wish to check on the status in the future, please use that #.
Did you have anything else to add to the request, or should we lock this up?
Did you have anything else to add to the request, or should we lock this up?
-
monit_burb
- Posts: 52
- Joined: Fri Sep 23, 2016 3:00 am
Re: Scheduled Downtime using my browser time?
Not really, I guess this could be configured on each user profile so they can globally select if they want to see everything on the Nagios server time zone or they own defined time zone.dwhitfield wrote:I submitted internal feature request 11238 for this. If you wish to check on the status in the future, please use that #.
Did you have anything else to add to the request, or should we lock this up?
What I can tell you is that we didn't face this issue with our old Nagios server that was running on Centos 6 and Nagios 2014 R1.2
Re: Scheduled Downtime using my browser time?
Thanks for the additional information. We'll include it on the feature request and lock this thread.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.