[monit]: monit_telemetry which will have error when telemetry is in secure mode (#4286)

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>
This commit is contained in:
RayWang910012 2020-03-22 09:48:17 +08:00 committed by GitHub
parent 3e6899004c
commit f90bf8fe62
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,8 +4,8 @@
## telemetry
## dialout_client
###############################################################################
check process telemetry matching "/usr/sbin/telemetry -logtostderr --insecure"
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 -insecure -logtostderr"
check process dialout_client matching "/usr/sbin/dialout_client_cli"
if does not exist for 5 times within 5 cycles then alert