monit-general
[Top][All Lists]
Advanced

[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:

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

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

Martin


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:

$EVENT Service $SERVICE

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:

$EVENT Service $SERVICE

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

Your faithful,
monit

set mail-format { from: address@hidden }


Villem Alari

e-post: address@hidden
mobiil: +37253939163



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





reply via email to

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