Skip to content

Commit

Permalink
[monit] Periodically monitor VNET route consistency (#8266)
Browse files Browse the repository at this point in the history
*To run VNET route consistency check periodically.
*For any failure, the monit will raise alert based on return code.
Signed-off-by: Volodymyr Samotiy <[email protected]>
  • Loading branch information
volodymyrsamotiy authored and qiluo-msft committed Aug 23, 2021
1 parent 7fc11cf commit 8365245
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions files/image_config/monit/conf.d/sonic-host
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 8365245

Please sign in to comment.