Hello,
the thread was lost ? Or is the problem solved ?
You remember:
----------------------------------------------------------------------------
---------------
Hello,
I tried ti configure the same. But mrtg says:
Unknown SNMP var cacheClients
at /usr/bin/mrtg line 1491
Unknown SNMP var cacheClients
at /usr/bin/mrtg line 1491
WARNING: Expected a number but got ''
WARNING: Expected a number but got ''
To debug I configured following:
Target[proxy-clients]: cacheServerOutKb&cacheClients:bla_suelz@host:3401
The Target cacheServerOutKb works fine. All other vars after this
(cacheCurrentSwapSize and cacheClients) dosn't work.
Any Ideas whats wrong ? squid/2.5-DEVEL (squid-head-200112180000)
> -----Original Message-----
> From: Andreas Piesk [mailto:apiesk@virbus.de]
> Sent: Tuesday, January 15, 2002 4:21 PM
> To: squid-users@squid-cache.org
> Subject: RE: [squid-users] stats clients with MRTG
>
>
> >
> > My MRTG stats work pretty good for squid, except for clients.
> > I like to monitor with mrtg the nr of clients accessing the
> > cache, however I
> > cannot get it right.
> >
> > This is how it is configured now :
> > Target[cacheClients]:
> cacheClients&cacheClients:public@localhost:3401
> > #Target[cacheClients]:
> > 1.3.6.1.4.1.3495.1.3.2.1.15&1.3.6.1.4.1.3495.1.3.2.1.15:public
> > @localhost:340
> > 1
> > MaxBytes[cacheClients]: 10000
> > Title[cacheClients]: Number of Clients
> > Options[cacheClients]: growright, nopercent
> > PageTop[cacheClients]: <h2>Number of clients accessing cache @
> > localhost</h2>
> > YLegend[cacheClients]: clients/sec
>
> i think, this is an absolute value, not per sec.
>
> > ShortLegend[cacheClients]: clients/s
> > LegendI[cacheClients]: Num Clients
> > LegendO[cacheClients]:
> > Legend1[cacheClients]: Num Clients
> > Legend2[cacheClients]:
> >
>
> mine looks like this:
>
> Options[^]: growright, integer, nopercent, nolegend
> PageTop[^]: <H1>SQUID1:
> PageTop[$]: </H1>
> XSize[_]: 400
> YSize[_]: 100
> kilo[_]: 1000
>
> Target[19]:
> cacheClients&cacheClients:public@localhost:3401
> Options[19]: gauge
> MaxBytes[19]: 1000
> Title[19]: Number of Clients
> PageTop[19]: Number of clients accessing cache
> kMG[19]:
> ShortLegend[19]: Clients
> YLegend[19]: # of Clients
> LegendI[19]: #
> LegendO[19]:
>
> it's the same value as reported by cachemgr (general runtime
> information):
> Connection information for squid:
> Number of clients accessing cache: 535 <-- this one
>
> but i didn't verify the values, they aren't so important for me.
>
> ciao -ap
>
> System Administration
> VIRBUS AG
> Fon +49(0)341-979-7424
> Fax +49(0)341-979-7409
> andreas.piesk@virbus.de
> www.virbus.de
>
----------------------------------------------------------------------------
---------------
I tried to find out more informations. A snmp-walk doesnt show the object:
enterprises.nlanr.squid.cacheSystem.cacheSysVMsize.0 = 5376
enterprises.nlanr.squid.cacheSystem.cacheSysStorage.0 = 92152
enterprises.nlanr.squid.cacheSystem.cacheUptime.0 = Timeticks: (8510215)
23:38:22.15
enterprises.nlanr.squid.cacheConfig.cacheAdmin.0 = edv@berlinerglas.de
enterprises.nlanr.squid.cacheConfig.cacheSoftware.0 = squid
enterprises.nlanr.squid.cacheConfig.cacheVersionId.0 = "2.5-DEVEL"
enterprises.nlanr.squid.cacheConfig.cacheLoggingFacility.0 = ALL,1
enterprises.nlanr.squid.cacheConfig.cacheStorageConfig.cacheMemMaxSize.0 = 8
enterprises.nlanr.squid.cacheConfig.cacheStorageConfig.cacheSwapMaxSize.0 =
100
enterprises.nlanr.squid.cacheConfig.cacheStorageConfig.cacheSwapHighWM.0 =
95
enterprises.nlanr.squid.cacheConfig.cacheStorageConfig.cacheSwapLowWM.0 = 90
enterprises.nlanr.squid.cachePerf.cacheSysPerf.cacheSysPageFaults.0 =
Counter32: 1100
enterprises.nlanr.squid.cachePerf.cacheSysPerf.cacheSysNumReads.0 =
Counter32: 16660
enterprises.nlanr.squid.cachePerf.cacheSysPerf.cacheMemUsage.0 = -1
enterprises.nlanr.squid.cachePerf.cacheSysPerf.cacheCpuTime.0 = 21
enterprises.nlanr.squid.cachePerf.cacheSysPerf.cacheCpuUsage.0 = 0
enterprises.nlanr.squid.cachePerf.cacheSysPerf.cacheMaxResSize.0 = 0
enterprises.nlanr.squid.cachePerf.cacheSysPerf.cacheNumObjCount.0 =
Counter32: 10776
enterprises.nlanr.squid.cachePerf.cacheSysPerf.cacheCurrentLRUExpiration.0 =
Timeticks: (0) 0:00:00.00
enterprises.nlanr.squid.cachePerf.cacheSysPerf.cacheCurrentUnlinkRequests.0
= Counter32: 3668
enterprises.nlanr.squid.cachePerf.cacheSysPerf.cacheCurrentUnusedFDescrCnt.0
= Gauge32: 1000
enterprises.nlanr.squid.cachePerf.cacheSysPerf.cacheCurrentResFileDescrCnt.0
= Gauge32: 100
enterprises.nlanr.squid.cachePerf.cacheProtoStats.cacheProtoAggregateStats.c
acheProtoClientHttpRequests.0 = Counter32: 9309
enterprises.nlanr.squid.cachePerf.cacheProtoStats.cacheProtoAggregateStats.c
acheHttpHits.0 = Counter32: 618
enterprises.nlanr.squid.cachePerf.cacheProtoStats.cacheProtoAggregateStats.c
acheHttpErrors.0 = Counter32: 0
enterprises.nlanr.squid.cachePerf.cacheProtoStats.cacheProtoAggregateStats.c
acheHttpInKb.0 = Counter32: 4231
enterprises.nlanr.squid.cachePerf.cacheProtoStats.cacheProtoAggregateStats.c
acheHttpOutKb.0 = Counter32: 54361
enterprises.nlanr.squid.cachePerf.cacheProtoStats.cacheProtoAggregateStats.c
acheIcpPktsSent.0 = Counter32: 0
enterprises.nlanr.squid.cachePerf.cacheProtoStats.cacheProtoAggregateStats.c
acheIcpPktsRecv.0 = Counter32: 0
enterprises.nlanr.squid.cachePerf.cacheProtoStats.cacheProtoAggregateStats.c
acheIcpKbSent.0 = Counter32: 0
enterprises.nlanr.squid.cachePerf.cacheProtoStats.cacheProtoAggregateStats.c
acheIcpKbRecv.0 = Counter32: 0
enterprises.nlanr.squid.cachePerf.cacheProtoStats.cacheProtoAggregateStats.c
acheServerRequests.0 = 6075
enterprises.nlanr.squid.cachePerf.cacheProtoStats.cacheProtoAggregateStats.c
acheServerErrors.0 = 0
enterprises.nlanr.squid.cachePerf.cacheProtoStats.cacheProtoAggregateStats.c
acheServerInKb.0 = Counter32: 48910
enterprises.nlanr.squid.cachePerf.cacheProtoStats.cacheProtoAggregateStats.c
acheServerOutKb.0 = Counter32: 2997
enterprises.nlanr.squid.cachePerf.cacheProtoStats.cacheProtoAggregateStats.c
acheCurrentSwapSize.0 = Counter32: 92152
enterprises.nlanr.squid.cachePerf.cacheProtoStats.cacheProtoAggregateStats.c
acheClients.0 = Counter32: 4
enterprises.nlanr.squid.cachePerf.cacheProtoStats.cacheMedianSvcTable.cacheM
edianSvcEntry.cacheMedianTime.1 = 1
enterprises.nlanr.squid.cachePerf.cacheProtoStats.cacheMedianSvcTable.cacheM
edianSvcEntry.cacheMedianTime.5 = 5
enterprises.nlanr.squid.cachePerf.cacheProtoStats.cacheMedianSvcTable.cacheM
edianSvcEntry.cacheMedianTime.60 = 60
enterprises.nlanr.squid.cachePerf.cacheProtoStats.cacheMedianSvcTable.cacheM
edianSvcEntry.cacheHttpAllSvcTime.1 = 0
enterprises.nlanr.squid.cachePerf.cacheProtoStats.cacheMedianSvcTable.cacheM
edianSvcEntry.cacheHttpAllSvcTime.5 = 19
enterprises.nlanr.squid.cachePerf.cacheProtoStats.cacheMedianSvcTable.cacheM
edianSvcEntry.cacheHttpAllSvcTime.60 = 66
enterprises.nlanr.squid.cachePerf.cacheProtoStats.cacheMedianSvcTable.cacheM
edianSvcEntry.cacheHttpMissSvcTime.1 = 0
enterprises.nlanr.squid.cachePerf.cacheProtoStats.cacheMedianSvcTable.cacheM
edianSvcEntry.cacheHttpMissSvcTime.5 = 19
enterprises.nlanr.squid.cachePerf.cacheProtoStats.cacheMedianSvcTable.cacheM
edianSvcEntry.cacheHttpMissSvcTime.60 = 70
enterprises.nlanr.squid.cachePerf.cacheProtoStats.cacheMedianSvcTable.cacheM
edianSvcEntry.cacheHttpNmSvcTime.1 = 0
enterprises.nlanr.squid.cachePerf.cacheProtoStats.cacheMedianSvcTable.cacheM
edianSvcEntry.cacheHttpNmSvcTime.5 = 0
enterprises.nlanr.squid.cachePerf.cacheProtoStats.cacheMedianSvcTable.cacheM
edianSvcEntry.cacheHttpNmSvcTime.60 = 0
enterprises.nlanr.squid.cachePerf.cacheProtoStats.cacheMedianSvcTable.cacheM
edianSvcEntry.cacheHttpHitSvcTime.1 = 0
enterprises.nlanr.squid.cachePerf.cacheProtoStats.cacheMedianSvcTable.cacheM
edianSvcEntry.cacheHttpHitSvcTime.5 = 0
enterprises.nlanr.squid.cachePerf.cacheProtoStats.cacheMedianSvcTable.cacheM
edianSvcEntry.cacheHttpHitSvcTime.60 = 0
enterprises.nlanr.squid.cachePerf.cacheProtoStats.cacheMedianSvcTable.cacheM
edianSvcEntry.cacheIcpQuerySvcTime.1 = 0
enterprises.nlanr.squid.cachePerf.cacheProtoStats.cacheMedianSvcTable.cacheM
edianSvcEntry.cacheIcpQuerySvcTime.5 = 0
enterprises.nlanr.squid.cachePerf.cacheProtoStats.cacheMedianSvcTable.cacheM
edianSvcEntry.cacheIcpQuerySvcTime.60 = 0
enterprises.nlanr.squid.cachePerf.cacheProtoStats.cacheMedianSvcTable.cacheM
edianSvcEntry.cacheIcpReplySvcTime.1 = 0
enterprises.nlanr.squid.cachePerf.cacheProtoStats.cacheMedianSvcTable.cacheM
edianSvcEntry.cacheIcpReplySvcTime.5 = 0
enterprises.nlanr.squid.cachePerf.cacheProtoStats.cacheMedianSvcTable.cacheM
edianSvcEntry.cacheIcpReplySvcTime.60 = 0
enterprises.nlanr.squid.cachePerf.cacheProtoStats.cacheMedianSvcTable.cacheM
edianSvcEntry.cacheDnsSvcTime.1 = 0
enterprises.nlanr.squid.cachePerf.cacheProtoStats.cacheMedianSvcTable.cacheM
edianSvcEntry.cacheDnsSvcTime.5 = 0
enterprises.nlanr.squid.cachePerf.cacheProtoStats.cacheMedianSvcTable.cacheM
edianSvcEntry.cacheDnsSvcTime.60 = 2
enterprises.nlanr.squid.cachePerf.cacheProtoStats.cacheMedianSvcTable.cacheM
edianSvcEntry.cacheRequestHitRatio.1 = 0
enterprises.nlanr.squid.cachePerf.cacheProtoStats.cacheMedianSvcTable.cacheM
edianSvcEntry.cacheRequestHitRatio.5 = 0
enterprises.nlanr.squid.cachePerf.cacheProtoStats.cacheMedianSvcTable.cacheM
edianSvcEntry.cacheRequestHitRatio.60 = 0
enterprises.nlanr.squid.cachePerf.cacheProtoStats.cacheMedianSvcTable.cacheM
edianSvcEntry.cacheRequestByteRatio.1 = 0
enterprises.nlanr.squid.cachePerf.cacheProtoStats.cacheMedianSvcTable.cacheM
edianSvcEntry.cacheRequestByteRatio.5 = 4
enterprises.nlanr.squid.cachePerf.cacheProtoStats.cacheMedianSvcTable.cacheM
edianSvcEntry.cacheRequestByteRatio.60 = 10
enterprises.nlanr.squid.cacheNetwork.cacheIpCache.cacheIpEntries.0 =
Gauge32: 189
enterprises.nlanr.squid.cacheNetwork.cacheIpCache.cacheIpRequests.0 =
Counter32: 4251
enterprises.nlanr.squid.cacheNetwork.cacheIpCache.cacheIpHits.0 = Counter32:
3301
enterprises.nlanr.squid.cacheNetwork.cacheIpCache.cacheIpPendingHits.0 =
Gauge32: 0
enterprises.nlanr.squid.cacheNetwork.cacheIpCache.cacheIpNegativeHits.0 =
Counter32: 2
enterprises.nlanr.squid.cacheNetwork.cacheIpCache.cacheIpMisses.0 =
Counter32: 901
enterprises.nlanr.squid.cacheNetwork.cacheIpCache.cacheBlockingGetHostByName
.0 = Counter32: 0
enterprises.nlanr.squid.cacheNetwork.cacheIpCache.cacheAttemptReleaseLckEntr
ies.0 = Counter32: 0
enterprises.nlanr.squid.cacheNetwork.cacheFqdnCache.cacheFqdnEntries.0 =
Gauge32: 128
enterprises.nlanr.squid.cacheNetwork.cacheFqdnCache.cacheFqdnRequests.0 =
Counter32: 17331
enterprises.nlanr.squid.cacheNetwork.cacheFqdnCache.cacheFqdnHits.0 =
Counter32: 14597
enterprises.nlanr.squid.cacheNetwork.cacheFqdnCache.cacheFqdnPendingHits.0 =
Gauge32: 0
enterprises.nlanr.squid.cacheNetwork.cacheFqdnCache.cacheFqdnNegativeHits.0
= Counter32: 0
enterprises.nlanr.squid.cacheNetwork.cacheFqdnCache.cacheFqdnMisses.0 =
Counter32: 2734
enterprises.nlanr.squid.cacheNetwork.cacheFqdnCache.cacheBlockingGetHostByAd
dr.0 = Counter32: 0
enterprises.nlanr.squid.cacheNetwork.cacheDns.cacheDnsRequests.0 =
Counter32: 2920
enterprises.nlanr.squid.cacheNetwork.cacheDns.cacheDnsReplies.0 = Counter32:
2920
enterprises.nlanr.squid.cacheNetwork.cacheDns.cacheDnsNumberServers.0 =
Counter32: 0
enterprises.nlanr.squid.cacheMesh.cacheClientTable.cacheClientEntry.cacheCli
entAddr.172.16.2.59 = IpAddress: 172.16.2.59
enterprises.nlanr.squid.cacheMesh.cacheClientTable.cacheClientEntry.cacheCli
entAddr.172.16.2.92 = IpAddress: 172.16.2.92
enterprises.nlanr.squid.cacheMesh.cacheClientTable.cacheClientEntry.cacheCli
entAddr.172.16.0.27 = IpAddress: 172.16.0.27
enterprises.nlanr.squid.cacheMesh.cacheClientTable.cacheClientEntry.cacheCli
entAddr.172.16.2.61 = IpAddress: 172.16.2.61
enterprises.nlanr.squid.cacheMesh.cacheClientTable.cacheClientEntry.cacheCli
entHttpRequests.172.16.2.59 = Counter32: 2420
enterprises.nlanr.squid.cacheMesh.cacheClientTable.cacheClientEntry.cacheCli
entHttpRequests.172.16.2.92 = Counter32: 1385
enterprises.nlanr.squid.cacheMesh.cacheClientTable.cacheClientEntry.cacheCli
entHttpRequests.172.16.0.27 = Counter32: 2256
enterprises.nlanr.squid.cacheMesh.cacheClientTable.cacheClientEntry.cacheCli
entHttpRequests.172.16.2.61 = Counter32: 3248
enterprises.nlanr.squid.cacheMesh.cacheClientTable.cacheClientEntry.cacheCli
entHttpKb.172.16.2.59 = Counter32: 6910
enterprises.nlanr.squid.cacheMesh.cacheClientTable.cacheClientEntry.cacheCli
entHttpKb.172.16.2.92 = Counter32: 32971
enterprises.nlanr.squid.cacheMesh.cacheClientTable.cacheClientEntry.cacheCli
entHttpKb.172.16.0.27 = Counter32: 5686
enterprises.nlanr.squid.cacheMesh.cacheClientTable.cacheClientEntry.cacheCli
entHttpKb.172.16.2.61 = Counter32: 8792
enterprises.nlanr.squid.cacheMesh.cacheClientTable.cacheClientEntry.cacheCli
entHttpHits.172.16.2.59 = Counter32: 108
enterprises.nlanr.squid.cacheMesh.cacheClientTable.cacheClientEntry.cacheCli
entHttpHits.172.16.2.92 = Counter32: 24
enterprises.nlanr.squid.cacheMesh.cacheClientTable.cacheClientEntry.cacheCli
entHttpHits.172.16.0.27 = Counter32: 228
enterprises.nlanr.squid.cacheMesh.cacheClientTable.cacheClientEntry.cacheCli
entHttpHits.172.16.2.61 = Counter32: 258
enterprises.nlanr.squid.cacheMesh.cacheClientTable.cacheClientEntry.cacheCli
entHTTPHitKb.172.16.2.59 = Counter32: 40
enterprises.nlanr.squid.cacheMesh.cacheClientTable.cacheClientEntry.cacheCli
entHTTPHitKb.172.16.2.92 = Counter32: 1467
enterprises.nlanr.squid.cacheMesh.cacheClientTable.cacheClientEntry.cacheCli
entHTTPHitKb.172.16.0.27 = Counter32: 673
enterprises.nlanr.squid.cacheMesh.cacheClientTable.cacheClientEntry.cacheCli
entHTTPHitKb.172.16.2.61 = Counter32: 609
enterprises.nlanr.squid.cacheMesh.cacheClientTable.cacheClientEntry.cacheCli
entIcpRequests.172.16.2.59 = Counter32: 0
enterprises.nlanr.squid.cacheMesh.cacheClientTable.cacheClientEntry.cacheCli
entIcpRequests.172.16.2.92 = Counter32: 0
enterprises.nlanr.squid.cacheMesh.cacheClientTable.cacheClientEntry.cacheCli
entIcpRequests.172.16.0.27 = Counter32: 0
enterprises.nlanr.squid.cacheMesh.cacheClientTable.cacheClientEntry.cacheCli
entIcpRequests.172.16.2.61 = Counter32: 0
enterprises.nlanr.squid.cacheMesh.cacheClientTable.cacheClientEntry.cacheCli
entIcpKb.172.16.2.59 = Counter32: 0
enterprises.nlanr.squid.cacheMesh.cacheClientTable.cacheClientEntry.cacheCli
entIcpKb.172.16.2.92 = Counter32: 0
enterprises.nlanr.squid.cacheMesh.cacheClientTable.cacheClientEntry.cacheCli
entIcpKb.172.16.0.27 = Counter32: 0
enterprises.nlanr.squid.cacheMesh.cacheClientTable.cacheClientEntry.cacheCli
entIcpKb.172.16.2.61 = Counter32: 0
enterprises.nlanr.squid.cacheMesh.cacheClientTable.cacheClientEntry.cacheCli
entIcpHits.172.16.2.59 = Counter32: 0
enterprises.nlanr.squid.cacheMesh.cacheClientTable.cacheClientEntry.cacheCli
entIcpHits.172.16.2.92 = Counter32: 0
enterprises.nlanr.squid.cacheMesh.cacheClientTable.cacheClientEntry.cacheCli
entIcpHits.172.16.0.27 = Counter32: 0
enterprises.nlanr.squid.cacheMesh.cacheClientTable.cacheClientEntry.cacheCli
entIcpHits.172.16.2.61 = Counter32: 0
enterprises.nlanr.squid.cacheMesh.cacheClientTable.cacheClientEntry.cacheCli
entIcpHitKb.172.16.2.59 = Counter32: 0
End of MIB
> > -----Original Message-----
> > From: Henrik Nordstrom [mailto:hno@marasystems.com]
> > Sent: Wednesday, January 16, 2002 3:49 PM
> > To: Freitag, Thoralf
> > Subject: Re: [squid-users] stats clients with MRTG
> >
> >
> > Ok. Send me your mrtg.conf an I'll look into if there is a problem
> > with the development versions of Squid.
> >
> > Regards
> > Henrik
> >
> >
> > On Wednesday 16 January 2002 15.33, you wrote:
> > > > -----Original Message-----
> > > > From: Henrik Nordstrom [mailto:hno@marasystems.com]
> > > > Sent: Wednesday, January 16, 2002 3:04 PM
> > > > To: Freitag, Thoralf; 'squid-users@squid-cache.org'
> > > > Subject: Re: [squid-users] stats clients with MRTG
> > > >
> > > > On Wednesday 16 January 2002 14.18, Freitag, Thoralf wrote:
> > > > > the mibs seems to be correct. Could the DEVEL-Snapshoot be
> > > > > corrupt?
> > > >
> > > > Have you told MRTG to use the Squid MIB?
> > >
> > > Yes,
> > >
> > > cacheHttpHits&cacheServerRequest
> > >
> > > and
> > >
> > > cacheServerInKb&cacheServerOutKb
> > >
> > > are OK.
> > >
> > > > --
> > > > MARA Systems AB, Giving you basic free Squid support
> > > > Customized solutions, packaged solutions and priority support
> > > > available on request
> >
-- Mit freundlichen Gruessen Dipl.-Ing. (FH) Thoralf Freitag Berliner Glas KGaA Herbert Kubatz GmbH & Co. IT-Servicecenter Tel. +49-30-60905-555 (interne Hotline) Tel. +49-30-60905-152 (direkt) Fax +49-30-60905-100 mail Thoralf.Freitag@berlinerglas.de web http://www.berlinerglas.deReceived on Thu Jan 31 2002 - 04:11:17 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:06:02 MST