script for df-k filesystem alerts...

From: Barnhart, Troy (TBarnhart@RCRH.ORG)
Date: Wed Sep 11 2002 - 11:13:02 EDT


Just a request to see if someone out there already has a
simple script I could setup in cron that runs a df -k and
then parses the output to find anything over a certain
percentage in the %used column. I could use a little help
on the parsing part. I'm going to then push that line of
output to an alert email.

thanks in advance,
troy

Troy Barnhart, Sr. Systems Programmer,
tbarnhart@rcrh.org
Rapid City Regional Hospital,
Rapid City, South Dakota, 57701
ph: 605-719-8068 / fax: 605-719-4206



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 22:16:12 EDT