[squid-users] snmp and cricket

From: Pat Lendon <plendon@dont-contact.us>
Date: Wed, 05 Mar 2003 18:09:08 -0500

Hello All,

I am really trying to get squid snmp working for cricket, but am not
sure what I'm missing.
 
We are using squid-2.5.STABLE1. Squid was compiled with snmp.
Cricket is located on a separate system (10.10.1.18).

Squid access.log shows:
10.10.1.18 - - [05/Mar/2003:16:56:01 -0500] "GET
http://mysql.mc.com/cache.phtml HTTP/1.0" 407 1799 TCP_DENIED:NONE
 (so it looks like cricket query makes it to squid proxy, but has 407
error).

Squid acl's are:

acl localhost src 127.0.0.1/255.255.255.255
acl crickethost src 10.10.1.18/255.255.255.255
acl url_test url_regex ^http://mysql.mc.com (The mysql.mc.com is yet
another host )
acl snmppublic snmp_community public

http_access allow crickethost url_test
snmp_access allow snmppublic localhost
snmp_access allow snmppublic crickethost
no_cache deny url_test

(the defaults)
# snmp_port 3401
# snmp_incoming_address 0.0.0.0
# snmp_outgoing_address 255.255.255.255

netstat -na |grep 3401 returns:
udp 0 0 0,0.0.0:3401 0.0.0,0:*

snmpwalk -m /usr/local/squid/share/mib.txt -p 3401 localhost public
mysql.mc.com
mysql.mc.com: Unknown Object Identifier (Sub-id not found: mib-2 -> mysql)
Not really sure how to use snmpwalk to test snmp further, not sure what
oid is.

As a squid user using port 3128, I can reach url. But, snmp to url does
not work and shows the 407 error in access.log. Cache.log does not
contain errors.

Any ideas that might help get snmp working? Could the problem be as
simple as host for mysql.mc.com be blocking port 3401?

Thank you in advance.

-Pat
Received on Wed Mar 05 2003 - 16:01:29 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:13:56 MST