Skip to contentSkip to conversation

counting web traffic

LARTC Payal Rathod 5 participants 8 messages Sep 15, 2003 – Sep 16, 2003

lore
Share & tools
lore
#0 lore raw

Hi,
When the webhosting comanies say that they give you say 10Mb webspace and 200Mb data transfer per month, how do they count data tranfer for that domain?

I am unable to figure it out.

With warm regards,
-Payal
p.s. hope this is not too OT here.

Signature · 5 lines
For GNU/Linux Success Stories and Articles visit:
          http://payal.staticky.com
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
#1 lore raw

Hi Payal,

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Payal" = Payal Rathod <[email protected]> writes:

Payal> Hi, When the webhosting comanies say that they give you say Payal> 10Mb webspace and 200Mb data transfer per month, how do Payal> they count data tranfer for that domain?

Payal> I am unable to figure it out.

Payal> With warm regards, -Payal p.s. hope this is not too OT Payal> here.

If you are giving one IP per site it's pretty simple: just have your router account traffic by IP. You can do it on the server system itself too with fake (accounting-only) iptables rules. See the discussion here a couple of weeks ago for more details on how to achieve that.

If you have IPs shared across multiple sites you need to do much more work. Depending on the services you're offering your clients, you may have to make separate summations from HTTP, HTTPS, SMTP, POP3, IMAP, FTP and SSH logs (I wonder if ssh logs contain data transfers) and summarise them into a single figure each month.

Regards,

-- Raju

Signature · 6 lines
Raj Mathur                [email protected]      http://kandalaya.org/
       GPG: 78D4 FC67 367F 40E2 0DD5  0FEF C968 D0EF CC68 D17F
                      It is the mind that moves
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
#2 lore raw
In reply to Payal Rathod

Apache Logfiles count outbound data, thats how I have been doing it.

Thanks,
Aaron Daniels
Chincogan Network Services
http://www.chincogan.net.au/

Quoted 5 lines · On Mon, 15 Sep 2003 15:16:13 +0000 Payal Rathod <[email protected]>…

Hi,
When the webhosting comanies say that they give you say 10Mb webspace and 200Mb data transfer per month, how do they count data tranfer for that domain?

Quoted 13 lines

I am unable to figure it out.

With warm regards,
-Payal
p.s. hope this is not too OT here.

Signature · 5 lines
For GNU/Linux Success Stories and Articles visit:
          http://payal.staticky.com
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

#3 lore raw
In reply to Payal Rathod

I am sorry for the goof up in my earlier mail.

As suggested earlier, using router to count traffic is best way to go. If you have a router which can't provide the accounting, you can consider using a netflow probe.

Venkatesh K

----- Original Message -----
From: "Venkatesh. K" <[email protected]>
To: <[email protected]>
Sent: Tuesday, September 16, 2003 7:17 AM
Subject: Re: [LARTC] counting web traffic

Quoted 7 lines

Generally, ISP's use Netflow for accounting the IP traffic. This is the standard feature in most routers.

Apage Logfiles does not give you full account.

As suggested earlier, using router to count traffic is best way to go. If you don't have a router which can't provide the accounting, you can

consider

Quoted 40 lines

using a netflow probe.

Venkatesh. K

----- Original Message -----
From: "Chincogan Network Services Lists" <[email protected]>
To: <[email protected]>
Sent: Tuesday, September 16, 2003 4:16 AM
Subject: Re: [LARTC] counting web traffic

Quoted 28 lines

Apache Logfiles count outbound data, thats how I have been doing it.

Thanks,
Aaron Daniels
Chincogan Network Services
http://www.chincogan.net.au/

Quoted 18 lines · On Mon, 15 Sep 2003 15:16:13 +0000 Payal Rathod <[email protected]>…

Hi,
When the webhosting comanies say that they give you say 10Mb webspace and 200Mb data transfer per month, how do they count data tranfer for that domain?

I am unable to figure it out.

With warm regards,
-Payal
p.s. hope this is not too OT here.

Signature · 5 lines
For GNU/Linux Success Stories and Articles visit:
          http://payal.staticky.com
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Quoted 9 lines
Quoted 4 lines

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

#4 lore raw
In reply to Payal Rathod

Generally, ISP's use Netflow for accounting the IP traffic. This is the standard feature in most routers.

Apage Logfiles does not give you full account.

As suggested earlier, using router to count traffic is best way to go. If you don't have a router which can't provide the accounting, you can consider using a netflow probe.

Venkatesh. K

----- Original Message -----
From: "Chincogan Network Services Lists" <[email protected]>
To: <[email protected]>
Sent: Tuesday, September 16, 2003 4:16 AM
Subject: Re: [LARTC] counting web traffic

Quoted 28 lines

Apache Logfiles count outbound data, thats how I have been doing it.

Thanks,
Aaron Daniels
Chincogan Network Services
http://www.chincogan.net.au/

Quoted 5 lines · On Mon, 15 Sep 2003 15:16:13 +0000 Payal Rathod <[email protected]>…

Hi,
When the webhosting comanies say that they give you say 10Mb webspace and 200Mb data transfer per month, how do they count data tranfer for that domain?

Quoted 13 lines

I am unable to figure it out.

With warm regards,
-Payal
p.s. hope this is not too OT here.

Signature · 5 lines
For GNU/Linux Success Stories and Articles visit:
          http://payal.staticky.com
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Quoted 4 lines

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

#5 lore raw
In reply to Payal Rathod
Quoted 5 lines · Venkatesh. K

I am sorry for the goof up in my earlier mail.

As suggested earlier, using router to count traffic is best way to go. If you have a router which can't provide the accounting, you can consider using a netflow probe.

But what if I have only 1 ip and multiple domains hosted on it? What use is router then here.

Regards,
-Payal

Signature · 5 lines
For GNU/Linux Success Stories and Articles visit:
          http://payal.staticky.com
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
#6 lore raw
In reply to Payal Rathod

Try webalizer. http://www.mrunix.net/webalizer/

Thanks,
Rajesh

-----Original Message-----
From: [email protected] [mailto:[email protected]]On Behalf Of Payal Rathod
Sent: Tuesday, September 16, 2003 10:01 AM
To: Venkatesh. K
Cc: [email protected]
Subject: Re: [LARTC] counting web traffic

Quoted 5 lines · Venkatesh. K

I am sorry for the goof up in my earlier mail.

As suggested earlier, using router to count traffic is best way to go. If you have a router which can't provide the accounting, you can consider using a netflow probe.

But what if I have only 1 ip and multiple domains hosted on it? What use is router then here.

Regards,
-Payal

Signature · 9 lines
For GNU/Linux Success Stories and Articles visit:
          http://payal.staticky.com
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
#7 lore raw
In reply to Payal Rathod

If it is a virtual hosting, then you have to rely on Apache logs as suggested earlier.

You will find lots of tools to parse Apache logs and generate reports.

Venkatesh. K

----- Original Message -----
From: "Payal Rathod" <[email protected]>
To: "Venkatesh. K" <[email protected]>
Cc: <[email protected]>
Sent: Tuesday, September 16, 2003 10:01 AM
Subject: Re: [LARTC] counting web traffic

Quoted 4 lines · Venkatesh. K
Quoted 3 lines

I am sorry for the goof up in my earlier mail.

As suggested earlier, using router to count traffic is best way to go.

If

Quoted 16 lines
Quoted 2 lines

you have a router which can't provide the accounting, you can consider using a netflow probe.

But what if I have only 1 ip and multiple domains hosted on it? What use is router then here.

Regards,
-Payal

Signature · 5 lines
For GNU/Linux Success Stories and Articles visit:
          http://payal.staticky.com
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/