Dear Toasters, I would like to monitor and send out alerts to CIFS users when they hit their disk quota thresholds. I am sure some of you are doing this now.
I have setup up quotas and thresholds and see the entries in the etc/messages file (which is mounted on a Linux host) The entries have the SID instead of the user name, like the entry below.
Fri Aug 29 07:38:22 PDT [quota.softlimit.exceeded:notice]: Threshold exceeded for user S-1-5-21-1177238915-1993962763-725345543-10399, tree 1 on volume vol1
Is there a way to get this message logged as a more human readable format ? i.e. something like
Fri Aug 29 07:38:22 PDT [quota.softlimit.exceeded:notice]: Threshold exceeded for user jdoe, tree 1 on vol1
Currently I use Nagios (www.nagios.org) to send out alerts to the admin when these messages are logged, but would like to send the alerts to the user directly, may be also add their current quota, space used & % used.
Any pointers?
thanks in advance
-G