Re: [squid-users] SNMP problem with squid-2.4.STABLE3

From: Paulo Matos <[email protected]>
Date: Tue, 2 Apr 2002 06:43:01 +0100 (WEST)

On Thu, 28 Mar 2002, Henrik Nordstrom wrote:

hno> This is not a Squid problem.
hno>
hno> snmpwalk did not find the Squid MIB. You need to tell snmpwalk to read
hno> the Suqid MIB if you want to use friendly names rather than umeric
hno> OID's.
hno>

Ok, you say it's not squid issue, looking at my last mail you're probably
right. My fault, didn't explained the issue correctly.

Let's see if I can do it now!

* Starting squid, from cache.log:
2002/04/02 06:07:54| Accepting SNMP messages on port 3401, FD 14.

* Now with a 'tail -f cache.log' on background

[root@proxy1 root]# snmpwalk -p 3401 localhost public
1.3.6.1.4.1.3495.1.3.2.1.15
2002/04/02 06:10:21| Failed SNMP agent query from : 127.0.0.1.
2002/04/02 06:10:22| Failed SNMP agent query from : 127.0.0.1.
2002/04/02 06:10:23| Failed SNMP agent query from : 127.0.0.1.
2002/04/02 06:10:24| Failed SNMP agent query from : 127.0.0.1.
2002/04/02 06:10:25| Failed SNMP agent query from : 127.0.0.1.
2002/04/02 06:10:26| Failed SNMP agent query from : 127.0.0.1.
Timeout: No Response from localhost
[root@proxy1 root]#

or equivalent:

[root@proxy1 root]# snmpwalk -m /etc/squid/mib.txt -p 3401 localhost
public
enterprises.nlanr.squid.cachePerf.cacheProtoStats.cacheProtoAggregateStats.cacheClients
2002/04/02 06:37:45| Failed SNMP agent query from : 127.0.0.1.
2002/04/02 06:37:46| Failed SNMP agent query from : 127.0.0.1.
2002/04/02 06:37:47| Failed SNMP agent query from : 127.0.0.1.
2002/04/02 06:37:48| Failed SNMP agent query from : 127.0.0.1.
2002/04/02 06:37:49| Failed SNMP agent query from : 127.0.0.1.
2002/04/02 06:37:50| Failed SNMP agent query from : 127.0.0.1.
Timeout: No Response from localhost

* Relevant part of my squid.conf:

acl localhost src 127.0.0.1/255.255.255.255
acl TEST src 192.168.1.30/255.255.255.255
acl snmppublic snmp_community public

snmp_port 3401

snmp_access allow snmppublic localhost TEST
snmp_access deny all

snmp_incoming_address 127.0.0.1
snmp_outgoing_address 255.255.255.255

(squid box ip is 192.168.1.35)

        Can you give me any clues on this?
        Thanks in advance for your help.

        Best regards,

-- 
	Paulo Matos
 ----------------------------------- ----------------------------------
|Sys & Net Admin                    | Servi�o de Inform�tica           |
|Faculdade de Ci�ncias e Tecnologia | Tel: +351-21-2948596             |
|Universidade Nova de Lisboa        | Fax: +351-21-2948548             |
|P-2829-516 Caparica                | e-Mail: pjsm@fct.unl.pt          |
 ----------------------------------- ----------------------------------
Received on Mon Apr 01 2002 - 22:43:12 MST

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