How to monitor the visitors, bandwidth, and resource usage in cPanel
Monitoring the traffic, bandwidth and the visitors of your site is essential for developing a successful website. In this tutorial we will cover the basics on how to perform such tasks and how to read the logs provided by your cPanel.
I. Monitoring the latest visits of your site:
Step 1. Log into the desired cPanel account
Step 2. Navigate to the Logs section of th cPanel and click on the Latest visitors icon.
Step 3. You will be re-directed to a different page containing a list of all of your domains, clicking the magnifying glass icon next to each of them will show you detailed stats regrding the recent visits on this domain ( IP, User Agent, Referral links, URL visited).
If you want the information for all of your domain visits all at once you can simply use the Raw Access Logs button in the Logs section of your cPanel, however those logs will not be as well structured like the ones in the Latest visitors one.
II. Bandwidth usage monitoring.
Step 1. Log into your cPanel account.
Step 2. Navigate to the Logs section and click on the Bandiwidth icon as shown in the image above.
Step 3. You will get automatically redirected to a new page containing the graphs describing your bandwidth usage for tha past (Day, 7 days, 12 months, 3 months).
You will also be shown what kind of traffic is generated at most (Http, Pop3, IMAP, SMTP, or FTP)
III. Resource usage.
Step 1. Clicking the Resource Usage button in the Logs section of your cPanel will take you to a new page showing an overview of your resource usage, however this page does not tell us much.
Step 2. Clicking on the [details] link at the bottom will show an advanced graph on how much resources your cPanel account is consuming as a whole.
The usage column shows the currentl Usage of the resource, the Limit one shown the maximum value you can reach and the Fault one showns the number of times this value has been exceeded.
Monitoring the resource usage of your account is extremely important in order to keep everything in track and prevent those pesky 500 server errros from popping up.