|
From: | Tom O'Brien |
Subject: | RE: monit alerting |
Date: | Thu, 21 Apr 2005 12:24:27 -0400 |
On Apr 19, 2005, at 12:09 PM, SorinS wrote:
>> I was wondering - can monit send alerts to a plain file as opossed to
>> sending an email? In my prod environment email is disabled.
>> Does anybody think this would be a usefull feature?
>
>Send the mail to pipe alias. You can do anything you want with the
>mail as input there, especially as you can specify the format of the
>messages in monit. If standard tools like procmail aren't enough for
>you, see Dan Bernstein's mess822.
Sounds good, but doesn't monit connect directly to the port (25 normally) of the server specified in the monit config file? Even a local delivery to your own server would go through your MTA...which might be down, or not running.
Tom.
[Prev in Thread] | Current Thread | [Next in Thread] |