Skip to content

Commit

Permalink
[monit][dualtor] Periodically check mux neighbors consistency (sonic-…
Browse files Browse the repository at this point in the history
…net#15769)

Signed-off-by: Longxiang Lyu <[email protected]>
  • Loading branch information
lolyu authored and mssonicbld committed Jul 25, 2023
1 parent a03489a commit f51461c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions files/image_config/monit/conf.d/sonic-host
Original file line number Diff line number Diff line change
Expand Up @@ -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
#
Expand Down

0 comments on commit f51461c

Please sign in to comment.