[monit][dualtor] Periodically check mux neighbors consistency (#15769)

Signed-off-by: Longxiang Lyu <lolv@microsoft.com>
This commit is contained in:
Longxiang Lyu 2023-07-25 12:16:49 +08:00 committed by mssonicbld
parent 63e51b4b2a
commit 6e49fa5fd2

View File

@ -31,6 +31,13 @@ check program routeCheck with path "/usr/local/bin/route_check.py"
every 5 cycles
if status != 0 for 3 cycle then alert repeat every 1 cycles
# dualtor_neighbor_check.py: script to check if the neighbor entries in APPL_DB
# has correct neighbor or tunnel route entries in ASIC_DB based on the mux
# states.
check program dualtorNeighborCheck with path "/usr/local/bin/dualtor_neighbor_check.py -o SYSLOG -s ERROR"
every 5 cycles
if status != 0 for 3 cycle then alert repeat every 1 cycles
# Check if /etc & /home are writable. If not, make them writable.
# Raise syslog error message, in case of underlying issues
#