Re: mrtg config file for squid-1.2.beta20?

From: Dirk Vleugels <Dirk.Vleugels@dont-contact.us>
Date: Wed, 13 May 1998 10:56:11 +0200

Hi,

Quoting Duane Wessels (wessels@nlanr.net):
> Dirk Vleugels writes:
>
> >Hello,
> >
> >could anyone send me a demo mrtg config file compatible with the default
> >NLANR snmp config?
>
> # default for all graphs
> WorkDir: /httpd/htdocs/mrtg-demo
> WriteExpires: Yes
>
> Target[svc]: cacheHttpMedianSvcFiveMin&cacheDNSMedianSvcFiveMin:public@abalaea.nlanr.net
> Title[svc]: HTTP and DNS svc
> PageTop[svc]: <H1>Cache Statistics: HTTP and DNS Median Service Times (5 min)</H1>

This will not work for me. The squid mib is version 1.14.

Mrtg:

[dvl@athen:src/mrtg-2.5.2]{702} ./mrtg mrtg.cfg
SNMP Error:
Received SNMP response with error code
  error status: noSuchName
  index 4 (OID: 1.3.6.1.2.1.1.5.0)
SNMPv1_Session (remote host: "www-proxy.de.uu.net" [194.175.173.4].3401
                  community: "public"
                 request ID: 1737824484
                PDU bufsize: 8000 bytes
                    timeout: 2s
                    retries: 5
                    backoff: 1)
SNMPGET: Failed to reach target:
"cacheHttpInKb&cacheHttpOutKb:public@www-proxy.de.uu.net". I tried multiple
times!

squid (debug level 49,9):

1998/05/13 10:38:19| snmpHandleUdp: Called.
1998/05/13 10:38:19| snmpHandleUdp: FD 16: received 89 bytes from 193.96.65.82.
1998/05/13 10:38:19| snmpAgentParse: reqid=[116458365]
1998/05/13 10:38:19| snmpAclCheckDone: 1
1998/05/13 10:38:19| snmpCommunityCheck: public against:
1998/05/13 10:38:19| oid = .1.3.6.1.3.25.17.3.2.1.8
1998/05/13 10:38:19| snmpViewCheck: called with index=2
1998/05/13 10:38:19| snmpViewCheck: found view for subtree:
1998/05/13 10:38:19| oid = .1.3.6
1998/05/13 10:38:19| snmpCommunityCheck: public against:
1998/05/13 10:38:19| oid = .1.3.6.1.3.25.17.3.2.1.9
1998/05/13 10:38:19| snmpViewCheck: called with index=2
1998/05/13 10:38:19| snmpViewCheck: found view for subtree:
1998/05/13 10:38:19| oid = .1.3.6
1998/05/13 10:38:19| snmpCommunityCheck: public against:
1998/05/13 10:38:19| oid = .1.3.6.1.2.1.1.3.0
1998/05/13 10:38:19| snmpViewCheck: called with index=2
1998/05/13 10:38:19| snmpViewCheck: found view for subtree:
1998/05/13 10:38:19| oid = .1.3.6
1998/05/13 10:38:19| snmpCommunityCheck: public against:
1998/05/13 10:38:19| oid = .1.3.6.1.2.1.1.5.0
1998/05/13 10:38:19| snmpViewCheck: called with index=2
1998/05/13 10:38:19| snmpViewCheck: found view for subtree:
1998/05/13 10:38:19| oid = .1.3.6
1998/05/13 10:38:19| snmpAclCheckDone: done checking communities.
1998/05/13 10:38:19| snmpAgentResponse: Received a 160 PDU
1998/05/13 10:38:19| oidlist_Find: Called.
 1998/05/13 10:38:19| oid = .1.3.6.1.3.25.17.3.2.1.8
1998/05/13 10:38:19| oidlist_Find: found, returning GetFn Ptr!
1998/05/13 10:38:19| prfProtoGetFn: called with 11
1998/05/13 10:38:19| snmp_prfProtoFn: Processing request with magic 2!
1998/05/13 10:38:19| oidlist_Find: Called.
 1998/05/13 10:38:19| oid = .1.3.6.1.3.25.17.3.2.1.9
1998/05/13 10:38:19| oidlist_Find: found, returning GetFn Ptr!
1998/05/13 10:38:19| prfProtoGetFn: called with 11
1998/05/13 10:38:19| snmp_prfProtoFn: Processing request with magic 2!
1998/05/13 10:38:19| oidlist_Find: Called.
 1998/05/13 10:38:19| oid = .1.3.6.1.2.1.1.3.0
1998/05/13 10:38:19| oidlist_Find: found, returning GetFn Ptr!
1998/05/13 10:38:19| basicGetFn: called for 3
1998/05/13 10:38:19| snmp_basicFn: Processing request with magic 3!
1998/05/13 10:38:19| oidlist_Find: Called.
 1998/05/13 10:38:19| oid = .1.3.6.1.2.1.1.5.0
1998/05/13 10:38:19| oidlist_Find: found, returning GetFn Ptr!
1998/05/13 10:38:19| basicGetFn: called for 5
1998/05/13 10:38:19| snmpAgentResponse: No such oid. 1998/05/13 10:38:19|
snmpAg
entParse: successful.
1998/05/13 10:38:19| snmpAclCheckDone: reqid=116458365 errstat=2.
1998/05/13 10:38:19| Buffer=385378 BufLenP=b5950c, buflen=4096
1998/05/13 10:38:19| snmp_msg_Encode: Encoding community (public) (6)
1998/05/13 10:38:19| snmp_msg_Encode:Encoding PDU Header at 0x385387 (fake len
4
081) (4081 bytes so far)
1998/05/13 10:38:19| LIBSNMP: snmp_build(): Packet len 108 (requid 116458365)
1998/05/13 10:38:19| snmpAclCheckDone: ok ret=0!
1998/05/13 10:38:19| snmpAgentParseDone: errstat=1, reqid=0 _t=b594f8
1998/05/13 10:38:19| snmp: parsed.
1998/05/13 10:38:19| snmpUdpSend: Queueing response for 193.96.65.82
1998/05/13 10:38:19| snmpUdpReply: FD 16 sending 108 bytes to 193.96.65.82 port
50962

No such oid. Did the mib change? I patched mrtg successfully.

I'm currently reading everything i can find regarding snmp, but i'm
still fairly clueless.

Cheers,
Dirk
Received on Wed May 13 1998 - 01:57:18 MDT

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