f90bf8fe62
When telemetry is in secure mode ,the monitor will have error log of the match string "--insecure". So I modify to be compatiable with insecure mode and secure mode. Co-authored-by: Ubuntu <ubuntu@ip-10-5-1-21.ap-south-1.compute.internal>
12 lines
504 B
Plaintext
12 lines
504 B
Plaintext
###############################################################################
|
|
## Monit configuration for telemetry container
|
|
## process list:
|
|
## telemetry
|
|
## dialout_client
|
|
###############################################################################
|
|
check process telemetry matching "/usr/sbin/telemetry"
|
|
if does not exist for 5 times within 5 cycles then alert
|
|
|
|
check process dialout_client matching "/usr/sbin/dialout_client_cli"
|
|
if does not exist for 5 times within 5 cycles then alert
|