[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:
parent
3e6899004c
commit
f90bf8fe62
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user