I have one doubt in configuring snmp support in
Squid.I am using SQUID 2.5 STABLE3 and NET-SNMP
V5.1 I checked for the following commands to
check SNMP. Both worked correctly
#snmpwalk -v 1 -c public localhost system
#snmpwalk -v 1 -c public localhost interface
For SNMP in SQUID, i have been asked to add the
following in snmp.conf(in /etc/snmp/).
=======================================================
# First, map the community name "public" into a
"security name"
com2sec local localhost public
com2sec theworld default public
# Second, map the security name into a group name:
group MyRWGroup v1 local
group MyROGroup v1 theworld
# Third, create a view for us to let the group have
rights to:
view all included .1
# Finally, grant the group read-only access to the
systemview view.
access MyROGroup "" any noauth
exact all none none
access MyRWGroup "" any noauth
exact all all none
proc mountd
proc ntalkd 4
disk / 10000
load 12 14 14
=======================================================
And then to recompile SQUID using
#./configure --enable-snmp
But I installed SQUID using RPM and I found mib.txt in
the SQUID directory. Does this mean, SQUID is already
SNMP enabled.
Then I added the following in squid.conf(in
/etc/squid)
=======================================================
acl snmppublic snmp_community public
snmp_access allow snmppublic localhost
snmp_access deny all
=======================================================
I then executed this to check if SNMP is working with
SQUID
snmpwalk -c public localhost:3401
.1.3.6.1.4.1.3495.1.1
But i get "snmpwalk: Timeout"
Is this configuration correct. How to know if squid is
configured with snmp, when i installed using RPM.
Plz help me.
Thank You.
__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!
http://webhosting.yahoo.com/ps/sb/