Quota Usage

Daskew

Verified User
Joined
May 25, 2006
Messages
80
Location
Clitheroe, UK
Hi, Ive been speaking with DA tech suppport who suggested I posted in here.

I have 4 packages, each one will have the ability to ether suspend their account if they reach their monthly quota or run over their monthly quota, depending on if they selected to allow their account to run over when they signed up.

I need something which will tell me how much bandwidth a user has used over their monthly quota if they ran over. Also if they run over it should notify me when they do and also at the end of their month.

Is this possible? Are any of you scripting gods able to do this?

Thanks.
 
DirectAdmin notifies you every day if a user is over quota. What else do you need?

Jeff
 
Something that notifies me at the last point before their account quota resets (or roughly within an hour before it resets) how much bandwidth their account has used that month so I can bill them accordingly.
 
Log in as the user, then look at the Site Summary / Statistics / Logs and then at the User History.

Now to automate it, all you have to do is figure out where DirectAdmin stores the information and set a cronjob to mail it to you. This has been discussed before; perhaps searching these forums will tell you where it's stored.

Jeff
 
On our servers we see one line for each month. Do you see something else?

Jeff
 
I dont see anything yet as its a new install. Im hoping to go live soon and trying to get this right first time really.
 
Back
Top