FreeBSD Administration Question

Lee lee at unassemble.co.uk
Thu Jun 20 23:22:17 BST 2002


Hi,

Have you considering using some sort of cron job that reads the output from
"df -h" and sends an e-mail when the Capacity is high, somewhere near 95% or
something.  A fairly simple Perl script would be able to do this probably
using split or regular expressions.

Just a though.

Lee
----- Original Message -----
From: <jmercer at nildram.co.uk>
To: "Mark Stewart" <Mark.Stewart at bacs.co.uk>; <freebsd-users at uk.freebsd.org>
Sent: Wednesday, June 12, 2002 12:47 PM
Subject: Re: FreeBSD Administration Question


> Mark Stewart <Mark.Stewart at bacs.co.uk> wrote :
>
> > Hi all,
> >
> > I have been using FreeBSD nearly a year now and have setup about a dozen
+
> > working servers.
> >
> > I was wondering if anyone had written or use some kind of parser program
that
> > reads the emailed output report and warns you of any problems. (e.g.
Hard disk
> > is filling up etc). I would like the emailed reports from all my
machines to go
> > to a specific address, the reports are then read by said program that
creates a
> > nice report flagging errors if there are any)
>
> I've wondered about this too, and the thing that occurs to me is to set up
an alias within Sendmail, so that emails to root get copied (or diverted) to
another user, who may not be on the same box.
> This may not be quite what you were wanting but it would work though.
>
> Cheers,
>
> Jon
>
> >
> > This would save me reading the reports all the time and help out support
center
> > diagnose faults without having any real technical know-how.
> >
> > Krgds
> >
> > Mark
> >
> >
> > ----------------------------------------------------------------------
> >
> > You can find us at www.bacs.co.uk
> >
> > *****************************************************
> > This communication is confidential and intended for
> > the exclusive use of the addressee only. You should
> > not disclose its contents to any other person.
> > If you are not the intended recipient please notify
> > the sender named above immediately.
> >
> > BACS Limited, registered in England, No 1023742,
> > 3 De Havilland Road, Edgware, Middlesex, HA8 5QA
> > *****************************************************
> >
> >
> > ------ FreeBSD UK Users' Group  -  Mailing List ------
> > http://listserver.uk.freebsd.org/mailman/listinfo/freebsd-users
>
>
>
>
>
> ------ FreeBSD UK Users' Group  -  Mailing List ------
> http://listserver.uk.freebsd.org/mailman/listinfo/freebsd-users
>
>






More information about the Ukfreebsd mailing list