Real Time Proxy Server Monitoring

Monitoring proxy server access is really important for network admin, and this is true for any network administrator from as simple as Internet Cafe, Government Organization, Educational Institution or even Home network. In this article I’ll be using squid as my proxy server, so you’ll need to install special software to monitor your proxy server.

So I assume you already have squid installed as proxy server on your machine, and run without any trouble. You need to install a software called sqstat that will monitor your squid access in real time.

Steps to install and configure sqstat:

  1. Download sqstat packet
    [root@rendy ~]# wget http://samm.kiev.ua/sqstat/sqstat-1.20.tar.gz
  2. Extract sqstat packet that you just download
    [root@rendy ~]# tar -zxvf sqstat-1.20.tar.gz
  3. Move directory that you just extract to your webserver directory
    [root@rendy ~]# mv sqstat-1.20 /var/www/html/sqstat
  4. Configure you config.inc.php in your sqstat directory
    [root@rendy ~]# cd /var/www/html/sqstat/
    [root@rendy sqstat]# mv config.inc.php.defaults config.inc.php
    [root@rendy sqstat]# vi config.inc.phpchange this line DEFINE(“SQSTAT_SHOWLEN”,60); to DEFINE(“SQSTAT_SHOWLEN”,100); and save the configuration.
  5. Edit your squid configuration
    [root@rendy ~]# vi /usr/local/squid/etc/squid.conf
    ##add this line to your squid config fileacl manager proto cache_object
    acl webserver src 192.168.1.1/255.255.255.000 ##Edit with your own IP address
    http_access allow manager webserver
    http_access deny manager

    ##save your config file

  6. You’re ready, now time to test, Try open your browser and access http://your.proxy.server/sqstat/sqstat.php

You good to go!

Related entries:

  1. Linux Tips : Automatically find Fastest Repository Server in Ubuntu
  2. Linux Tips : Setting Java programming environment in Ubuntu Linux
  3. Linux Command Line Guide

1 comment to Real Time Proxy Server Monitoring

Leave a Reply

 

 

 

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>