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
Different Time Zones for schedule downtim and Recurring Down
-
manimurugesan
- Posts: 145
- Joined: Wed Oct 03, 2018 9:15 am
Different Time Zones for schedule downtim and Recurring Down
You do not have the required permissions to view the files attached to this post.
-
npolovenko
- Support Tech
- Posts: 3457
- Joined: Mon May 15, 2017 5:00 pm
Re: Different Time Zones for schedule downtim and Recurring
@manimurugesan, Most likely you need to adjust the timezone in the /etc/php.ini file. Open the file with a text editor and change:
Save and exit. Then restart apache with:date.timezone = Europe/London
Also, open the Admin menu and make sure that you have the right timezone under Timezone Settings.service httpd restart
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Different Time Zones for schedule downtim and Recurring
@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.
Code: Select all
http://ip address/nagiosBe sure to check out our Knowledgebase for helpful articles and solutions!
Re: Different Time Zones for schedule downtim and Recurring
One more thing...
Note: In a future, we will be adding an option to select localtime or server time. It would be less confusing.
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.System Time Zone is London, But scheduled downtime is showing in IST please find the screenshot
Note: In a future, we will be adding an option to select localtime or server time. It would be less confusing.
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
manimurugesan
- Posts: 145
- Joined: Wed Oct 03, 2018 9:15 am
Re: Different Time Zones for schedule downtim and Recurring
"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
==> 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
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!"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
Be sure to check out our Knowledgebase for helpful articles and solutions!