puppet: Switch to checking time against the AWS timeserver.

Since this is what chrony is sync'ing to, it lessens the chance of
spurious firings of this alert.

See https://aws.amazon.com/blogs/aws/keeping-time-with-amazon-time-sync-service/
This commit is contained in:
Alex Vandiver 2022-05-31 20:46:42 -07:00 committed by Tim Abbott
parent a94a06da2b
commit 3741c1c034
1 changed files with 1 additions and 1 deletions

View File

@ -82,7 +82,7 @@ define command{
define command{
command_name check_ntp_time
command_line /usr/lib/nagios/plugins/check_by_ssh -p $ARG1$ -l nagios -t 30 -i /var/lib/nagios/.ssh/id_ed25519 -H $HOSTADDRESS$ -C '/usr/lib/nagios/plugins/check_ntp_time -H 0.debian.pool.ntp.org -w .5 -c 1'
command_line /usr/lib/nagios/plugins/check_by_ssh -p $ARG1$ -l nagios -t 30 -i /var/lib/nagios/.ssh/id_ed25519 -H $HOSTADDRESS$ -C '/usr/lib/nagios/plugins/check_ntp_time -H 169.254.169.123 -w .5 -c 1'
}
define command{