[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [afnog] [Mailer-Daemon at mantse.gh.com: Mail delivery failed:returning message to sender]
- To: Brian Candler <B.Candler at pobox.com>
- Subject: Re: [afnog] [Mailer-Daemon at mantse.gh.com: Mail delivery failed:returning message to sender]
- From: Stephane Bortzmeyer <bortzmeyer at nic.fr>
- Date: Mon, 13 Oct 2003 10:41:04 +0200
- Cc: afnog at afnog.org
- Content-Disposition: inline
- Content-Type: text/plain; charset=us-ascii
- Delivered-To: afnog-archive at lists.eahd.or.ug
- Delivered-To: afnog at afnog.org
- In-Reply-To: <20031010203232.GA38454 at uk.tiscali.com>
- List-Archive: <http://listserv4.cfi.co.ug/pipermail/afnog>
- List-Help: <mailto:afnog-request at afnog.org?subject=help>
- List-Id: The AfNOG general discussion list <afnog.afnog.org>
- List-Post: <mailto:afnog at afnog.org>
- List-Subscribe: <http://listserv4.cfi.co.ug/mailman/listinfo/afnog>,<mailto:afnog-request at afnog.org?subject=subscribe>
- List-Unsubscribe: <http://listserv4.cfi.co.ug/mailman/listinfo/afnog>,<mailto:afnog-request at afnog.org?subject=unsubscribe>
- Organization: NIC France
- References: <20031010203232.GA38454 at uk.tiscali.com>
- Sender: afnog-bounces at afnog.org
- User-Agent: Mutt/1.5.4i
On Fri, Oct 10, 2003 at 09:32:32PM +0100,
Brian Candler <B.Candler at pobox.com> wrote
a message of 126 lines which said:
> Run it from cron every 10 minutes.
VERY bad idea, IMHO. It will fill up your disk even faster. The
problem is that cron has no memory of the previous run. If cron
launches the script every ten minutes and the problem lasts two hours
during the lunch, you get twelve messages for nothing.
Instead, you should use a proper scheduler like mon
<URL:http://wwwkernel.org/sofwtare/mon/> which can:
* trigger the alarm only after N failures,
* only send the alarm every M minutes even when you monitor every N
minutes (with M >> N),
* stop sending the alarms after N attempts (sort of automatically shut
down the alarm).
__________________________________________________
This is the Africa Network Operators' Group(AfNOG)
technical discussion list.
The AfNOG website is: <http://www.afnog.org>