Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Tips/Tricks/Mods

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #91  
Old 6th January 2011, 13:04
djtremors djtremors is offline
Senior Member
 
Join Date: Apr 2006
Location: Sydney
Posts: 278
Thanks: 0
Thanked 12 Times in 10 Posts
Default

I would tend to believe more that the both run but depending on the number of hits (size of log file) more than anything. A bigger log file on the first site will lag the process of the next one.etc.

Awstats it meant to run just before the log was rotated if it was modified as per the instruction I wrote (where you modified the cron php file or replace webalizer bin with a script). Are you running the awstats_updateall.pl perl script doing all websites at once via cron by chance?
__________________
www.emperor-it.com for ISPConfig mods/hacks
Reply With Quote
Sponsored Links
  #92  
Old 6th January 2011, 14:38
Agent_M Agent_M is offline
Junior Member
 
Join Date: Jul 2010
Location: Perth, Australia
Posts: 29
Thanks: 5
Thanked 3 Times in 3 Posts
Default

however ispc3.0.3 is set up to do it, is how its doing it, I haven't changed or modified anything from default

and thinking about it, I am not so sure about what I said before, If the log files were rotating at about the same time as awstats, then I wouldn't be getting 30 mins worth of data for this site, I would either get 1 or 2 mins worth, or 24 hours 30mins worth, but I am getting 30 mins worth. for this one site, so I'm a little confused now.

What is the best way to confirm when the log files are being rotated? the 2011mmdd-access.log.gz files all have a changed time of 12:31am give or take a minute, which is why I said I thought they were rotating at about the same time as awstats was building the stats.
__________________
If it ain't broke, then take it apart to see what makes it so bloody special!!!

Last edited by Agent_M; 6th January 2011 at 14:49.
Reply With Quote
  #93  
Old 6th January 2011, 17:43
Agent_M Agent_M is offline
Junior Member
 
Join Date: Jul 2010
Location: Perth, Australia
Posts: 29
Thanks: 5
Thanked 3 Times in 3 Posts
Default

Actually don't worry about this just yet, Just noticed there is a 3.0.3.2 update available, applied the update about 10 mins before awstats was due to run, and seems it has fixed the issue for me Thanks

I'll post back if I'm wrong, but looks good. Although I am still having trouble with this one relating to search terms etc ( http://www.howtoforge.com/forums/sho...137#post248137 )
__________________
If it ain't broke, then take it apart to see what makes it so bloody special!!!
Reply With Quote
  #94  
Old 10th January 2011, 16:32
radim_h radim_h is offline
Senior Member
 
Join Date: Jan 2007
Location: Prague, Czech
Posts: 420
Thanks: 33
Thanked 24 Times in 19 Posts
Send a message via ICQ to radim_h
Default default tepmplate for awastats config files?

Hello Guys,

I cannot find default template for awstats.
Where is the template file or script creating /etc/awstats/awstats.domain.tld.conf ?
i want to add some directives for each conf file...

OR should i include my own directives for each stats any how?

is the files /etc/awstats/awstats.conf or /etc/awstats/awstats.conf.local reflected when stats are created? it doesnt seems this way for me...

and also: is there global password function as in ISPC2 ??

thanks for any hint
Reply With Quote
  #95  
Old 10th January 2011, 17:09
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,046
Thanks: 826
Thanked 5,388 Times in 4,233 Posts
Default

The awstats file gets created by the cron_daily.sh script, there is currently no template for it. Might be a goiod idea to add this as template in future.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #96  
Old 10th January 2011, 17:45
radim_h radim_h is offline
Senior Member
 
Join Date: Jan 2007
Location: Prague, Czech
Posts: 420
Thanks: 33
Thanked 24 Times in 19 Posts
Send a message via ICQ to radim_h
Default

together with global password for system administrator (eg. i want to see customer's stats), i assume there is no function like this
Reply With Quote
  #97  
Old 11th January 2011, 01:27
djtremors djtremors is offline
Senior Member
 
Join Date: Apr 2006
Location: Sydney
Posts: 278
Thanks: 0
Thanked 12 Times in 10 Posts
Default

Radim_h: not if you use the static page version built into ispc3, the dynamic plugin I wrote does and you modify it in the beginning of the script.

Also as a note, the dynamic plugin version uses the /etc/awstats/awstats.model.conf as a template and does site specific in the domains conf file/

it's all there in the script, have a read.
__________________
www.emperor-it.com for ISPConfig mods/hacks
Reply With Quote
The Following User Says Thank You to djtremors For This Useful Post:
radim_h (12th January 2011)
  #98  
Old 12th January 2011, 08:10
radim_h radim_h is offline
Senior Member
 
Join Date: Jan 2007
Location: Prague, Czech
Posts: 420
Thanks: 33
Thanked 24 Times in 19 Posts
Send a message via ICQ to radim_h
Default

Hope dynamic plugin will work fine, i'm wondering why your dynamic plugin for ISPC2 was never included in default setup...

how that nice theme of yours, everything works fine with it ?
Reply With Quote
  #99  
Old 12th January 2011, 09:54
djtremors djtremors is offline
Senior Member
 
Join Date: Apr 2006
Location: Sydney
Posts: 278
Thanks: 0
Thanked 12 Times in 10 Posts
Default

Use the dynamic plugin for ispconfig3, it was designed for it. ispc2 works differently but had the same basic concept/function as the way awstats for ispc3 was made (well 3 was based of 2).

yeah that theme will not work as of 3.0.3 (I believe was) due to the new additional "Home" tab at the top. It basically played bad to it I think but I can't remember now, didn't look into it much and might just work off the new default template and tweak it from there and save as a new template again.
I think this is the first of any positive feedback I've had of the theme so thanks, I was kind of trying to pretty it up and make it have more room with a slicker look..etc.etc. hehe
I want to investigate on making it look like Plesk/CPanel but not too sure how well the template will handle that and my css/html ain't the best either.
__________________
www.emperor-it.com for ISPConfig mods/hacks
Reply With Quote
  #100  
Old 27th January 2011, 10:31
radim_h radim_h is offline
Senior Member
 
Join Date: Jan 2007
Location: Prague, Czech
Posts: 420
Thanks: 33
Thanked 24 Times in 19 Posts
Send a message via ICQ to radim_h
 
Default

There is version 7.0 of awstats since December
http://awstats.sourceforge.net/
will try to install that dynamic plugin this weekend
Reply With Quote
Reply

Bookmarks

Tags
awstats plugin

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ISPConfig 3.0.0.7 Beta released till General 78 24th December 2008 11:47
Cant update ispconfig and awstats install issue supervos Installation/Configuration 6 4th November 2007 10:12
ISPConfig 2.2.13 released till General 35 23rd July 2007 16:28
Another Awstats Configuration Thingy For ISPConfig asyadiqin Installation/Configuration 2 6th August 2006 13:20
SP-Server Setup - Ubuntu 5.10 "Breezy Badger" - Page 6 (changes) LuisC-SM HOWTO-Related Questions 0 21st April 2006 15:16


All times are GMT +2. The time now is 14:32.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.