RE: [squid-users] stats clients with MRTG

From: Andreas Piesk <apiesk@dont-contact.us>
Date: Tue, 15 Jan 2002 16:20:53 +0100

>
> 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
Received on Tue Jan 15 2002 - 08:20:14 MST

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