What bandwidth does CPanel track?

JeremyL

Well-Known Member
Aug 10, 2001
87
0
306
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
 

Daniel

Well-Known Member
PartnerNOC
Aug 13, 2001
165
0
316
It only checks http bandwidth. Nothing else. And it only checks http bandwidth to the main domains it does not include subdomains.
 

JeremyL

Well-Known Member
Aug 10, 2001
87
0
306
Damn that sucks big time. Is there anything out there that will let me check everything for different domains?
 

Daniel

Well-Known Member
PartnerNOC
Aug 13, 2001
165
0
316
Bandmin checks each IP. But all accounts on the same IP will be grouped together. It should be installed try youdomain.com/bandwidth/
 

WildWayz

Well-Known Member
Aug 14, 2001
209
0
316
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
 

Karl

Well-Known Member
PartnerNOC
Aug 10, 2001
85
1
308
[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.
 

WildWayz

Well-Known Member
Aug 14, 2001
209
0
316
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
 

feanor

Well-Known Member
Aug 13, 2001
836
0
316
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.
 

Reuben

Active Member
PartnerNOC
Aug 12, 2001
25
0
301
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.
 

feanor

Well-Known Member
Aug 13, 2001
836
0
316
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.....

:cool:
 

JeremyL

Well-Known Member
Aug 10, 2001
87
0
306
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? :)
 

Reuben

Active Member
PartnerNOC
Aug 12, 2001
25
0
301
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.
 

asuservice

Well-Known Member
Oct 24, 2001
85
0
306
Question .... In /var/cpanel/bandwidth I have looked over the files and found the bandwidth reported there is higher than viewed through WHM ... is this total bandwidth?

Thanks in advance

Mike
 

Kiwi

Well-Known Member
Aug 11, 2001
75
0
306
[quote:409227f6fc]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 [/quote:409227f6fc]

Maybe something new is coming out soon. Who knows? :D :)

[Edited on 12/14/01 by Kiwi]
 

moronhead

Well-Known Member
Aug 12, 2001
706
0
316
[quote:75a3e3ce9f]
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).
[/quote:75a3e3ce9f]I think Karl meant the H-Sphere control panel from psoft.net. He was hanging about in their forum the other day enquiring about installation on his servers.:D