bandwidth calculation stopped working ....

maxhost

Well-Known Member
Jan 30, 2002
72
0
306
just saw that bandwidth calculation stopped to work in WHM since the 1° of july.

anyone else with this problem?

A way to fix this?

Thanks
 

Elena

Well-Known Member
Aug 10, 2001
108
1
316
California
Are you referring to WHM bandwidth or bandwidth calcs in bandmin?

To try to get the WHM bandwidth calculating.. try:
/scripts/runweblogs
/scripts/fixsubdomainlogs

I just came in here looking to see if anyone else's bandmin is going crazy. My bandwidth in WHM is okay, banwidth totals in bandmin are okay to and match up closely with my MRTG... the only strange thing is that it is only showing the server IP stats and broadcast.. all the other IP accounts on the server aren't getting listed.. even though they all have more than 1mb of bandwidth already for the month. Strange... any ideas?
 

maxhost

Well-Known Member
Jan 30, 2002
72
0
306
hi elena,
i referring to WHM and CPanel bandwidth all they are on 000000

/scripts/runweblogs doesn't let me update all accounts bu only one per one.

is there another way to fix this problem?

thanks
 

maxhost

Well-Known Member
Jan 30, 2002
72
0
306
how to send a bug report..??
have CPanel support delet possibilities to send bug reports!?

OK found it. Will send a bug report...
This feature is very important because i have no way to check bandwitdh for accounts....also bandwith can not ben limited ....
 

Elena

Well-Known Member
Aug 10, 2001
108
1
316
California
you might also try /scripts/runlogsnow
I think that starts the logs for every domain and not individually.
 

maxhost

Well-Known Member
Jan 30, 2002
72
0
306
yes elena seems to work. Bandwidth for 50% of website works now. I will wait another dat to see if all comes back..

:)
 

maxhost

Well-Known Member
Jan 30, 2002
72
0
306
sorry i am wrong... it works olny for 50% of account in WHM but not in CPanel...


:-((
 

justin

Member
Sep 6, 2001
13
0
301
little script

heres a small script to update all users stats

[code:1:043993bc7e]
#!/bin/bash
cd /home;
for i in `ls | grep -v .gz | grep -v .tar | grep -v .rpm | grep -v .tgz | grep -v aquota.user | grep -v cpanel | grep -v apache | grep -v .sea`;
do /scripts/runweblogs $i;
echo &Logs are done for $i&;
done;
echo &All Done&;
[/code:1:043993bc7e]
 

shaun

Well-Known Member
PartnerNOC
Verifed Vendor
Nov 9, 2001
702
1
318
San Clemente, Ca
cPanel Access Level
DataCenter Provider
Twitter
justin

cd /home;for i in *;do if [ -d $i ]; then /scripts/runweblogs $i;echo logs done for $i;fi;done;echo &all done&

or better yet.

cd /var/cpanel/users;for i in *;do /scripts/runweblogs $i;echo logs done for $i;done;echo &all done&


:p ;)