The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Disable Statistics for Certain Accounts?

Discussion in 'General Discussion' started by Jeff75, Oct 16, 2003.

  1. Jeff75

    Jeff75 Well-Known Member

    Joined:
    Apr 11, 2003
    Messages:
    555
    Likes Received:
    0
    Trophy Points:
    16
    Is there anyway that I can disable Analog, Webalizer, and AwStats for certain accounts instead having them update stats for every single account? I offer several different plans and the first plan just comes with Analog, and the rest come with Webalizer and AwStats and not Analog. I would like to keep the stat programs that don't come with certain plans to keep them from filling up users quotas.

    Also, some clients are going over their disk space because their stats included within the quota. Some of them do not want any of them and would like to have them disabled so they can have more disk space.

    If anybody knows how to do this I'd appreciate it if you could let me know. It would be nice if a feature was added in cPanel where clients had to click a button to enable the stats programs instead of them running for every account regardless if they want them or not.
     
  2. FWC

    FWC Well-Known Member

    Joined:
    May 13, 2002
    Messages:
    354
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Ontario, Canada
    You can edit the:

    /var/cpane/users/accountname

    file and add settings for the stats packages.

    skipanalog=1
    skipawstats=1
    skipwebalizer=1

    Will turn them off and override the server setttings. I even had one client who wanted Analog. I added

    skipanalog=0

    and it worked for him even though it was off for the server.
     
  3. Jeff75

    Jeff75 Well-Known Member

    Joined:
    Apr 11, 2003
    Messages:
    555
    Likes Received:
    0
    Trophy Points:
    16
    Thanks for the info! I'm glad to hear there's a way to disable/enable it for certain accounts.

    Now....if there was just a way that it would be off for every account then clients would have to submit a form in their cPanel to active the statistics program they would like to use.
     
  4. goodmove

    goodmove Well-Known Member

    Joined:
    May 12, 2003
    Messages:
    624
    Likes Received:
    0
    Trophy Points:
    16
    WOW! I never knew you could put these in the user file... I wonder if some other tweaks (from cpanel.config) would work too. ;)
     
  5. Jeff75

    Jeff75 Well-Known Member

    Joined:
    Apr 11, 2003
    Messages:
    555
    Likes Received:
    0
    Trophy Points:
    16
    I think whatever settings are available in the "Tweak Settings" page in WHM you would be able to use in the individual user pages.

    I have disabled all three statistics programs server-wide and if a client complains about it, then I will enable it for their account. I think it's overkill to generate the stats for every single account three different times unless they really want this. I just wish there was a button they could click to enable it in cPanel, instead of having to open a ticket and have me do it manually.
     
  6. goodmove

    goodmove Well-Known Member

    Joined:
    May 12, 2003
    Messages:
    624
    Likes Received:
    0
    Trophy Points:
    16
    Do you need to restart Cpanel after putting those settings in the user's file?
     
  7. Jeff75

    Jeff75 Well-Known Member

    Joined:
    Apr 11, 2003
    Messages:
    555
    Likes Received:
    0
    Trophy Points:
    16
    Yes, you will need to restart cPanel for the changes to take effect.
     
  8. FWC

    FWC Well-Known Member

    Joined:
    May 13, 2002
    Messages:
    354
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Ontario, Canada
    I've used the same method to turn off some of the webmail options for clients. One guy only wants SquirrelMail so I added:

    skiphorde=1
    skipneomail=1

    to his file. :cool:
     
  9. goyo

    goyo Member

    Joined:
    Jun 17, 2003
    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    It not works here...

    I did that...restarted the server...but the server still running awstats periodicaly for that account (generates major slowdowns)...

    Anybody else has the same problem?
     
  10. silvernetuk

    silvernetuk Well-Known Member

    Joined:
    Sep 2, 2002
    Messages:
    311
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    United Kingdom
    Will this also work for Urchin 4 and 5 ?

    Regards,
    Garry
     
  11. silvernetuk

    silvernetuk Well-Known Member

    Joined:
    Sep 2, 2002
    Messages:
    311
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    United Kingdom
    Hi,

    I client of mine only want Neomail, I have been able to get rid of Horde but am can't get rid of Squirrelmail for the account, I tryed skipsquirrelmail=1 but that doesn't seem to work anyone have any other ideas ?

    Regards,
    Garry
     
  12. Cyber911

    Cyber911 Member

    Joined:
    May 24, 2003
    Messages:
    19
    Likes Received:
    0
    Trophy Points:
    1
    Hi,

    it's called
    skipsqmail=1

    MfG

    Sven B. 8)
     
  13. hoobastank68

    hoobastank68 Active Member

    Joined:
    Jun 13, 2003
    Messages:
    32
    Likes Received:
    0
    Trophy Points:
    0
    Hi,

    I have disabled webalizer but have enabled it for bout 2-3 domains. Somehow it's not updating and i tried many fixes and doesnt work. CPanel support just responded with whats your root and havnt heard a thing from them ever since...the support is really getting horrible and considering we're paying customers... :rolleyes:

    Any help would be appreciated! :cool:
     
    #13 hoobastank68, Feb 4, 2004
    Last edited: Feb 4, 2004
  14. ShelaghG

    ShelaghG Active Member

    Joined:
    Apr 11, 2002
    Messages:
    38
    Likes Received:
    0
    Trophy Points:
    6
    I've just been told that the above fix doesn't actually stop the stats being created it just removes the icon from Cpanel. How would I stop the stats being created at all for a particular domain please?

    Thanks
     
  15. adapter

    adapter Well-Known Member
    PartnerNOC

    Joined:
    Sep 17, 2003
    Messages:
    391
    Likes Received:
    0
    Trophy Points:
    16
    i have check the /var/cpane/users/accountname but i can only find account information as FTP, quota , bandwidth etc but not:
    skipanalog=1
    skipawstats=1
    skipwebalizer=1

    using Cpanel 9
     
  16. nickn

    nickn Well-Known Member
    PartnerNOC

    Joined:
    Jun 15, 2003
    Messages:
    619
    Likes Received:
    1
    Trophy Points:
    18
    You have to add these lines.
     
  17. registerpol

    registerpol Member

    Joined:
    Feb 25, 2003
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Montreal
    backup

    What about skiping backup

    skipbackup =1 // would be good ?
     
  18. rvskin

    rvskin Well-Known Member
    PartnerNOC

    Joined:
    Feb 19, 2003
    Messages:
    400
    Likes Received:
    1
    Trophy Points:
    18
    Re: backup

    You can do it in latest WHM /backup.
     
  19. registerpol

    registerpol Member

    Joined:
    Feb 25, 2003
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Montreal
    Re: Re: backup


    of course this has been done already. was just curious :D
     
  20. Michael-MS

    Michael-MS Well-Known Member

    Joined:
    Apr 16, 2003
    Messages:
    144
    Likes Received:
    0
    Trophy Points:
    16
    This entire thread is very misleading. :mad:

    Code:
    skipanalog=1
    skipawstats=1
    skipwebalizer=1
    Adding those lines to /var/cpanel/users/*username* only disables the stats icons from showing up in cPanel.
    It does NOT disable the stats from running! Ugh!!!!!!!

    Michael
     
Loading...

Share This Page