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

Signed-off-by: Longxiang Lyu <lolv@microsoft.com>
Co-authored-by: Longxiang Lyu <35479537+lolyu@users.noreply.github.com>
This commit is contained in:
mssonicbld 2023-08-11 04:33:09 +08:00 committed by GitHub
parent 5d250c6264
commit d351e05f82
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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
#