-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
… Monit (#7676) 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.
- Loading branch information
There are no files selected for viewing
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,5 @@ | ||
############################################################################### | ||
## Monit configuration for telemetry container | ||
## process list: | ||
## telemetry | ||
## dialout_client | ||
############################################################################### | ||
check program telemetry|telemetry with path "/usr/bin/process_checker telemetry /usr/sbin/telemetry" | ||
if status != 0 for 5 times within 5 cycles then alert repeat every 1 cycles | ||
|
||
check program telemetry|dialout_client with path "/usr/bin/process_checker telemetry /usr/sbin/dialout_client_cli" | ||
if status != 0 for 5 times within 5 cycles then alert repeat every 1 cycles | ||
|
||
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" |
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.