Re: [squid-users] Squid & MRTG OID config

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Thu, 6 Jun 2002 21:06:58 +0200

Paulo Matos wrote:

> I cannot access to the variable with its numeric OID, doing a:
>
> snmpwalk -p 3401 xxx.yyy.zzz.www public .1.3.6.1.4.1.3495

Do you have any clients talking to your proxy? And is the cache client
database enabled (client_db directive in squd.conf)?

Try walking it directly

snmpwalk -p 3401 -m squid/mib.txt -Cc xxx.yyy.zzz.www public
cacheClientHttpRequest

(-Cc is due to a minor bug in Squid on these tables)

> doing a query for 'cacheClientHttpRequests' with its OID
>
> snmpwalk -p 3401 xxx.yyy.zzz.www public .1.3.6.1.4.1.3495.5.2.1.2
>
> I get nothing. So what is the problem? Did I miscalculate the numeric OID
> or something? Should it be shown on the previous command?

You did not calculate the OID correctly. You forgot "squid".

enterprises.nlanr.squid.cacheMesh.cacheClientTable.cacheClientEntry.cacheClientHttpRequests
is the OID .1.3.6.1.4.1.3495.1.5.2.1.2

Regards
Henrik
Received on Thu Jun 06 2002 - 13:07:15 MDT

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