Hi,
We are using Nagios XI and the timezone is set to HKT (Hong Kong Timezone).
We have configured rucurring downtime for a hostgroup and the time mentioned while creating the recurring downtime is from 22:00 to 6:00 HKT everyday but in the scheduled downtime window time is showing as 16:00 to 00:00. It should show as 22:00 to 6:00.
Please let me know why this time difference. why it is showing as 16:00 to 00:00 instead of 22:00 to 6:00
Regards,
Pratap
Time showing differently for recurring downtime.
Re: Time showing differently for recurring downtime.
Hello Pratap,
Thanks for reaching out and would suggest checking the following timezone settings within the following configs:
Let me know if everything is the set the same.
Thanks,
Perry
Thanks for reaching out and would suggest checking the following timezone settings within the following configs:
Code: Select all
mysql ....SELECT
@@GLOBAL.time_zone,
@@SESSION.time_zone;'
default-time-zone='+00:00' in /etc/my.cnf
date
ls -l /etc/localtime
php -r 'echo date("D M j G:i:s T Y")."\n";'
grep "date.timezone =" /etc/php.ini
or
grep date.timezone /etc/php.ini
Thanks,
Perry