[Top][All Lists]

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

Re: [monit] Syntax error

From: Martin Pala
Subject: Re: [monit] Syntax error
Date: Wed, 17 Oct 2007 22:31:04 +0200

Please send your exact monit configuration (snip). Excerpt from monit manual:

mail-format {
      from: address@hidden
   subject: $SERVICE $EVENT at $DATE
   message: Monit $ACTION $SERVICE at $DATE on $HOST: $DESCRIPTION.
            Yours sincerely,

=> if you define the subject, body, etc. outside of mail-format statement, the syntax is wrong.


On Oct 16, 2007, at 10:37 AM, Villem Alari wrote:

I didn't get any answer to that question:

I have such error:

/etc/monit/monitrc:75: Error: syntax error '$EVENT'

and on line 75 I have, like tutorial said, such line:


What's wrong?

So I thought I would expand it. Error starts from the first line, something is wrong there, can anyone help, I have configured something wrongly there:


Date: $DATE
Action: $ACTION
Host: $HOST # body
Description: $DESCRIPTION

Your faithful,

set mail-format { from: address@hidden }

Villem Alari

e-post: address@hidden
mobiil: +37253939163

To unsubscribe:

reply via email to

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