Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

When you monitor a process with Monit by its pid, like :

check process blop with pidfile /.../blop.pid
      start program = "..."
      stop  program = "..."

you get an alert when the pidfile is changed.

How do you disable this alert? For example, if you only want to know when the process fails to be restarted.

share|improve this question
Sorry, didn't get a notification... –  aurels Sep 27 '13 at 9:54

1 Answer 1

up vote 15 down vote accepted

You can disable this alert by setting up a local alert statement. This is thoroughly documented here: http://mmonit.com/monit/documentation/monit.html#setting_a_local_alert_statement

This should do it:

check process blop with pidfile /.../blop.pid
    alert recipient@address.com but not on { pid }
    start program = "..."
    stop  program = "..."
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.