Tuesday, January 29, 2008

Monitoring Squid on Localhost

I found a good article about monitoring squid using squidclient - below is the same method but used for monitoring local squid only :

Install squidclient :

sudo apt-get install squidclient

Some useful commands :

squidclient mgr:info
squidclient mgr:refresh
squidclient mgr:counters
squidclient mgr:utilization
squidclient mgr:5min
squidclient mgr:60min
squidclient mgr:mem

squidclient can also be used to monitor remote squid server :

squidclient -h ip_address -p port_number mgr:info

No comments: