<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>The cPanel Admin &#187; stats</title>
	<atom:link href="http://www.thecpaneladmin.com/tag/stats/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.thecpaneladmin.com</link>
	<description>We know stuff about cPanel.</description>
	<lastBuildDate>Mon, 21 Nov 2011 19:50:55 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Allowing Users to Customize AwStats</title>
		<link>http://www.thecpaneladmin.com/users-customize-awstats/</link>
		<comments>http://www.thecpaneladmin.com/users-customize-awstats/#comments</comments>
		<pubDate>Wed, 21 Jul 2010 15:39:48 +0000</pubDate>
		<dc:creator>Vanessa</dc:creator>
				<category><![CDATA[Misc]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[stats]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://www.thecpaneladmin.com/?p=505</guid>
		<description><![CDATA[You can allow users to use their own configuration file for AwStats in case they are in need of customizations not provided by the server&#8217;s main config.  To enable this option, add the following to /etc/stats.conf: allow_awstats_include=1 Alternatively, you can go to WHM &#62; Statistics Software Configuration, and click on Allow Awstats configuration Include file [...]


Related posts:<ol><li><a href='http://www.thecpaneladmin.com/statistics-management/' rel='bookmark' title='Statistics Management'>Statistics Management</a></li>
<li><a href='http://www.thecpaneladmin.com/installing-and-configuring-dovecot/' rel='bookmark' title='Installing and Configuring Dovecot'>Installing and Configuring Dovecot</a></li>
<li><a href='http://www.thecpaneladmin.com/resolving-domain-park-wrapper-errors/' rel='bookmark' title='Resolving Domain Park Wrapper Errors'>Resolving Domain Park Wrapper Errors</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>You can allow users to use their own configuration file for AwStats in case they are in need of customizations not provided by the server&#8217;s main config.  To enable this option, add the following to /etc/stats.conf:</p>
<blockquote><p>allow_awstats_include=1</p></blockquote>
<p>Alternatively, you can go to <em>WHM</em> &gt; <em>Statistics Software Configuration</em>, and click on Allow <strong>Awstats configuration Include file</strong></p>
<p>This will allow users to have an <strong>awstats.conf.include </strong>file in /home/$username/tmp/awstats, which can be used to override settings from the main AwStats configuration for the server.</p>
<p><map name='google_ad_map_505_78e79355861d63ba'>
<area shape='rect' href='http://imageads.googleadservices.com/pagead/imgclick/505?pos=0' coords='1,2,367,28' />
<area shape='rect' href='http://services.google.com/feedback/abg' coords='384,10,453,23'/></map>
<img usemap='#google_ad_map_505_78e79355861d63ba' border='0' src='http://imageads.googleadservices.com/pagead/ads?format=468x30_aff_img&amp;client=&amp;channel=&amp;output=png&amp;cuid=505&amp;url= http%3A%2F%2Fwww.thecpaneladmin.com%2Fusers-customize-awstats%2F' /></p><img src="http://www.thecpaneladmin.com/?ak_action=api_record_view&id=505&type=feed" alt="" />

<p>Related posts:<ol><li><a href='http://www.thecpaneladmin.com/statistics-management/' rel='bookmark' title='Statistics Management'>Statistics Management</a></li>
<li><a href='http://www.thecpaneladmin.com/installing-and-configuring-dovecot/' rel='bookmark' title='Installing and Configuring Dovecot'>Installing and Configuring Dovecot</a></li>
<li><a href='http://www.thecpaneladmin.com/resolving-domain-park-wrapper-errors/' rel='bookmark' title='Resolving Domain Park Wrapper Errors'>Resolving Domain Park Wrapper Errors</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.thecpaneladmin.com/users-customize-awstats/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Statistics Management</title>
		<link>http://www.thecpaneladmin.com/statistics-management/</link>
		<comments>http://www.thecpaneladmin.com/statistics-management/#comments</comments>
		<pubDate>Wed, 03 Feb 2010 13:41:59 +0000</pubDate>
		<dc:creator>Vanessa</dc:creator>
				<category><![CDATA[Misc]]></category>
		<category><![CDATA[stats]]></category>
		<category><![CDATA[whm]]></category>

		<guid isPermaLink="false">http://www.thecpaneladmin.com/?p=202</guid>
		<description><![CDATA[One of the more important features to customers is the ability to view and analyze their web traffic. CPanel offers three statistics programs for end users to view their stats, all of which are free and open source: Analog AwStats Webalizer Configuring Stats In WHM, go to Statistics Software Configuration and select which statistics programs [...]


Related posts:<ol><li><a href='http://www.thecpaneladmin.com/users-customize-awstats/' rel='bookmark' title='Allowing Users to Customize AwStats'>Allowing Users to Customize AwStats</a></li>
<li><a href='http://www.thecpaneladmin.com/cpanel-command-line-dns-cluster-management/' rel='bookmark' title='cPanel Command Line DNS and Cluster Management'>cPanel Command Line DNS and Cluster Management</a></li>
<li><a href='http://www.thecpaneladmin.com/cpanel-out-of-memory-errors/' rel='bookmark' title='cPanel Out of Memory Errors'>cPanel Out of Memory Errors</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>One of the more important features to customers is the ability to view and analyze their web traffic. CPanel offers three statistics programs for end users to view their stats, all of which are free and open source:</p>
<ul>
<li>Analog</li>
<li>AwStats</li>
<li>Webalizer</li>
</ul>
<h2><strong>Configuring Stats</strong></h2>
<p>In WHM, go to <strong>Statistics Software Configuration</strong> and select which statistics programs to enable. The go to <strong>WHM &gt; Tweak Settings</strong> as well and check the same stats programs under &#8220;<em>Stats Programs</em>&#8220;. Usually though checking them in one place or the other will enable them in both places.</p>
<p><a href="http://www.thecpaneladmin.com/wp-content/uploads/2010/02/statsconf1.png"><img class="aligncenter size-medium wp-image-203" title="statsconf1" src="http://www.thecpaneladmin.com/wp-content/uploads/2010/02/statsconf1-300x194.png" alt="" width="300" height="194" /></a>You also want to set the update frequency of the logs, usually to 24 hours. You can check the box for allowing Awstats override configuration files as well, so that users will have their own awstats.conf they can modify in their tmp folders.</p>
<p><a href="http://www.thecpaneladmin.com/wp-content/uploads/2010/02/statsconf2.png"><img class="aligncenter size-medium wp-image-204" title="statsconf2" src="http://www.thecpaneladmin.com/wp-content/uploads/2010/02/statsconf2-300x95.png" alt="" width="300" height="95" /></a></p>
<p>With this, you&#8217;ll need to verify into WHM &gt; <strong>Tweak Settings</strong> the following value:</p>
<p><code>Number of days between processing log files and bandwidth usage (default 1, decimal values are ok)</code></p>
<p>Again, the Tweak settings and stats configuration are essentially the same setting, so updating one should update them both.</p>
<p>Now that stats will be running on a normal schedule, you can make additional configurations. In WHM &gt; Tweak Settings, go to the Stats and Logs section and you&#8217;ll find a number of settings that you can configure:</p>
<ul>
<li>Allow users to update Awstats from cPanel &#8211; This will put an &#8216;Update Now&#8217; link in awStats for each user so they can run their own stats. Keep in mind that if you enabled the local Awstats config for users, they can override this setting.</li>
<li>Delete each domain&#8217;s access logs after stats run &#8211; If this is checked, the domain&#8217;s stats in /usr/local/apache/domlogs will be removed after each stats run</li>
<li>The load average above the number of cpus at which logs file processing should be suspended (default 0) &#8211; What server load will caused the stats to stop running</li>
<li>Awstats Reverse Dns Resolution &#8211; This resolves IPs in Awstats to hostnames. This can degrade performance on more populated servers, but seems to be preferred by end users.</li>
</ul>
<p>Managing Stats</p>
<p>You can set time exclusions to indicate when stats should not be running. This is useful for servers that tend to have higher load during the day. To enforce this restriction, edit <strong>/etc/stats.conf</strong> and set:</p>
<p><code>BLACKHOURS=8,9,10,11,12,13,14,15</code></p>
<p>In that example, stats will not run between 8am and 3pm.</p>
<p>In <strong>WHM &gt; Statistics Software Configuration</strong>, you can see if your server&#8217;s stats are running properly. If they are, you should see this:</p>
<p><strong><span style="color: #00aa00;">The server currently is able to keep up with your statistics processing schedule.</span></strong></p>
<p><strong></strong>If the message says otherwise, and your stats are not up to date, you may need to make changes to how you are running your statistics. Meaning, if you have a lot of users on the server, you may want to consider making one or more of the following changes:</p>
<ul>
<li>Narrow the blackout hours (if specified)</li>
<li>Increase the load limit for processing stats in WHM &gt; Tweak Settings</li>
<li>Change the frequency in which logs are being run, to allow more time</li>
</ul>
<p>You may also want to see if there are any very large logs files in /usr/local/apache/domlogs, that could be taking a long time to run.  You may want to consider moving that user to another server or running their stats manually via cron job at a certain time every day.</p>
<p>To run a user&#8217;s stats manually, you can use WHM &gt; Statistics Software Configuration, or use:</p>
<p><strong>/scripts/runweblogs &lt;user&gt;</strong></p>
<p>If stats have not been updating at all, it&#8217;s possible that cpanellogd isn&#8217;t running. Try restarting cPanel, and run <strong>/scripts/runlogsnow</strong></p>
<p><map name='google_ad_map_202_78e79355861d63ba'>
<area shape='rect' href='http://imageads.googleadservices.com/pagead/imgclick/202?pos=0' coords='1,2,367,28' />
<area shape='rect' href='http://services.google.com/feedback/abg' coords='384,10,453,23'/></map>
<img usemap='#google_ad_map_202_78e79355861d63ba' border='0' src='http://imageads.googleadservices.com/pagead/ads?format=468x30_aff_img&amp;client=&amp;channel=&amp;output=png&amp;cuid=202&amp;url= http%3A%2F%2Fwww.thecpaneladmin.com%2Fstatistics-management%2F' /></p><img src="http://www.thecpaneladmin.com/?ak_action=api_record_view&id=202&type=feed" alt="" />

<p>Related posts:<ol><li><a href='http://www.thecpaneladmin.com/users-customize-awstats/' rel='bookmark' title='Allowing Users to Customize AwStats'>Allowing Users to Customize AwStats</a></li>
<li><a href='http://www.thecpaneladmin.com/cpanel-command-line-dns-cluster-management/' rel='bookmark' title='cPanel Command Line DNS and Cluster Management'>cPanel Command Line DNS and Cluster Management</a></li>
<li><a href='http://www.thecpaneladmin.com/cpanel-out-of-memory-errors/' rel='bookmark' title='cPanel Out of Memory Errors'>cPanel Out of Memory Errors</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.thecpaneladmin.com/statistics-management/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

