RE: [squid-users] stats clients with MRTG

From: Freitag, Thoralf <[email protected]>
Date: Wed, 16 Jan 2002 10:48:03 +0100

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&nbsp;
> > 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
>

        

Mit freundlichen Gruessen

Thoralf Freitag
Berliner Glas KGaA
Herbert Kubatz GmbH & Co.
IT-Servicecenter

Tel. +49-30-60905-555 (Hotline)
Tel. +49-30-60905-152 (direkt)
Fax +49-30-60905-100
mail Thoralf.Freitag@berlinerglas.de
web http://www.berlinerglas.de
Received on Wed Jan 16 2002 - 02:47:18 MST

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