There are huge discrepencies between the mrtg graphs and cpanel. What all does cpanel track for bandwidth? Just the outgoing port 80? Does it track FTP incoming or outgoing? Does it detect stuff ftp\'ed in from shell?
Thanks
There are huge discrepencies between the mrtg graphs and cpanel. What all does cpanel track for bandwidth? Just the outgoing port 80? Does it track FTP incoming or outgoing? Does it detect stuff ftp\'ed in from shell?
Thanks
It only checks http bandwidth. Nothing else. And it only checks http bandwidth to the main domains it does not include subdomains.
Damn that sucks big time. Is there anything out there that will let me check everything for different domains?
Bandmin checks each IP. But all accounts on the same IP will be grouped together. It should be installed try youdomain.com/bandwidth/
N/M I see
[Edited on 12/8/01 by JeremyL]
So basically, all sites MUST have their own IP to track their usuage?
That is bad :/
Any other way around this for a virtual hosting provider?
--James
[quote:26ce504d9a]So basically, all sites MUST have their own IP to track their usuage?
That is bad :/
Any other way around this for a virtual hosting provider?
--James [/quote:26ce504d9a]
Yeah, use a better control panel.
Or edit the httpd.conf so all sub domains use the same bytes-log file as the main domain.
Karl Austin
KDA Web Services Ltd.
Use a better control panel?
Such as?
Ensim is SO bad it makes me cringe.
Plesk is pure evil.
WHM/Cpanel is nice, but could be improved - maybe nocsoft (if it is ever more than an imagination fed to us by the Cpanel team) will fix it all
Web Panel or whatever VDI\'s is looks quite nice now (from what William was showing off).
--James
Easyer to write a small shell script to add all the byte logs for each domain together.![]()
Did somebody just praise VDI/webpanel?
If you think any of that insanity will ever materialize into anything worthwhile you are living in a pseudo-parallel universe.
My dealings with that illustrious company are long and based on sheer intelligence.
*cough*
:P
Steeeeeeeeeeeeer clear.
..............................
http://www.fastservers.net/
travis@fastservers.net
..............................
We just ended up writing a script to go through httpd.conf and change it so that subdomains will be logged in with the main account bandwidth usage.
http://100megswebhosting.com
You mean the script changed the domlog/access log path for each subdomain to append to the log of the primary account?
Right-O? That\'s not a bad idea.....
![]()
..............................
http://www.fastservers.net/
travis@fastservers.net
..............................
I noticed there are byte logs for ftp.domains.com to. Are you making those go into the same log?
If so, what do you want for the script?![]()
Yup,
Just goes through and modifies the byteslog and customlog lines to dump into the main account logs instead of the subdomain ones. Took about 15 minutes to make and test it. This way it shows up as their bandwidth as well as in their stats in cpanel.
http://100megswebhosting.com