Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Nov 2000 10:04:20 +1100
From:      Nick Slager <nicks@albury.net.au>
To:        tonyvee <tonyvee@tonyvee.org>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Problems with SNMP & Squid 2.3
Message-ID:  <20001115100420.B3444@albury.net.au>
In-Reply-To: <Pine.BSF.4.21.0011131934380.7264-100000@tonyvee.org>; from tonyvee@tonyvee.org on Mon, Nov 13, 2000 at 07:53:53PM -0700
References:  <Pine.BSF.4.21.0011131934380.7264-100000@tonyvee.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Thus spake tonyvee (tonyvee@tonyvee.org):

> Can someone please provide some examples of a squid.conf that allows SNMP  
> connections to Squid version 2.3.STABLE4. I'm trying to create a graph 
> using MRTG.
> 

acl snmpusers src 1.2.3.4/255.255.255.255
acl snmp snmp_community Your_Community_String
snmp_access allow snmp snmpusers
snmp_access deny all

Don't forget to configure squid with --enable-snmp.

BTW: This is all pretty clear from the Squid SNMP FAQ:
http://www.squid-cache.org/Doc/FAQ/FAQ-18.html. It's always a good idea
to check the docs first :-)

Regards,


Nick

-- 
 From a Sun Microsystems bug report (#4102680):
  "Workaround: don't pound on the mouse like a wild monkey."



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001115100420.B3444>