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

To run VNET route consistency check periodically.

For any failure, the monit will raise alert based on return code.
The tool will log required details.
This commit is contained in:
Volodymyr Samotiy 2021-03-05 23:15:19 +02:00 committed by GitHub
parent 603767d94a
commit 2c6be7e0f5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -31,3 +31,8 @@ check program routeCheck with path "/usr/bin/route_check.py"
every 5 cycles
if status != 0 for 3 cycle 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