On 2. okt. 2007, at 11.20, Nathan wrote:

  if match ".*\sERROR\s.*"
  if match ".*\sWARN\s.*" then
    exec "/bin/true"
    alert [EMAIL PROTECTED]

An if-statement requires a 'then' clause. So this should work.

        if match ".*\sERROR\s.*" then
          exec "/bin/true"
        if match ".*\sWARN\s.*" then
          exec "/bin/true"



--
To unsubscribe:
http://lists.nongnu.org/mailman/listinfo/monit-general

Reply via email to