specify the correct port...
squid's snmp doesn't listen on port 161/udp by default.
-- me ----- Original Message ----- From: "Sukhjit Singh" <sukhjits@emmtel.com> To: <squid-users@squid-cache.org> Sent: Sunday, April 20, 2003 2:50 PM Subject: [squid-users] error with cfgmaker!!! > Dear all > am getting the following error when i run ./cfgmaker for my squid+wccpv2 > enabled maching with snmp compiled. > > > [root@]# ./cfgmaker public@203.*.*.*.*--global "WorkDir: /aaa" --output > a.cfg > --base: Get Device Info on public@203.*.*.*.* > SNMP Error: > no response received > SNMPv1_Session (remote host: "203.*.*.*.* " [203.*.*.*.*].161) > community: "public" > request ID: 508385668 > PDU bufsize: 8000 bytes > timeout: 2s > retries: 5 > backoff: 1) > at /bin/SNMP_util.pm line 570 > SNMPWALK Problem for 1.3.6.1.2.1.1 on public@203.*.*.*.*: > at ./cfgmaker line 709 > > > kindly tell me what does this show and how to solve the problem > > > Regards > > Sukhjit Singh > Network Administrator > Emmsons Infotech Ltd. > SCO 13-14-15, Sec 34A, > Chandigarh-160 022 > (Ph): +91 172 606664 > Mobile 9815228132 > sukhjits@emmtel.com > http://www.emmtel.com > > ----- Original Message ----- > From: "Christoph Haas" <email@christoph-haas.de> > To: <squid-users@squid-cache.org> > Sent: Sunday, April 20, 2003 4:21 PM > Subject: Re: [squid-users] mrtg patch for squid!!! > > > > Hi, Sukhjit... > > > > On Sun, Apr 20, 2003 at 04:11:55PM +0530, Sukhjit Singh wrote: > > > I am trying to use mrtg to monitor squid. > > > but dont know where to get the patch for mrtg from?? > > > can any one give the patch for mrtg > > > > Do you really need to patch anything? IMHO you can just query the Squid > > process via SNMP. These are the OIDs you can query (I do that with > > Cricket instead of MRTG): > > > > OID ClientHttpRequests 1.3.6.1.4.1.3495.1.3.2.1.1 > > OID HttpHits 1.3.6.1.4.1.3495.1.3.2.1.2 > > OID HttpErrors 1.3.6.1.4.1.3495.1.3.2.1.3 > > OID HttpInKb 1.3.6.1.4.1.3495.1.3.2.1.4 > > OID HttpOutKb 1.3.6.1.4.1.3495.1.3.2.1.5 > > OID ICPpktsSent 1.3.6.1.4.1.3495.1.3.2.1.6 > > OID ICPpktsRecv 1.3.6.1.4.1.3495.1.3.2.1.7 > > OID ICPkbSent 1.3.6.1.4.1.3495.1.3.2.1.8 > > OID ICPkbRecv 1.3.6.1.4.1.3495.1.3.2.1.9 > > OID ServerRequests 1.3.6.1.4.1.3495.1.3.2.1.10 > > OID ServerErrors 1.3.6.1.4.1.3495.1.3.2.1.11 > > OID ServerInKb 1.3.6.1.4.1.3495.1.3.2.1.12 > > OID ServerOutKb 1.3.6.1.4.1.3495.1.3.2.1.13 > > OID CurrentSwapSize 1.3.6.1.4.1.3495.1.3.2.1.14 > > OID SysPageFaults 1.3.6.1.4.1.3495.1.3.1.1 > > OID MemUsage 1.3.6.1.4.1.3495.1.3.1.4 > > OID CpuUsage 1.3.6.1.4.1.3495.1.3.1.5 > > OID MaxResSize 1.3.6.1.4.1.3495.1.3.1.6 > > OID NumObjCount 1.3.6.1.4.1.3495.1.3.1.7 > > OID CurrentLRUExpiration 1.3.6.1.4.1.3495.1.3.1.8 > > OID CurrentUnlinkRequests 1.3.6.1.4.1.3495.1.3.1.9 > > OID CurrentUnusedFileDescrCount 1.3.6.1.4.1.3495.1.3.1.10 > > OID CurrentReservedFileDescrCount 1.3.6.1.4.1.3495.1.3.1.11 > > OID HttpAllSvcTimeFiveMin 1.3.6.1.4.1.3495.1.3.2.2.1.2.5 > > OID HttpMissSvcTimeFiveMin 1.3.6.1.4.1.3495.1.3.2.2.1.3.5 > > OID HttpNmSvcTimeFiveMin 1.3.6.1.4.1.3495.1.3.2.2.1.4.5 > > OID HttpHitSvcTimeFiveMin 1.3.6.1.4.1.3495.1.3.2.2.1.5.5 > > OID IcpQuerySvcTimeFiveMin 1.3.6.1.4.1.3495.1.3.2.2.1.6.5 > > OID IcpReplySvcTimeFiveMin 1.3.6.1.4.1.3495.1.3.2.2.1.7.5 > > OID DnsSvcTimeFiveMin 1.3.6.1.4.1.3495.1.3.2.2.1.8.5 > > OID HttpAllSvcTimeHourly 1.3.6.1.4.1.3495.1.3.2.2.1.2.60 > > OID HttpMissSvcTimeHourly 1.3.6.1.4.1.3495.1.3.2.2.1.3.60 > > OID HttpNmSvcTimeHourly 1.3.6.1.4.1.3495.1.3.2.2.1.4.60 > > OID HttpHitSvcTimeHourly 1.3.6.1.4.1.3495.1.3.2.2.1.5.60 > > OID IcpQuerySvcTimeHourly 1.3.6.1.4.1.3495.1.3.2.2.1.6.60 > > OID IcpReplySvcTimeHourly 1.3.6.1.4.1.3495.1.3.2.2.1.7.60 > > OID DnsSvcTimeHourly 1.3.6.1.4.1.3495.1.3.2.2.1.8.60 > > > > OID HttpAllSvcTimeOneMin 1.3.6.1.4.1.3495.1.3.2.2.1.2.1 > > OID HttpMissSvcTimeOneMin 1.3.6.1.4.1.3495.1.3.2.2.1.3.1 > > OID HttpHitSvcTimeOneMin 1.3.6.1.4.1.3495.1.3.2.2.1.5.1 > > > > Make sure that you have an ACL allowing you to get SNMP read access. > > > > But what has all this to do with... > > > > > ----- Original Message ----- > > > From: "Schelstraete Bart" <bart@schelstraete.org> > > > To: <squid-users@squid-cache.org> > > > Sent: Sunday, April 20, 2003 12:41 PM > > > Subject: [squid-users] Failover parent. (cache_peer) > > > > ...??? > > > > Christoph > > > > -- > > ~ > > ~ > > ".signature" [Modified] 3 lines --100%-- 3,41 All > > >Received on Sun Apr 20 2003 - 06:57:13 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:15:03 MST