You can use them together, but you can't bind squid to the standard
SNMP UDP/161 port if snmpd is also bound to that port.
In my setup, I have snmpd configured to proxy requests for squid's MIB
to squid, which is listening on localhost:1610:
squid.conf:
acl snmpcommunity snmp_community foobar
snmp_port 1610
snmp_access allow snmpcommunity localhost
snmp_access deny all
Then in /etc/snmpd.conf:
proxy -m /usr/local/squid/share/mib.txt -v 1 -c foobar localhost:1610 .
1.3.6.1.4.1.3495.1
This will save you from having to configure a custom port in your snmp
queries.
-C
On Mar 16, 2009, at 11:13 AM, Merdouille wrote:
>
> May i use squid and snmpd?
>
> Squid can respond directly to snmp ask.
>
>
> --
> View this message in context: http://www.nabble.com/squid-SNMP-acl-tp22497151p22540328.html
> Sent from the Squid - Users mailing list archive at Nabble.com.
>
Received on Tue Mar 17 2009 - 00:09:23 MDT
This archive was generated by hypermail 2.2.0 : Tue Mar 17 2009 - 12:00:03 MDT