Re: Monitor file system free space

2009-12-22 Thread Osamu Aoki
On Tue, Dec 22, 2009 at 06:07:23PM +0200, David Baron wrote: > > > the % is greater than 97. I run the script daily from crontab. It works > > > fine. ... > Maybe post your perl. Someone responded to me. I am forwarding it here: There is a package "monit" in archive. Osamu -- To UNSUBSCRIB

RE: Monitor file system free space

2009-12-22 Thread James Wu
riginal Message- From: David Baron [mailto:d_ba...@012.net.il] Sent: December 22, 2009 11:07 AM To: debian-user@lists.debian.org Subject: Re: Monitor file system free space On Tuesday 22 December 2009 17:25:55 debian-user-digest- requ...@lists.debian.org wrote: > > I had a problem with my

Re: Monitor file system free space

2009-12-22 Thread Osamu Aoki
On Tue, Dec 22, 2009 at 09:05:34AM -0700, green wrote: > Osamu Aoki wrote at 2009-12-22 07:28 -0700: > > On Tue, Dec 22, 2009 at 08:24:25AM -0500, m...@neidorff.com wrote: > > > I had a problem with my (small) disk filling up and crashing my mail > > > server. So, I wrote a simple perl script to t

Re: Monitor file system free space

2009-12-22 Thread David Baron
On Tuesday 22 December 2009 17:25:55 debian-user-digest- requ...@lists.debian.org wrote: > > I had a problem with my (small) disk filling up and crashing my mail > > server. So, I wrote a simple perl script to take the output of 'df -h' > > and look for a % full that is greater than 97% and send m

Re: Monitor file system free space

2009-12-22 Thread green
Osamu Aoki wrote at 2009-12-22 07:28 -0700: > On Tue, Dec 22, 2009 at 08:24:25AM -0500, m...@neidorff.com wrote: > > I had a problem with my (small) disk filling up and crashing my mail > > server. So, I wrote a simple perl script to take the output of 'df -h' > > and look for a % full that is gre

Re: Monitor file system free space

2009-12-22 Thread Stan Hoeppner
Osamu Aoki put forth on 12/22/2009 8:28 AM: > $ df -h > FilesystemSize Used Avail Use% Mounted on > /dev/sda3 56G 7.4G 45G 15% / > tmpfs 1.5G 12K 1.5G 1% /lib/init/rw > udev 10M 940K 9.1M 10% /dev > tmpfs 1.5G

Re: Monitor file system free space

2009-12-22 Thread Johannes Wiedersich
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 m...@neidorff.com wrote: > I had a problem with my (small) disk filling up and crashing my mail > server. So, I wrote a simple perl script to take the output of 'df -h' > and look for a % full that is greater than 97% and send me an e-mail if > the %

Re: Monitor file system free space

2009-12-22 Thread Osamu Aoki
On Tue, Dec 22, 2009 at 08:24:25AM -0500, m...@neidorff.com wrote: > I had a problem with my (small) disk filling up and crashing my mail > server. So, I wrote a simple perl script to take the output of 'df -h' > and look for a % full that is greater than 97% and send me an e-mail if > the % is gr

Re: Monitor file system free space

2009-12-22 Thread Γιώργος Πάλλας
m...@neidorff.com wrote: I had a problem with my (small) disk filling up and crashing my mail server. So, I wrote a simple perl script to take the output of 'df -h' and look for a % full that is greater than 97% and send me an e-mail if the % is greater than 97. I run the script daily from cron