当您使用 Monit 通过其 pid 监视进程时,例如:
check process blop with pidfile /.../blop.pid start program = "..." stop program = "..."
当 pidfile 更改时,您会收到警报。
您如何禁用此警报?例如,如果您只想知道进程何时无法重新启动。
monitoring monit alert
alert ×1
monit ×1
monitoring ×1