5

Suppress all alerts for a specific Monit service check?

view full story
linux-howto

http://serverfault.com – Under Monit 5.4, I'm interested in suppressing all alerts for a particular service check. Given the following stanza: check process nslcd with pidfile "/var/run/nslcd/nslcd.pid" 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, b (HowTos)