1a3cab43ac
Signed-off-by: Yong Zhao yozhao@microsoft.com Why I did it Currently we leveraged the Supervisor to monitor the running status of critical processes in each container and it is more reliable and flexible than doing the monitoring by Monit. So we removed the functionality of monitoring the critical processes by Monit. How I did it I removed the script process_checker and corresponding Monit configuration entries of critical processes. How to verify it I verified this on the device str-7260cx3-acs-1.
6 lines
400 B
Plaintext
6 lines
400 B
Plaintext
###############################################################################
|
|
## Monit configuration for telemetry container
|
|
###############################################################################
|
|
check program container_memory_telemetry with path "/usr/bin/memory_checker telemetry 419430400"
|
|
if status == 3 for 10 times within 20 cycles then exec "/usr/bin/restart_service telemetry"
|