Re: [squid-users] squid SNMP acl
> > May i use squid and snmpd? > > Squid can respond directly to snmp ask. > You may use any tool you like to contact Squid for SNMP data. As long as the tool can handle SNMPv2 non-bulk request/response it is expected to do fine. The catch that needs v2 is because some tables of ie client IP addresses are not always incrementally increasing values. Amos
Re: [squid-users] squid SNMP acl
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.
Re: [squid-users] squid SNMP acl
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.
Re: [squid-users] squid SNMP acl
Your SNMP section into squid.conf must be like that: # SNMP acl snmpcommunity snmp_community public snmp_port 3401 snmp_access allow snmpcommunity localhost snmp_access deny all And, at your snmpd.conf that it's on the same same server of squid, must contain this line: proxy -v 2c -c public localhost:3401 .1.3.6.1.4.1.3495.1 On Fri, Mar 13, 2009 at 11:11 AM, Merdouille wrote: > > Hi everybody > > Now one of my squid servers does every things i wanted to, i try snmp > features > > acl snmppublic snmp_community public > acl manager src 192.168.100.194 > snmp_port 3401 > snmp_access allow snmppublic > snmp_access allow manager > snmp_access deny all > > snmp_incoming_address 0.0.0.0 > snmp_outgoing_address 255.255.255.255 > > > It's impossible to retreive data from 192.168.100.194 > > And i try smp_access allow all for testing and i only can retreive data from > localhost. > > Any idea? > > i tryed > -- > View this message in context: > http://www.nabble.com/squid-SNMP-acl-tp22497151p22497151.html > Sent from the Squid - Users mailing list archive at Nabble.com. > >
[squid-users] squid SNMP acl
Hi everybody Now one of my squid servers does every things i wanted to, i try snmp features acl snmppublic snmp_community public acl manager src 192.168.100.194 snmp_port 3401 snmp_access allow snmppublic snmp_access allow manager snmp_access denyall snmp_incoming_address 0.0.0.0 snmp_outgoing_address 255.255.255.255 It's impossible to retreive data from 192.168.100.194 And i try smp_access allow all for testing and i only can retreive data from localhost. Any idea? -- View this message in context: http://www.nabble.com/squid-SNMP-acl-tp22497151p22497151.html Sent from the Squid - Users mailing list archive at Nabble.com.