Re: Squid 1.2beta18 and SNMP

From: Kostas Anagnostakis <[email protected]>
Date: Thu, 26 Mar 1998 22:57:40 -0700 (MST)

On Fri, 27 Mar 1998, MUKAIGAWA Shin'ichi/[ISO-2022-JP] $B8~@n?.0l(B wrote:

> I changed to 3401, but not works well.
> snmpwalk returns this, is it OK?
>
> $ snmpwalk -v 1 mook public
> system.sysDescr = 1.2.beta18
> system.sysObjectID = Wrong Type (should be OBJECT IDENTIFIER): "1.2.beta18"
> system.sysUpTime = Timeticks: (672) 0:00:06
> system.sysContact = www.nff.ncl.omron.co.jp
> system.sysName = www.nff.ncl.omron.co.jp
> system.sysLocation = Cyberspace
> system.sysServices = 72
> system.sysORLastChange = Timeticks: (672) 0:00:06

hmm, seems like snmpwalk defaults to some other subtree. squid replies to
the system. group subtree for apps like mrtg to be able to retrieve
sysName and sysUptime.
to walk the squid-mib, try snmpwalk -v 1 mook public .1.3.6.1.3.25.17

> SNMPv1_Session (remote host: "mook.nff.ncl.omron.co.jp" [133.210.2.24].3401
> community: "public"
> request ID: 261310563
> PDU bufsize: 8000 bytes
> timeout: 2s
> retries: 5
> backoff: 1)
> SNMPGET: Failed to reach target: "cacheHttpMedianSvcFiveMin&cacheDNSMedianSvcFiveMin:public@mook.nff.ncl.omron.co.jp". I tried multiple times!
> (--- CUT ---)
>

Please send some debugging info, this could be a bug.

-K.
Received on Thu Mar 26 1998 - 21:59:57 MST

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