Deploy squidanalyzer on v.l.o

Bug #1006252 reported by Spring Zhang
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
LAVA Validation Lab
Fix Released
Low
Spring Zhang

Bug Description

Suggest to deploy one squid analyzer from http://squidanalyzer.darold.net/ on v.l.o.

It can analyze squid access log, list the full statistics about times, hits, bytes, users, networks, top urls and top domains, gives us an overview of squid usage, which can help tune the squid configurations to adapt more to v.l.o tarball cache usage.

Revision history for this message
Spring Zhang (qzhang) wrote :

Do the following actions:
1. install libgd2-xpm-dev
2. perl -MCPAN -e 'install GD::Graph::bars3d'
3. download squid analyzer
4. compile it:
perl Makefile.PL
 make
 make install

5. modified dogfood to test:
diff /etc/apache2/sites-available/dogfood.validation.linaro.org dogfood.validation.linaro.org
18,25d17
< Alias /squidreport /var/www/squidanalyzer
< <Directory /var/www/squidanalyzer>
< Options -Indexes FollowSymLinks MultiViews
< AllowOverride None
< Order deny,allow
< allow from all
< </Directory>
<

6. it needs to reboot the httpd daemon to try, but I don't know now is the right time to restart it.

Changed in lava-lab:
status: New → In Progress
importance: Undecided → Low
Spring Zhang (qzhang)
Changed in lava-lab:
milestone: none → 2012.06
Revision history for this message
Spring Zhang (qzhang) wrote :

Added the following to /etc/apache2/sites-enabled/staging.validation.linaro.org.conf:

    Alias /squidreport "/var/www/squidanalyzer"
    <Directory /var/www/squidanalyzer>
        Options Indexes FollowSymLinks MultiViews
        AllowOverride None
        Order deny,allow
        allow from all
    </Directory>

    <Location /squidreport>
        SetHandler none
    </Location>

And set a cron job for squidanalyzer by 'crontab -e':
0 2 * * * /usr/local/bin/squid-analyzer > /dev/null 2>&1

You can see a demo on http://staging.validation.linaro.org/squidreport/ now.

Revision history for this message
Spring Zhang (qzhang) wrote :
Changed in lava-lab:
status: In Progress → Fix Committed
status: Fix Committed → Fix Released
Revision history for this message
Spring Zhang (qzhang) wrote :

Same modification added to /etc/apache2/sites-enabled/002-validation.linaro.org.conf

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.