Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Under my Monit 5.4 installation, I'm interested in suppressing all alerts for a particular service check.

Given the following stanza:

check process nslcd
        with pidfile "/var/run/nslcd/" every 2 cycles
        start program = "/sbin/service nslcd start"
        stop program = "/sbin/service nslcd stop"
        if 10 restarts within 11 cycles then timeout
        if cpu usage > 95% for 11 cycles then restart
        if totalmemory > 64 MB then restart

What is the cleanest approach to suppressing all alerts for all actions on this service check? I'm familiar with the noalert function, but it does not seem to work well for my use case. Other Monit alerts for other services/daemons are fine to continue.

share|improve this question
Did the set non-real e-mail may help? – Paul Rudnitskiy Oct 30 '12 at 11:23
up vote 0 down vote accepted

I simply needed to add an email address to the alert field for each check. Using a fake address sufficed.

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.