Indunil Jayasooriya wrote:
Hi Everyone,
I have the need of monitoring squid web browsing . So I am going to
use sarg. It usually shows all the ip addresses.
I want to excldue ip addresses of some managers from sarg.
So , I think If I can exclude those ips from squid access.log, It
would be a solution.
and also, Can I exclude ftp access to some ip addresses?
Pls grant your advice.
From the default sarg.conf:
# TAG: exclude_hosts file
# Hosts, domains or subnets will be excluded from reports.
#
# Eg.: 192.168.10.10 - exclude ip address only
# 192.168.10.0 - exclude full C class
# s1.acme.foo - exclude hostname only
# acme.foo - exclude full domain name
#
Also:
# TAG: exclude_string
"string1:string2:...:stringn"
# Records from access.log file that contain one of listed strings
will be ignored.
#
One of those should work.
Chris