[monit][dualtor] Periodically check mux neighbors consistency (#15769)
Signed-off-by: Longxiang Lyu <lolv@microsoft.com>
This commit is contained in:
parent
e0927e28af
commit
dc139cfc32
@ -31,6 +31,13 @@ check program routeCheck with path "/usr/local/bin/route_check.py"
|
|||||||
every 5 cycles
|
every 5 cycles
|
||||||
if status != 0 for 3 cycle then alert repeat every 1 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.
|
# Check if /etc & /home are writable. If not, make them writable.
|
||||||
# Raise syslog error message, in case of underlying issues
|
# Raise syslog error message, in case of underlying issues
|
||||||
#
|
#
|
||||||
|
Reference in New Issue
Block a user