Skip to content

Commit

Permalink
[monit]: monit_telemetry which will have error when telemetry is in s…
Browse files Browse the repository at this point in the history
…ecure 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>
  • Loading branch information
RayWang910012 and Ubuntu authored Mar 22, 2020
1 parent 3e68990 commit f90bf8f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit f90bf8f

Please sign in to comment.