On Wed, Jul 26, 2006 at 09:40:29AM +0100, Andrew Ferrier wrote:
> The exim4 specification recommends creating a cronjob to check that
> paniclog is empty: (see third bullet point from the top)
> 
> http://www.exim.org/exim-html-4.40/doc/html/spec_45.html
> 
> It would useful to have one of these shipped by Debian's exim4 by
> default, probably installed into /etc/cron.d. Presumably it would email
> root if the file wasn't empty.

Reporting e-mail failures via e-mail is sometimes a recursive failure.
I am not sure whether this would help.

I would be willing to accept a patch to the daily cron job which would
yell into syslog, try to send an e-mail (by directly calling
/usr/lib/sendmail and reporting a non-zero exit code to syslog and
probably somewhere else). A hook would be nice at this place as well,
allowing the local admin to have his local reporting method (like a
nagios passive service check or writing a warning to /etc/motd) hooked
in.

Greetings
Marc

-- 
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany  |  lose things."    Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature |  How to make an American Quilt | Fax: *49 621 72739835


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to