Posts

Showing posts with the label MRTG

MRTG for SQUID

Image
MRTG for SQUID gives you a detail idea of what is happening behind the scene. In this tutorial I'll make sure that you will successfully set up one like below. First thing is to make sure that you have given --enable-snmp option while compiling your squid. If you have not done so then its time to do so. Compile your squid with --enable-snmp and then 'make clean', 'make', and 'make install' Edit you squid.conf file so that snmp_port 3401 acl snmppublic snmp_community public snmp_access allow snmppublic localhost snmp_access deny all The first line defines the port SNMP is listening on squid. Second line defines public as the community string or lets say password. Third line defines that from localhost snmp query can be made to squid. Fourth line denies query from all.(except localhost) Now you need a web server to serve the graphs. Download apache from http://www.reverse.net/pub/apache/httpd/httpd-2.2.6.tar.bz2 mv ./httpd-2.2.6.tar.bz2 /usr/loca...