14.4 Exercises

  • Write a shell script that uses squidclient to collect and save the total number of HTTP requests and the five-minute median overall response time.

  • Write a shell script to periodically retrieve and archive the running configuration. It should also compare the current and most recent configurations and email you the changes, if any.

  • Download, compile, and install the NET-SNMP package. Use snmpwalk to view Squid's entire MIB tree.

  • Create and deploy a simple redirector (Chapter 11) that sleeps for 250 milliseconds on each request. Watch the cache manager's redirector page as Squid runs.



    Appendix A. Config File Reference