We just run an rsh "quota report" every 15 minutes an have a perl script send the emails. This solution becomes more portable if you decide to switch NFS appliances at some later point (but why would you!).
We turn on wildcard quotas and get per user usage info too. It would be really nice if you could just set thresholds for alerts from the command line itself and define alerts to be emailed.
----- Original Message ---- From: "Warkentin, Grant" Grant.Warkentin@calgary.ca To: Christian Mikovits christian.mikovits@cubit.at; toasters@mathworks.com Sent: Monday, January 15, 2007 11:35:21 AM Subject: RE: User defined Notifications
DFM Works like a charm for us. Included a sample of the mail, [some company specific info stripped], that DFM sends when a User is over Quota. The mail is fully customizable. The DFM_ stuff is substituted with info from DFM when the mail is sent.
One gottcha. (DFM version 3.2) We have DFM set to send these once per week. If, in the middle of the week, I restart the filer's disk quota system, then DFM will send these e-mails. Even if a full week has not elapsed. I have to be careful when adjusting quotas to avoid sending out too many alerts. This mostly happens when we adjust tree quotas. For user quotas, I have several default qtrees. To increase a user quota have been moving that H: folders to different qtrees to increase the quota. It's a bit kludgy but it appears to work okay for us (8,500 H: drives).
I do not know if it's possible, in DFM, to have these messages sent in real-time. As people exceed their quotas. If you have an app that will read SNMP traps, it's probably possible to create a custom app that will do this.
From: Subject: City IT-ACTION REQUEST-Automatic reminder to clean out nearly-full computer network drives
Your DFM_QUOTA_TYPE quota on DFM_QUOTA_FILE_SYSTEM_NAME (H: Drive)
You (as user "DFM_QUOTA_USER_NAME") have used up DFM_QUOTA_PERCENT_USED (DFM_QUOTA_USED out of DFM_QUOTA_LIMIT) of available DFM_QUOTA_TYPE quota on DFM_QUOTA_FILE_SYSTEM_NAME.
Acti 1. Get into the daily habit of deleting files no longer needed. If you're not sure what files should be kept, please contact your business unit Records Coordinator. Computer "H" drives primarily should be storing work in progress. Completed work should be stored in your departmental shared ("S" or other letter) drive.
2. If you think your files require more storage space, you can request a file quota increase by submitting a Help Desk request. This will require approval from your supervisor.
Questions or help? Please contact your
Event (For IT Use only): DFM_LINK_EVENT
Thanks for your assistance and support - Information Technology
NOTICE - This communication is intended ONLY for the use of the person or entity named above and may contain information that is confidential or legally privileged. If you are not the intended recipient named above or a person responsible for delivering messages or communications to the intended recipient, YOU ARE HEREBY NOTIFIED that any use, distribution, or copying of this communication or any of the information contained in it is strictly prohibited. If you have received this communication in error, please notify us immediately by telephone and then destroy or delete this communication, or return it to us by mail if requested by us. The City of Calgary thanks you for your attention and co-operation.
-----Original Message----- From: owner-toasters@mathworks.com [mailto:owner-toasters@mathworks.com] On Behalf Of Christian Mikovits Sent: Monday, January 15, 2007 1:42 AM To: toasters@mathworks.com Subject: User defined Notifications
Hi there,
I wanted to ask if a filer supports notification for users regarding the fill level of a volume. i know it's possible with external monitoring tools (nagios), but i need something like snmp traps or mails.
thx,
christian
____________________________________________________________________________________ TV dinner still cooling? Check out "Tonight's Picks" on Yahoo! TV. http://tv.yahoo.com/