Page 1 of 1

British Summer Time auto adjustment

Posted: Tue Jun 15, 2021 5:19 pm
by richie7tech
Hello

im configuring nagios xi , on a ubuntu 20.04 VM
it is using a NTP timeserver which is configured in /etc/ntp.conf
the ubuntu pool timeserver are #'d out


question , does nagios allow for auto adjusting of british summer time

the timezone in system setting is set for UTC london ,
my interface shows ie system status / host status all shows check 1 hour behind BST (British Summer Time) which is the same as UTC time

then i change the system setting timezone to UTC+1 then i get a 2 hour jump forward in time on the service status and not 1 hour as expected ????


question 2 what is causing the 2 hour jump in when changing from UTC +0:00 london to UTC+1 Amsterdam ??????


any help greatly appreciciated


Richie

Re: British Summer Time auto adjustment

Posted: Wed Jun 16, 2021 10:26 am
by ssax
It should honor them.

What TZ is your workstation that your accessing XI from?

I labbed this up in XI 5.8.4 and it's showing the proper time in all places, I only have a one hour difference when selecting London vs Amsterdam as well.

Please send the output of these commands:

Code: Select all

mysql -h 127.0.0.1 -uroot -pnagiosxi -e 'SELECT NOW(); SELECT @@GLOBAL.time_zone, @@SESSION.time_zone;'
date
ls -l /etc/localtime
php -r 'echo date("D M j G:i:s T Y")."\n";'
grep timezone /etc/php/*/*/php.ini
grep timezone /etc/postgresql/*/main/postgresql.conf