monit alter filtering, email vs monit.log

Issue #789 new
Massimo Sala created an issue

Hi

We check a service without pidfile

#!

check process vncserver matching "Xvnc"
    noalert massimo.sala@domain
    start program = "/etc/init.d/vncserver start"
    stop program = "/etc/init.d/vncserver stop"
    mode passive

monit logs this error every two minutes:

'vncserver' process is not running

We want the logfile (set log /var/log/monit.log) but we don't want this verbosity.

Is it possible to filter the log as we do for the alerts ?

If not, what about an enhancement, for example

noalert massimo.sala@domain
noalert log

Comments (1)

  1. Log in to comment