Re: [squid-users] http_access traffic

2012-10-16 Thread Amos Jeffries

On 15/10/2012 9:33 p.m., Ibrahim Lubis wrote:

I use this line to allowed some traffic
Acl vlan2 src 10.10.13.0/24
Http_access allow vlan2

Can i monitor traffic with snmp for certain vlan i allowed?

Thx


Not easily. Squid records statistics per-client not per-subnet.

You have to find the individual client IPs in the SNMP client table and 
monitor their traffic usage while adding them all together to get the 
subnet usage.


It would be easier (but not as accurate) to create a logging daemon that 
monitored the log and reported traffic usage back to your other systems.


Amos


Re: [squid-users] http_access traffic

2012-10-16 Thread Ibrahim Lubis
Logging daemon?  syslog?  what do you mean by other system?

-Original Message-

From: Amos Jeffries
Sent: 16 Oct 2012 06:47:04 GMT
To: squid-users@squid-cache.org
Subject: Re: [squid-users] http_access traffic

On 15/10/2012 9:33 p.m., Ibrahim Lubis wrote:
 I use this line to allowed some traffic
 Acl vlan2 src 10.10.13.0/24
 Http_access allow vlan2

 Can i monitor traffic with snmp for certain vlan i allowed?

 Thx

Not easily. Squid records statistics per-client not per-subnet.

You have to find the individual client IPs in the SNMP client table and
monitor their traffic usage while adding them all together to get the
subnet usage.

It would be easier (but not as accurate) to create a logging daemon that
monitored the log and reported traffic usage back to your other systems.

Amos


[squid-users] http_access traffic

2012-10-15 Thread Ibrahim Lubis
I use this line to allowed some traffic
Acl vlan2 src 10.10.13.0/24
Http_access allow vlan2 

Can i monitor traffic with snmp for certain vlan i allowed? 

Thx