[squid-users] Question regarding SNMP with Squid.2.5.STABLE1

From: Jigar Rasalawala <[email protected]>
Date: Tue, 8 Apr 2003 19:04:47 -0700

Hi, guys

I am running squid-2.5.stable1 on RedHat 7.3. I complied squid with --enable-snmp option.

I can see squid-agent is running on 3401. I copied mib.txt file into /usr/share/snmp/mibs/
directory.

when I execute

/usr/bin/snmpget -p 3401 127.0.0.1 snmppublic enterprises.nlanr.squid.cacheConfig.cacheSoftware.0

I am getting "enterprises.nlanr.squid.cacheConfig.cacheSoftware.0: Unknown Object Identifier (Sub-id not found: enterprises -> nlanr)"

What am I doing wrong here ?
Any help or suggestion appricated..

Note:

If I type "/usr/bin/snmpwalk -p 3401 127.0.0.1 snmppublic enterprises.3495", It gives me

enterprises.3495.1.1.1.0 = 84
enterprises.3495.1.1.2.0 = 956832
enterprises.3495.1.1.3.0 = Timeticks: (317114) 0:52:51.14
enterprises.3495.1.2.1.0 = "webmaster"
enterprises.3495.1.2.2.0 = "squid"
enterprises.3495.1.2.3.0 = "2.5.STABLE1"
enterprises.3495.1.2.4.0 = "ALL,1"
enterprises.3495.1.2.5.1.0 = 8
enterprises.3495.1.2.5.2.0 = 80000
enterprises.3495.1.2.5.3.0 = 95
enterprises.3495.1.2.5.4.0 = 90
enterprises.3495.1.3.1.1.0 = Counter32: 314
enterprises.3495.1.3.1.2.0 = Counter32: 0
enterprises.3495.1.3.1.3.0 = -1
enterprises.3495.1.3.1.4.0 = 0
enterprises.3495.1.3.1.5.0 = 0
enterprises.3495.1.3.1.6.0 = 0
enterprises.3495.1.3.1.7.0 = Counter32: 56463
enterprises.3495.1.3.1.8.0 = Timeticks: (0) 0:00:00.00
enterprises.3495.1.3.1.9.0 = Counter32: 0
enterprises.3495.1.3.1.10.0 = Gauge32: 1014
enterprises.3495.1.3.1.11.0 = Gauge32: 100
enterprises.3495.1.3.2.1.1.0 = Counter32: 0
enterprises.3495.1.3.2.1.2.0 = Counter32: 0
enterprises.3495.1.3.2.1.3.0 = Counter32: 0
enterprises.3495.1.3.2.1.4.0 = Counter32: 0
enterprises.3495.1.3.2.1.5.0 = Counter32: 0
enterprises.3495.1.3.2.1.6.0 = Counter32: 0
enterprises.3495.1.3.2.1.7.0 = Counter32: 0
enterprises.3495.1.3.2.1.8.0 = Counter32: 0
enterprises.3495.1.3.2.1.9.0 = Counter32: 0
enterprises.3495.1.3.2.1.10.0 = 0
enterprises.3495.1.3.2.1.11.0 = 0
enterprises.3495.1.3.2.1.12.0 = Counter32: 0
enterprises.3495.1.3.2.1.13.0 = Counter32: 0
enterprises.3495.1.3.2.1.14.0 = Counter32: 956832
enterprises.3495.1.3.2.1.15.0 = Counter32: 0
enterprises.3495.1.3.2.2.1.1.1 = 1
enterprises.3495.1.3.2.2.1.1.5 = 5
enterprises.3495.1.3.2.2.1.1.60 = 60
enterprises.3495.1.3.2.2.1.2.1 = 0
enterprises.3495.1.3.2.2.1.2.5 = 0
enterprises.3495.1.3.2.2.1.2.60 = 0
enterprises.3495.1.3.2.2.1.3.1 = 0
enterprises.3495.1.3.2.2.1.3.5 = 0
enterprises.3495.1.3.2.2.1.3.60 = 0
enterprises.3495.1.3.2.2.1.4.1 = 0
enterprises.3495.1.3.2.2.1.4.5 = 0
enterprises.3495.1.3.2.2.1.4.60 = 0
enterprises.3495.1.3.2.2.1.5.1 = 0
enterprises.3495.1.3.2.2.1.5.5 = 0
enterprises.3495.1.3.2.2.1.5.60 = 0
enterprises.3495.1.3.2.2.1.6.1 = 0
enterprises.3495.1.3.2.2.1.6.5 = 0
enterprises.3495.1.3.2.2.1.6.60 = 0
enterprises.3495.1.3.2.2.1.7.1 = 0
enterprises.3495.1.3.2.2.1.7.5 = 0
enterprises.3495.1.3.2.2.1.7.60 = 0
enterprises.3495.1.3.2.2.1.8.1 = 0
enterprises.3495.1.3.2.2.1.8.5 = 0
enterprises.3495.1.3.2.2.1.8.60 = 0
enterprises.3495.1.3.2.2.1.9.1 = 0
enterprises.3495.1.3.2.2.1.9.5 = 0
enterprises.3495.1.3.2.2.1.9.60 = 0
enterprises.3495.1.3.2.2.1.10.1 = 0
enterprises.3495.1.3.2.2.1.10.5 = 0
enterprises.3495.1.3.2.2.1.10.60 = 0
enterprises.3495.1.4.1.1.0 = Gauge32: 3
enterprises.3495.1.4.1.2.0 = Counter32: 0
enterprises.3495.1.4.1.3.0 = Counter32: 0
enterprises.3495.1.4.1.4.0 = Gauge32: 0
enterprises.3495.1.4.1.5.0 = Counter32: 0
enterprises.3495.1.4.1.6.0 = Counter32: 0
enterprises.3495.1.4.1.7.0 = Counter32: 0
enterprises.3495.1.4.1.8.0 = Counter32: 0
enterprises.3495.1.4.2.1.0 = Gauge32: 2
enterprises.3495.1.4.2.2.0 = Counter32: 0
enterprises.3495.1.4.2.3.0 = Counter32: 0
enterprises.3495.1.4.2.4.0 = Gauge32: 0
enterprises.3495.1.4.2.5.0 = Counter32: 0
enterprises.3495.1.4.2.6.0 = Counter32: 0
enterprises.3495.1.4.2.7.0 = Counter32: 0
enterprises.3495.1.4.3.1.0 = Counter32: 0
enterprises.3495.1.4.3.2.0 = Counter32: 0
enterprises.3495.1.4.3.3.0 = Counter32: 0
End of MIB
Received on Tue Apr 08 2003 - 20:05:26 MDT

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