Re: [squid-users] SQUID and MRTG

From: Squid Support (Henrik Nordstrom) <hno@dont-contact.us>
Date: Wed, 8 May 2002 19:19:39 +0200

Flavio Fonseca wrote:
> Now a new question: I noticed that squid MIB has cacheClientHTTPKb and
> cacleClientHTTPHits "field". but when I try to access it thru MRTG I got
> this error:

There is as many of these as you have clients.. cacheClient is an array of
all your clients, indexed by IP address.

> Array found where operator expected at (eval 6) line 1, at end of line
> ERROR: Target[10.0.3.1-inout] eval warning: syntax error at (eval 6) line
> 1, near "public@localhost"
> Global symbol "@localhost" requires explicit package name at (eval 6) line
> 1.

I don't think MRTG has any configuration syntax allowing you to specify such
MIB objects by name. You quite likely will have to use a numeric OID to
include the requested client's IP address.

> I also would like to know what to do in this case: when squid is started
> it has not the values for clientes that haven't accessed it yet, how to
> configure mrtg to get only the knowns clients and the others clients as the
> start to use squid.

I don't think MRTG really is the tool you want for plotting these values..
What do you actually want to do here?

-- 
Basic free Squid support provided thanks to MARA Systems AB
Your source of advanced reverse proxy solutions or customized
Squid solutions. http://www.marasystems.com/products/
Received on Wed May 08 2002 - 11:19:50 MDT

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