Page 1 of 1
Different Time Zones for schedule downtim and Recurring Down
Posted: Wed Dec 19, 2018 9:25 am
by manimurugesan
Hi Team,
I have found that there are different timezones showing in schedule downtime and recurring downtime.
System Time Zone is London, But scheduled downtime is showing in IST please find the screenshot
[root@~]# timedatectl
Local time: Wed 2018-12-19 14:10:31 GMT
Universal time: Wed 2018-12-19 14:10:31 UTC
RTC time: Wed 2018-12-19 14:10:31
Time zone: Europe/London (GMT, +0000)
NTP enabled: yes
NTP synchronized: yes
RTC in local TZ: no
DST active: no
Last DST change: DST ended at
Sun 2018-10-28 01:59:59 BST
Sun 2018-10-28 01:00:00 GMT
Next DST change: DST begins (the clock jumps one hour forward) at
Sun 2019-03-31 00:59:59 GMT
Sun 2019-03-31 02:00:00 BST
Re: Different Time Zones for schedule downtim and Recurring
Posted: Wed Dec 19, 2018 4:07 pm
by npolovenko
@manimurugesan, Most likely you need to adjust the timezone in the /etc/php.ini file. Open the file with a text editor and change:
date.timezone = Europe/London
Save and exit. Then restart apache with:
service httpd restart
Also, open the Admin menu and make sure that you have the right timezone under Timezone Settings.
Re: Different Time Zones for schedule downtim and Recurring
Posted: Wed Dec 19, 2018 4:20 pm
by lmiltchev
@manimurugesan, I believe the scheduled downtime is correct but there is a display issue in Nagios XI - somehow the timestamps are not converted properly. Let's try to verify it. Log in the Nagios Core interface:
click on the "Downtime" link under the "System" menu on the left, and check the downtime. Are start and end times correct? If they are, this means that we have a
display issue in XI, which our developers will be fixing as soon as they can.
Re: Different Time Zones for schedule downtim and Recurring
Posted: Wed Dec 19, 2018 4:43 pm
by lmiltchev
One more thing...
System Time Zone is London, But scheduled downtime is showing in IST please find the screenshot
What is your computer time? Is it IST? The entry/start/end time is converted in Nagios XI to your computer time. If you changed your desktop's time to London time, these values should show up correctly.
Note: In a future, we will be adding an option to select localtime or server time. It would be less confusing.
Re: Different Time Zones for schedule downtim and Recurring
Posted: Thu Dec 20, 2018 1:10 pm
by manimurugesan
"date.timezone is proper in /etc/php.ini file"
==> date.timezone = Europe/London
"@manimurugesan, I believe the scheduled downtime is correct but there is a display issue in Nagios XI - somehow the timestamps are not converted properly. Let's try to verify it. Log in the Nagios Core interface:"
==> Downtime time is proper as per London Time
"What is your computer time? Is it IST? The entry/start/end time is converted in Nagios XI to your computer time. If you changed your desktop's time to London time, these values should show up correctly. "
==> date
Thu 20 Dec 18:05:56 GMT 2018
everything is configured properly as u mentioned properly.
The only difference is the recurring downtime showing in IST apart from that everything in GMT London
Re: Different Time Zones for schedule downtim and Recurring
Posted: Thu Dec 20, 2018 1:50 pm
by lmiltchev
"What is your computer time? Is it IST? The entry/start/end time is converted in Nagios XI to your computer time. If you changed your desktop's time to London time, these values should show up correctly. "
==> date
Thu 20 Dec 18:05:56 GMT 2018
Is your workstation in IST? If you are using Windows, click on the date/time in the bottom right and show us a screenshot. Where is the IST coming from? Did you run the "date" command on the Nagios XI server or on your workstation (in case you are using Linux)? I am just trying to get some clarification. Thank you!