Re: [squid-users] squid & mrtg problem

From: Roman Sinyuk <roman@dont-contact.us>
Date: Wed, 23 May 2001 09:52:13 +0300 (EEST)

> > Hi everybody!
> >
> > I have installed squid-2.4.STABLE1. I tried to attaching mrtg to my
> > squid for monitoring purpose. But mrtg generates the following error
> > message:
> >
> > SNMP Error:
> > Received SNMP response with error code
> > error status: noSuchName
> > index 1 (OID: 1.3.6.1.4.1.3495.1.5.2.1.2)
> > SNMPv1_Session (remote host: "proxy.univ.kiev.ua" [193.125.78.36].161
> > community: "public"
> > request ID: 1665573321
> > PDU bufsize: 8000 bytes
> > timeout: 2s
> > retries: 5
> > backoff: 1)
> > SNMPGET Problem for cacheClientHttpRequests cacheClientHttpRequests on
> > public@proxy.univ.kiev.ua:161
> >
> > I tried to see if the oid was present in the snmp agent:
> >
> > $ snmpwalk proxy public 1.3.6.1.4.1.3495.1.5.2.1.2
> >
> > and got
> >
> > End of MIB
> try putting a dot before the OID:
> $ snmpwalk proxy public .1.3.6.1.4.1.3495.1.5.2.1.2
> and be right of the 161 is the port of snmp in the squid...

dot before the OID provides me per client information:

$ snmpwalk proxy public .1.3.6.1.4.1.3495.1.5.2.1.2
enterprises.3495.1.5.2.1.2.10.37.0.20 = 1
enterprises.3495.1.5.2.1.2.10.28.1.44 = 93
enterprises.3495.1.5.2.1.2.10.12.3.83 = 225
enterprises.3495.1.5.2.1.2.10.22.1.131 = 229
enterprises.3495.1.5.2.1.2.10.6.2.10 = 100
enterprises.3495.1.5.2.1.2.10.37.0.18 = 1
enterprises.3495.1.5.2.1.2.10.13.2.2 = 242
enterprises.3495.1.5.2.1.2.10.19.4.5 = 98
enterprises.3495.1.5.2.1.2.10.0.5.5 = 2
enterprises.3495.1.5.2.1.2.10.24.0.10 = 57
enterprises.3495.1.5.2.1.2.193.125.78.146 = 613
...

but mrtg needs a summary information. Am I right ?

Target[cacheClientHttpRequests]: cacheClientHttpRequests&cacheClientHttpRequests:public@proxy.univ.kiev.ua:161
MaxBytes[cacheClientHttpRequests]: 100000
Title[cacheClientHttpRequests]: cacheClientHttpRequests
Options[cacheClientHttpRequests]: gauge, growright
PageTop[cacheClientHttpRequests]: cacheClientHttpRequests @ proxy.univ.kiev.ua
YLegend[cacheClientHttpRequests]:
LegendI[cacheClientHttpRequests]: cacheClientHttpRequests
LegendO[cacheClientHttpRequests]:
Legend1[cacheClientHttpRequests]: cacheClientHttpRequests
Legend2[cacheClientHttpRequests]:

> >
> > when I tried getting all the snmp response under entrprises, the oid
> > does not exist.
> >
> > $ snmpwalk proxy public enterprises
> >
> > Any help would be greatly appreciated.
>
>
>
> []'s Anderson Onir
>
>
>
Received on Wed May 23 2001 - 00:52:42 MDT

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