Skip to content

Commit 8f5039c

Browse files
committed
Disable ntp check in monit
KVM environments might not have an NTP server available (or running in the PTF container). Signed-off-by: Saikrishna Arcot <sarcot@microsoft.com>
1 parent fdfdab1 commit 8f5039c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

files/image_config/monit/conf.d/sonic-host

+2-2
Original file line numberDiff line numberDiff line change
@@ -72,5 +72,5 @@ check program mgmtOperStatus with path "/usr/bin/mgmt_oper_status.py"
7272
if status != 0 for 3 cycle then alert repeat every 1 cycles
7373

7474
# check if NTP is synchronized
75-
check program ntp with path "/usr/local/bin/check_ntp_status.sh"
76-
if status != 0 for 3 cycle then alert repeat every 5 cycles
75+
#check program ntp with path "/usr/local/bin/check_ntp_status.sh"
76+
# if status != 0 for 3 cycle then alert repeat every 5 cycles

0 commit comments

Comments
 (0)