[monit] Periodically monitor VNET route consistency (#8266)

*To run VNET route consistency check periodically.
*For any failure, the monit will raise alert based on return code.
Signed-off-by: Volodymyr Samotiy <volodymyrs@nvidia.com>
This commit is contained in:
Volodymyr Samotiy 2021-08-20 02:29:25 +03:00 committed by Judy Joseph
parent 50dcc82ee0
commit 055d497799

View File

@ -40,3 +40,9 @@ check program diskCheck with path "/usr/local/bin/disk_check.py"
check program container_checker with path "/usr/bin/container_checker"
if status != 0 for 5 times within 5 cycles then alert repeat every 1 cycles
# vnet_route_check.py: tool that verifies VNET routes consistancy between SONiC and vendor SDK DBs.
check program vnetRouteCheck with path "/usr/local/bin/vnet_route_check.py"
every 5 cycles
if status != 0 for 3 cycle then alert repeat every 1 cycles