check_ntp_time
Posted: Mon Dec 16, 2019 5:51 am
Hi,
This is regarding NTP service. NTP service definition is using the command check_ntp_time command.
It's usage is
./check_ntp_time -H $HOST -w $WARN -c $CRIT
We are getting different results for different hosts.
For example host1
[nagiosserver]# ./check_ntp_time -H host1 -w 1 -c 5
CRITICAL: No response from NTP server
and for host2
nagiosserver]# ./check_ntp_time -H host2 -w 1 -c 5
NTP OK: Offset -6.794929504e-06 secs|offset=-0.000007s;1.000000;5.000000;
Showing correct results for host2
what needs to be configured on host1 to make it working for host1.
This is regarding NTP service. NTP service definition is using the command check_ntp_time command.
It's usage is
./check_ntp_time -H $HOST -w $WARN -c $CRIT
We are getting different results for different hosts.
For example host1
[nagiosserver]# ./check_ntp_time -H host1 -w 1 -c 5
CRITICAL: No response from NTP server
and for host2
nagiosserver]# ./check_ntp_time -H host2 -w 1 -c 5
NTP OK: Offset -6.794929504e-06 secs|offset=-0.000007s;1.000000;5.000000;
Showing correct results for host2
what needs to be configured on host1 to make it working for host1.