Differences between version 18 and predecessor to the previous major change of ProxyServerNotes.
Other diffs: Previous Revision, Previous Author, or view the Annotated Edit History
| Newer page: | version 18 | Last edited on Thursday, January 8, 2004 5:50:55 pm | by MattBrown | Revert |
| Older page: | version 17 | Last edited on Wednesday, November 12, 2003 5:39:36 pm | by PerryLorier | Revert |
@@ -24,30 +24,13 @@
* Dates on reports spanning weeks or months are often wrong - all the data is there but the title of the report says it only covers 2-5 days.
* Only shows reports of the percentage of traffic that was/was not served from the cache. Does not give an actual byte count. Sure it is easy to calculate it from the total but it would be even easier if it did it for me.
! Log Analysis (srg)
-SRG is a replacement for sarg
written for [CRCnet]. It has been released under
the GPL and is intended
to fix
the problems
of sarg mentioned above
and many more
. SRG is designed
to be fast
and flexible
.
+SRG is a fast and flexible log analyser written in C/C++, it was
written by MattBrown while working
for [CRCnet] because none of
the existing log analysation programs such as sarg were adequate. In particular SRG allows you to generate reports right down
to the level
of each file requested from a site,
and reports can be generated in plain html or using PHP to allow you to easily integrate with your squid authentication system to restrict access to all or parts of the report
. Another useful feature of
SRG is the ability
to generate an email every time a report is generated summarising the traffic used during the reporting period.
+
+SRG is released under the GPL
and is under active development
.
Find out more about srg at http://www.crc.net.nz/software/srg.php
-
------
-
-To get around the above limitation with sarg not reporting the amount of traffic fetched you can enable SNMP on squid with the following config options
-
- acl snmp_private snmp_community private
- snmp_port 3401
- snmp_access allow snmp_public localhost
- snmp_access deny all
-
-Note that squid listens on a non-standard SNMP port by default which means that things like PHP will refuse to talk to it. You can specify that squid should listen on 161? or whatever the standard SNMP port is and then proxy requests through to your normal SNMPD but that seems kinda icky to me.
-
-So once you have squid giving out SNMP data you can use the following scripts to generate some summaries from it.
-
-[squid-current-users]%%%
-[squid-snmp-get]%%%
-[squid-traffic-stats]%%%
-
-Note: These scripts are notoriously innacurate and unreliable :)
----
To set things up so that your web browsers auto detect your proxy server, investigate [WPAD], the Web Proxy Auto Detection script.
