Per package/plan disable statistics

jonium

Verified User
Joined
Nov 10, 2010
Messages
208
Location
Alezio - Lecce- Apulia - South Italy
Hello,
we provide a free package plan for dns management only, it would be very nice to disable statistics for that because the space continuously grows and if I set a limit it is always exceedeed.
Actually DA doesn't allow to disable statistics for package (plans), anyway is it safe and correct to delete or rename the file /home/yyy/domains/xxxxx.xxx/awstats/.data/awstats.xxxxx.xxx.conf ?
 
Last edited:
The question is:
is there a list of domains to be processed stored anywhere else?
if not I think it's safe to delete those .conf files and awstats, when nightly processing stats, will proceed to the subsequent domain without errors.
I would be sure not to break the awstats process
 
It was discussed recently on the forums, and it can also be found in the docs.

If you want to disable awstats and webalizer, use these values in the directadmin.conf file to disable them:
awstats=0 webalizer=0 and restart directadmin.

If you do it this way, then it's server wide.
 
seems it doesn't work with plans.
I added

Code:
awstats=0
webalizer=0

in
/usr/local/directadmin/data/resellername/packages/plansname.pkg

Then create from the reseller a new virtual host with that plan and it doesn't have

Code:
awstats=0
webalizer=0
in the user.conf

Gretings,
Pier Paolo Ronzino
 
Last edited:
Back
Top