[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [monit] First steps and 'not' keyword

From: Martin Pala
Subject: Re: [monit] First steps and 'not' keyword
Date: Wed, 16 Sep 2009 08:54:43 +0200


the "not" option was added in Monit-4.9 ... changelog excerpt:

* The ALERT statement was extended by the possibility to
  negate the optional event filter.
      [set] alert <mail-address> not '{' <event>... '}'
    set alert address@hidden but not on { restart }
    Will send all alerts to address@hidden for all services and
    events except the restart event. Note that noise words
   'but' and 'on' are optional.

4.8.1 doesn't support the "not" option


On Sep 16, 2009, at 1:12 AM, Alan AZZERA wrote:


I'm new to Monit, thus I'm new on this list. I googled, searched in
the archives, but I did't find any clue for solving my problem. I'm
using Debian Etch (will be soon upgraded to Lenny), and there's a
clause in my monitrc preventing Monit to start :
set alert address@hidden not { instance }

I always get an error in syslog :
Sep 16 00:32:08 xxxxxx monit: /etc/monit/monitrc:85: Error: syntax error 'not'

It seems weird, since the keyword 'not' is officially supported by
Monit, according to the manual. 'but not' is not much appreciated too,
since the syntax error is now on 'but'. Without any restriction, Monit
works like a charm !

On Etch, Monit's version is 4.8.1.

Thank you in advance for your patience an answers, I apologize in
advance if I missed something obvious...

Best regards,


To unsubscribe:

reply via email to

[Prev in Thread] Current Thread [Next in Thread]