CentOS - Disk Quota X% warning

Posted by jfreak53 on Server Fault See other posts from Server Fault or by jfreak53
Published on 2013-10-21T20:05:23Z Indexed on 2013/10/21 21:55 UTC
Read the original article Hit count: 259

Filed under:
|

I currently have disk quotas working perfectly for Hard Limit Quotas on a CentOS 5 box. Quotas are working fine, but I am looking for a way to alert users either in a Cron or Automatically as Quotas is already running, when they are within X% of their Hard Limit Quota? I would like this email to go out to an email address I configure somehow for each user.

I've looked all over the place but can't find it. All I can find is warnquota which only works when a user goes over Quota. The problem is I use Hard Limits, so my users will never go over quota. It needs to warn them when they are within X% of their limits.

© Server Fault or respective owner

Related posts about centos

Related posts about quota