Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Page 1 of 2 1 2 LastLast
Results 1 to 15 of 17
  1. #1
    Member Solokron's Avatar
    Join Date
    Aug 2003
    Posts
    783

    Question Logschedule and Statselect

    I just noticed in the latest releases the logschedule and statselect addon modules. How are these utilized once installed?

  2. #2
    cPanelBilly
    Guest

    Default

    From WHM you can select what hours logs can run

  3. #3
    Member Solokron's Avatar
    Join Date
    Aug 2003
    Posts
    783

    Default

    Where in WHM? What about statselect?

  4. #4
    Member Solokron's Avatar
    Join Date
    Aug 2003
    Posts
    783

    Default

    Anyone?
    *

  5. #5
    Member Solokron's Avatar
    Join Date
    Aug 2003
    Posts
    783

    Default

    I found the problem regarding logschedule...

    "Installed Version: failed"

    In terms of stats. I see under the add-on section how to configure it but how to clients configure which stat programs they want to utilize? I don't see any options in the control panel for assigned users.

  6. #6
    cPanel Partner NOC cPanel Partner NOC Badge jester.ro's Avatar
    Join Date
    Feb 2004
    Location
    Bucharest, Romania
    Posts
    304

    Default

    1. logschedule works only with version 9.8.x or newer.
    kinda' silly if you ask me, cose 9.8.x it's just been released...eeerrr...edged.
    therefore the error.

    2. statselect work ok. BUT: you must be using X or X2 theme for the client. Dunno why, but a link to stats select on the client side is only added for x. Not for bluelagoon, which i use for 90% of my clients.

  7. #7
    Member Solokron's Avatar
    Join Date
    Aug 2003
    Posts
    783

    Default

    Where is it located in X?

    Quote Originally Posted by jester.ro
    1. logschedule works only with version 9.8.x or newer.
    kinda' silly if you ask me, cose 9.8.x it's just been released...eeerrr...edged.
    therefore the error.

    2. statselect work ok. BUT: you must be using X or X2 theme for the client. Dunno why, but a link to stats select on the client side is only added for x. Not for bluelagoon, which i use for 90% of my clients.

  8. #8
    cPanel Partner NOC cPanel Partner NOC Badge jester.ro's Avatar
    Join Date
    Feb 2004
    Location
    Bucharest, Romania
    Posts
    304

    Default

    Should be the last icon, bottom. It has a grey background also.

    If you can't see it, then it means you did not onfigure it corectly.
    In whm, go to the last link in the left frame. And there you can configure it. Make sure you "add" the user(s) that will be able to see the link in their cpanel.

  9. #9
    Member
    Join Date
    Jul 2003
    Posts
    138

    Default statselect appears in my resellers WHM too

    statselect appears in my resellers WHM too (not a problem) However they are able to change the settings for ALL domains on the server

  10. #10
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    May 2003
    Location
    Ukraine
    Posts
    195
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Anybody knows how2: disable autostatistic by default and allow any user (even new created) to enable stat for him?

    Which settings should be?
    Regards, Alexey

  11. #11
    Member Solokron's Avatar
    Join Date
    Aug 2003
    Posts
    783

    Default

    I wouldn't mind seeing this. This would lower loads on servers dramatically.

    Quote Originally Posted by AlexAT
    Anybody knows how2: disable autostatistic by default and allow any user (even new created) to enable stat for him?

    Which settings should be?

  12. #12
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    May 2003
    Location
    Ukraine
    Posts
    195
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    But here is the best thing:

    After enabling the statselect any reseller can see **ALL** accounts (not just his own) and make stat changes for them


    "Version: 1.0rc3" - who can say more...
    Regards, Alexey

  13. #13
    Member
    Join Date
    Apr 2003
    Posts
    142

    Default

    Quote Originally Posted by AlexAT
    Anybody knows how2: disable autostatistic by default and allow any user (even new created) to enable stat for him?

    Which settings should be?

    I'm not sure what you mean by "disable autostatistic by default". Do you mean disable all stats programs for every user but allow the user to enable them?

    If so then this would work for you. Just set it up in /etc/cron.hourly (or daily).

    Code:
    #!/usr/local/bin/php -q
    
    <?php
    
    $userlist = `ls -1 /var/cpanel/users/`;
    $userlist = preg_replace("/\n/", ",", $userlist);
    $userlist = substr_replace($userlist,"",-1);
    
    $statsfile = "DEFAULTGENS=\nVALIDUSERS=$userlist";
    $file = "/etc/stats.conf";    
    if (!$file_handle = fopen($file,"w")) { echo "Cannot open file"; }
    if (!fwrite($file_handle, $statsfile)) { echo "Cannot write to file"; }   
    echo "Stats configuration Updated with:\n\n$statsfile";    
    fclose($file_handle);
    
    ?>
    Before doing this I would recommend that you backup your existing stats.conf file and also pico /etc/stats.conf to see how it's setup now. You may want to modify the "DEFAULTGENS=" line. For example, I have webalizer enabled by default so mine looks like DEFAULTGENS=WEBALIZER.

    Michael

  14. #14
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    May 2003
    Location
    Ukraine
    Posts
    195
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Thank you!
    I'd rather see this as cPanel feature.

    If they allow to manipulate statistic on account basis they should provide "enable all and exclude particular" and "disable all and exclude particular" functionailty to this feature.
    Regards, Alexey

  15. #15
    Member
    Join Date
    Apr 2003
    Posts
    142

    Default

    Quote Originally Posted by AlexAT
    Thank you!
    I'd rather see this as cPanel feature.

    If they allow to manipulate statistic on account basis they should provide "enable all and exclude particular" and "disable all and exclude particular" functionailty to this feature.
    Yep, definitely.

Similar Threads & Tags
Similar threads

  1. statselect - Gone again!
    By jols in forum cPanel and WHM Discussions
    Replies: 9
    Last Post: 11-27-2005, 09:53 PM
  2. logschedule
    By netlook in forum cPanel Developers
    Replies: 0
    Last Post: 12-08-2004, 05:29 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube