RE: [squid-users] squid monitoring using mrtg

From: Chris Robertson <crobertson@dont-contact.us>
Date: Tue, 16 Aug 2005 10:54:11 -0800

> -----Original Message-----
> From: lokesh.khanna@accelonafrica.com
> [mailto:lokesh.khanna@accelonafrica.com]
> 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:xxxxx@192.168.70.8: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
Received on Tue Aug 16 2005 - 12:54:13 MDT

This archive was generated by hypermail pre-2.1.9 : Thu Sep 01 2005 - 12:00:02 MDT