Hi, list. I am newbie to monit and I'm now starting to configure it and test it. I have been able to start it and send e-mail to one person in case of FTP failure in one server.
Now I would like to modify the mail-format layout when this happens. I have
read the documentation and the most I re-read it, the most it keeps telling
me
syntax error '[EMAIL PROTECTED]'
check host blablabla with address 999.999.999.999
if failed port 21 protocol ftp with timeout 15 seconds then
ALERT [EMAIL PROTECTED] MAIL-FORMAT { from: [EMAIL PROTECTED] }
I just can't see where did I do anything wrong since the syntax for alert
is:
ALERT mail-address [{events}] [MAIL-FORMAT {mail-format}] [REMINDER number]
or so it says in the documentation, which is the syntax I have respected.
I have tried it with {mail-format} and { mail-format }
If I omit the e-mail address, then it says:
Error: syntax error 'MAIL-FORMAT'
and upper-lower case makes no difference.
I'm going crazy with this. Help !
Saludos / BRGDS
José R. Barón
<<attachment: winmail.dat>>
-- To unsubscribe: http://lists.nongnu.org/mailman/listinfo/monit-general
