2010-05-25 04:24 AM
I am not sure about scripts or filer. But we have a product called Operations Manager (part of DFM suite) that can do more than what you expect.
The below are the events Operations Manager can generate right today after monitoring your storage system's quota setup:
2010-05-25 05:52 AM
Yes, I'm looking at DFM right now. It looks a bit complicated to navigate and configure. Under Setup menu, parameters regarding quota notifications can be found in Default Thresholds, Events And Alerts and Users. And you can also choose a specific qtree, and click on Edit Quota Settings and work there. This discussion here also mentioned having to create notification groups and it seems it's not very easy to grasp...
Other than this guide http://now.netapp.com/NOW/knowledge/docs/DFM_win/r
P.S. Just a thought... since Operations Manager is a part of Base Pack software pack, this may work for users which have purchased NetApp recently. Old users may not have that option.
2010-05-25 02:21 PM
Need to create an email account for the user in DFM. domainname\username email address is email@example.com This is in quota user settings. I can send a screenshot if you like.
I would like to change the default email address from the sender of the email notification. Right now, emails being sent to users come from "IT Administrator".
2010-05-26 05:20 AM
I didn't read the linked articles but we're doing quota notifications with DFM. See the "dfm quota mailformat" command - it allows you to specify an email template file, and in that file you can specify your own mail headers. For example, at the top of the file I have:
Subject: Your personal drive is nearing its quota limit
You place the desired sender's email address in the From: field.
2010-05-26 07:38 AM
I have given step-by-step procedure below which you can use to configure quota alerts for individual users.
1=> Set your email server @ Setup -> Options -> Events and Alerts
2=> Look at the default quota thresholds @ Setup -> Options -> Default Thresholds
3=> Set your e-mail domain-name @ Setup -> Options -> Users. You can leave this field empty if you specify complete e-mail address at User settings page @ step7.
4=> Check that you set the credentials for the storage systems (which have user quotas) being monitored in DFM using dfm host set <storage system> hostlogin=xxxx hostpassword=xxxx. This is needed for the discovery of User quotas. Once the credentials are set, re-discover the storage system using 'dfm host discover <storage_system>'. This is required to keep DFM to have up-to-date information with respect to storage system.
5=> Wait for few mins (till userquotas mon completes) and launch "User Quotas All" Report (Go to Control Center -> Home -> Group Status -> File SRM/Quotas -> Report -> User Quotas, All)
6=> "User Quotal, All" page will show you all the usernames for whom quotas are configured.
7=> Click on one of the Usernames which will launch "User Details" page. Click "Edit Settings" link available in the bottom panel "QuotaUser Tools". It will launch "Edit User Settings" page where you can specify the e-mail address for the user.
8=> You need to repeat the above step for all the users. If you are not comfortable with UI, you can do this using CLI.
dfm quota user list
dfm quota user set <username> userEmailfirstname.lastname@example.org
A simple script might help you here.
Hope these steps help you to fix your problem.
2010-05-27 01:16 AM
Thanks for the reply Saranavan,
I'll give it a try today!
One thing though... while testing quotas, I noticed that FilerView immeditelly registers when some exceeds their quota. However, DFM doesn't... it's only after I manually issue "dfm host discover <storage_system>" command that it registeres the change, and even than it'll be after a few minutes.
Is there a way to have DFM keep up with the changes in real-time, automatically?