I am out of ideas. I copy-pasted your config to my Squid-2.5
development version and copy-pasted your snmpwalk command and it just
worked.
As the query is reaching Squid but is rejected it should be an issue
with snmp_access. It could also be an issue with what version of SNMP
is being used, but IIRC the test I did was using the exact same
version of the NET SNMP tools as you so they should default to the
same SNMP version I think..
Regards
Henrik
On Tuesday 04 March 2003 09.24, Gokhan ERYOL wrote:
> I configured it with --enable-snmp. Actually, I compile it two
> different machines, one is FreeBSD 4.7, the other is RedHat. Both
> won't work, i think, i missed something in configuration.
>
> These are the outputs:
>
> [root@yelken etc]# ../sbin/squid -v
> Squid Cache: Version 2.5.STABLE1-20030224
> configure options: --enable-snmp
> [root@yelken etc]#
> [root@yelken etc]# ../sbin/squid -k parse
> [root@yelken etc]#
>
> What can make this problem happen? There is no firewall on
> interfaces.
>
> Regards,
>
> Gokhan ERYOL
>
> Henrik Nordstrom wrote:
> >Works here..
> >
> >Are you sure you built your Squid with SNMP enabled? What does the
> >following report?
> >
> > squid -v
> > squid -k parse
> >
> >Regards
> >Henrik
> >
> >m�n 2003-03-03 klockan 16.44 skrev Gokhan ERYOL:
> >>in squid.conf:
> >>acl localhost src 127.0.0.1/255.255.255.255
> >>acl snmppublic snmp_community public
> >>snmp_port 3401
> >>snmp_access allow snmppublic localhost
> >>snmp_access deny all
> >>snmp_incoming_address 0.0.0.0
> >>snmp_outgoing_address 255.255.255.255
> >>
> >>
> >>[root@yelken etc]# snmpwalk -V
> >>NET-SNMP version: 5.0.6
> >>[root@yelken etc]# snmpwalk -c public 127.0.0.1:3401
> >>snmpwalk: Timeout
> >>[root@yelken etc]# snmpwalk -c public 127.0.0.1:3401
> >> .1.3.6.1.4.1.3495.1.1 snmpwalk: Timeout
> >>
> >>and in cache.log:
> >>2003/03/03 15:33:07| Accepting HTTP connections at 0.0.0.0, port
> >> 3128, FD 8. 2003/03/03 15:33:07| Accepting ICP messages at
> >> 0.0.0.0, port 3130, FD 10. 2003/03/03 15:33:07| Accepting SNMP
> >> messages on port 3401, FD 11. 2003/03/03 15:33:07| WCCP
> >> Disabled.
> >>2003/03/03 15:33:07| Loaded Icons.
> >>2003/03/03 15:33:07| Ready to serve requests.
> >>2003/03/03 17:36:29| Failed SNMP agent query from : 127.0.0.1.
> >>2003/03/03 17:36:31| Failed SNMP agent query from : 127.0.0.1.
> >>2003/03/03 17:36:31| Failed SNMP agent query from : 127.0.0.1.
> >>2003/03/03 17:36:33| Failed SNMP agent query from : 127.0.0.1.
> >>2003/03/03 17:36:33| Failed SNMP agent query from : 127.0.0.1.
> >>2003/03/03 17:36:34| Failed SNMP agent query from : 127.0.0.1.
> >>
> >>Regards,
> >>
> >>Gokhan ERYOL
> >>
> >>Henrik Nordstrom wrote:
> >>What query are you attempting?
Received on Tue Mar 04 2003 - 02:08:54 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:13:55 MST