> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, August 16, 2005 1:54 AM
> To: squid-users@squid-cache.org
> Subject: [squid-users] squid monitoring using mrtg
> 
> 
> Hi 
> I am trying to poll squid using SNMP.
> I am using squid MIB file from
> http://chrismiles.info/unix/mrtg/squid-mib.txt
> 
> I am getting maximum stats but I am not getting any data in "Number of
> clients accessing cache"
> 
> What is wrong there.
> 
> My mrtg config is 
> 
> ##############################################################
> ##########
> #########
> Target[cacheClients]: 
> cacheClients&cacheClients:[EMAIL PROTECTED]:3401
> MaxBytes[cacheClients]: 1000000000
> Title[cacheClients]: Number of Clients

Edit the following line...

> Options[cacheClients]: growright, nopercent

to read...

Options[cacheClients]: growright, nopercent, gauge

...and you should be set.  cacheClients does not increase with time.

> PageTop[cacheClients]: <h1>Number of clients accessing cache 
> @ DALE</h1>
> YLegend[cacheClients]: clients/sec
> ShortLegend[cacheClients]: clients/s
> LegendI[cacheClients]: Num Clients&nbsp;
> LegendO[cacheClients]:
> Legend1[cacheClients]: Num Clients
> Legend2[cacheClients]:
> ##############################################################
> ##########
> ###############
> Thanks

Chris

Reply via email to