Squid-2.1(P2) on Linux and snmp????

From: Maxim Zimovets <Zimovets@dont-contact.us>
Date: Tue, 22 Dec 1998 14:03:30 +0500

Hi Squid developpers and users.

I've got a problem with snmp for squid on Linux (slack3.3). It looks
like
misbehaved implementation of squid's snmp-agent. (But it's very likely
I'm wrong).

Have a look on following listing (made with tcpdump):
1.I issuedfollowing command to fetch some variables from snmp-agent
(for linux - 3.5)
      snmpwalk some2 some3 system (get next request method)
12:13:50.290868 some1.1819 > some2.snmp: GetNextRequest(25) system
12:13:50.290868 some2.snmp > some1.1819: GetResponse(116)
system.sysDescr.0="Linux version 2.0.34 #2 Tue Jul 28 18:50:41 ESD 1998"
12:13:50.310868 some1.1819 > some2.snmp: GetNextRequest(27)
system.sysDescr.0
12:13:50.310868 some2.snmp > some1.1819: GetResponse(38)
system.sysObjectID.0=E:1575.1.5
12:13:50.330868 some1.1819 > some2.snmp: GetNextRequest(27)
system.sysObjectID.0
12:13:50.330868 some2.snmp > some1.1819: GetResponse(32)
system.sysUpTime.0=1287327
It's ok.

2. Almost the same command for squid snmp-agent
      snmpwalk some4 some3 .1.3.6.1.4.13459.1.1 (the same get next
request method)
12:10:33.540868 some1.1793 > some4.snmp: GetNextRequest(28) E:3495.1.1
12:10:33.540868 some4.snmp > some1.ru.1793: GetResponse(34)
E:3495.1.1.1=86016
12:10:33.550868 some1.1793 > some4.snmp: GetNextRequest(29) E:3495.1.1.1
12:10:33.550868 some4.snmp > some1.1793: GetResponse(33)
E:3495.1.1.2=515
As You can see in OID there's no trailing 0. It's rather strange
and,isn't it?

Because of it tkined can't fetch any variables (tkined uses as far as
I've seen get request method):
12:19:05.440868 some1.1865 > some4.snmp: GetRequest(65) E:3495.1.1.1.0
E:3495.1.1.2.0 E:3495.1.1.3.0
12:19:05.440868 some4.snmp > some1.1865: GetResponse(73) noSuchName@1
E:3495.1.1.1.0
12:19:05.440868 some1.1865 > some4.snmp: GetRequest(31) E:3495.1.1.1.0
12:19:05.450868 some4.snmp > some1.1865: GetResponse(35) noSuchName@1
E:3495.1.1.1.0

How to solve it? Has anybody else seen this problem?

Another problem with obtaining clients' results through snmp. I can see
users in cache manager (cache client list), but with snmp I can only see
one user (but correct results). Moreover it doesn't matter who was the
first client after cache's restart. I just see one particular user.
What about this problem?

Wait for answer
Max

-- 
Maxim Zimovets
System Administrator
Zimovets@uai.etel.ru
ICQ#:14937523
Received on Tue Dec 22 1998 - 02:17:17 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:43:42 MST