Hi,

At 22.04 12/08/2006, Bob Morrison wrote:

I'm trying to get MRTG to help me monitor Squid performance.

I found some documentation on how to set up the squid part on this URL
http://www.arnes.si/~matija/utrecht/labwork.html

Here are the lines that "need" to be added to my squid.conf file
        snmp_port 3401
        snmp_mib_path /local/squid/etc/mib.txt
        snmp_agent_conf view all .1.3.6 included
        snmp_agent_conf view squid .1.3.6 included
        snmp_agent_conf user squid - all all public
        snmp_agent_conf user all all all all  squid
        snmp_agent_conf community public squid squid
        snmp_agent_conf community readwrite all all
        acl snmpmanagementhosts 192.168.10.20/255.255.255.0
192.168.10.101/255.255.255.0
        snmp_acl public deny all !snmpmanagementhosts
        snmp_acl readwrite deny all

......

Reading through the squid.conf that came with 2.6STABLE2, I don't see any
reference to many of these statements, so that explains why the parser had
problems

Correct, they aren't 2.6 squid.conf options. The site is for old Squid 2.1, with a different syntax.


Does anyone have any squid.conf statements to allow MRTG to monitor squid?
I'm using MRTG 2.14.5

Look here for an example:

http://squid.acmeconsulting.it/mrtg.html

Regards

Guido



-
========================================================
Guido Serassio
Acme Consulting S.r.l. - Microsoft Certified Partner
Via Lucia Savarino, 1           10098 - Rivoli (TO) - ITALY
Tel. : +39.011.9530135  Fax. : +39.011.9781115
Email: [EMAIL PROTECTED]
WWW: http://www.acmeconsulting.it/

Reply via email to