Search squid archive

Re: squid + network interfaces + mrtg

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks Kabindra for your response. I think, I lag behind in explaining my problem in more details. I am not concerned with creating just a mrtg graph for traffic on interfaces but rather more specific trarric through interfaces. I think mrtg creates a graph on the basis of snmp polls. I am looking for something like traffic analyzer that it sniffs the types of traffic on the interfaces and graphs for each IP addressses. However, I did not find any open source software that listens on several interfaces at a time and graph on the basis of different subnet.

As I am concerned with measuring only http traffic (or others through proxy), I guess I could achieve this by analyzing the squid log files (access.log).

My Scenario:
-----------------
Six NIC card on a "*transparent proxy*" server and internet gateway firewall.. 5 NIC card to the LAN side on five different netwoks ( 192.168.0.0/24, 192.168.1.0/24 ....192.168.5.0/24). The 1 NIC card to the WAN side (public IP). All the hosts connect to the internet through this transparent proxy. I would like to graph internet usage on each LAN. I could not do mrtg as it polls the interface and graph accumulating all kinds of traffic, even the one those communicating between LANs. I just need the traffic from each LAN card to the WAN card. I could have done simple arithmetic in the mrtg target, however its not possible in my case ( believe me, I can't ! I can explain why in more details ).

If you can suggest how can I sniff (tools/software) the packets on several interfaces at a time then my problem would be solved. I think it could also be done analyzing the squid log files. Please comment/suggest.

regds.
Rajendra





kabindra shrestha wrote:

check this site for configuring mrtg and snmp. This page will guide you to create mrtg for your network interfaces. The "mrtg.cfg" portion is sufficient for creating mrtg for network interfaces, concentrate on that and try to understand it thorougly then u can easily create the mrtg graph. http://www.linuxhomenetworking.com/wiki/index.php/Quick_HOWTO_:_Ch22_:_Monitoring_Server_Performance

For creating mrtg for squid check this site there are some errors in the given squid.cfg file u ve to check it and configure it.
http://www.linuxjunkies.in/post-3195.html
On 3/15/06, *Rajendra Adhikari* <rajendra@xxxxxxxxxxxxx <mailto:rajendra@xxxxxxxxxxxxx>> wrote:

    Hi,
    I have five different networks connected to a linux box with squid
    (Squid Cache: Version 2.5.STABLE12 ; configure options:
    --enable-linux-netfilter --enable-delay-pools --enable-snmp
    --enable-removal-policies ) installed in it and acting as a
    transparent
    proxy.
    I need to create a mrtg graph that shows the traffic seperately
    through
    each network. Please suggest some basic theory, tutorials or web links
    to fulfill this requirement.
    I will appreciate your help and suggestion.

    Best Regds,
    Rajendra Adhikari.


------------------------------------------------------------------------

No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.385 / Virus Database: 268.2.4/282 - Release Date: 3/15/2006


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux