Page 1 of 1

Server time offset

Posted: Mon Nov 14, 2022 9:51 am
by Baptist39
Hello,

I have a time problem on my nagios server.

I noticed that I had quite a few alerts with this problem, but I don't understand the discrepancy.

Currently, it is 3:41 pm but on the server :
Monday 14 November 2022, 16:03:06 (UTC+0100)

I have already made several changes, but I would like to know if this can be managed from the Nagios interface?
Because I still can't stabilize the time...

I am on Debian 10.13 Buster.
If you have a solution that would be great...
Thank you!

Re: Server time offset

Posted: Mon Nov 14, 2022 5:16 pm
by gormank
You need to sync to a time source using ntpd or chrony at the OS level, not nagios. Also set the timezone in the OS.

Re: Server time offset

Posted: Tue Nov 15, 2022 2:48 am
by Baptist39
I had already tested with ntp, without success, then with timedatectl. I'll try Chrony, I didn't know, thanks.
Hoping to do better!

Re: Server time offset

Posted: Mon Nov 21, 2022 11:16 am
by Baptist39
Subject closed ! Thanks.
I think that uninstalling ntpd solved the problem.

Re: Server time offset

Posted: Mon Jan 29, 2024 9:57 pm
by lunadam

Re: Server time offset

Posted: Tue Jul 16, 2024 3:59 pm
by cnorell
As this issue was resolved - happy to see it was - I'm going to lock the thread. If you have any other issues feel free to open a new thread.

Best Regards,

Cory Norell