SRG Analyzer

Is an squid event analyzer, Which we can view user requests, the amount of visits and the bandwidth used.


/etc/srg/srg.conf

log file "var/log/squid3/access.log"            #the location of squid's events
output_dir "/var/www/srg_reports"               #the location of SRG's events
iouput_url "/srg_reports"                       #accessing to SRG interface through web
resource_dir "/usr/local/share/srg"             #path of SRG's resources
groupby "U"                                     #'U' Grouping of users by username;'S' or subnet 'A' or IP address
nonameexists_showip true                        #The client will display the IP if there is no username    
show_times true                                 #The amount of time the user request was loaded
show_rates                                      #The rate of transfer of user requests

Test Results

#lins2 -g 127.0.0.1/srg_reports

Leave a Reply

Your email address will not be published. Required fields are marked *