On Fri, 20 Feb 2004, aiggno wrote: > Hi all, > > When monitoring the Squid with mrtg, with cacheServerInKb&cacheServerOutKb > variables, I got these output: > > Server traffic volume (In/Out): > Max Traffic In 73.7 M b/min Average Traffic In 32.6 M b/min Current > Traffic In 53.4 M b/min > Max Traffic Out 4706.0 k b/min Average Traffic Out 1615.0 k b/min > Current Traffic Out 2574.0 k b/min > > What does it mean ? How can the traffic to the cache in 73 Mb/minute while > the traffic out is only about 5 Mb/minute ?
These two variables monitor the amount of traffic between Squid and the origin (and peer) servers. Your Squid is sending 5 Mb/minute of data out to origin servers (request headers etc), and receiving 73 Mb/minute of data back. If you want to monitor the amount of data sent by Squid to clients then this is cacheHttpOutKb. I usually plot these combinations: cacheServerInKb & cacheHttpOutKb cacheHttpInKb & cacheServerOutKb This gives nice graphs of the traffic in both directions and the impact of the cache. Regards Henrik
