Invoke disk check periodically (#7374)

Helps with periodic scan of disk for RO state.
If found, this script makes transient fix and raise error message.
This commit is contained in:
Renuka Manavalan 2021-11-19 16:45:21 -08:00 committed by GitHub
parent 5b88d9edf4
commit eda84d2209
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -31,6 +31,13 @@ check program routeCheck with path "/usr/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
# Check if /etc & /home are writable. If not, make them writable.
# Raise syslog error message, in case of underlying issues
#
check program diskCheck with path "/usr/bin/disk_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. # vnet_route_check.py: tool that verifies VNET routes consistancy between SONiC and vendor SDK DBs.
check program vnetRouteCheck with path "/usr/bin/vnet_route_check.py" check program vnetRouteCheck with path "/usr/bin/vnet_route_check.py"
every 5 cycles every 5 cycles