Re: [squid-users] Monitoring Squid with MRTG

From: Shanker Balan <shanu@dont-contact.us>
Date: Thu, 14 Jun 2001 10:28:37 +0530

John Hardin wrote:
> > http://www.squid-cache.org/Doc/FAQ/FAQ-18.html
>
> Nonresponsive site.
>
> > http://people.ee.ethz.ch/~oetiker/webtools/mrtg/squid.html
>
> Nothing but a banner page.
>
> Can anybody post URLs for mirrors of the configuration information?

The French mirror worked for me:
http://mrtg-fr.agarik.com/squid.html

I seem to have an issue with MRTG + squid monitoring on my box. I have
cut and pasted the config lines to mrtg.cfg verbatim from the html page.

When i run mrtg i get this error:

godzilla:/etc# mrtg mrtg.cfg
WARNING: "MaxBytes[proxy-hit]" not specified
ERROR: Please fix the error(s) in your config file

snmpwalk does give me an output:

godzilla:/etc# snmpwalk -p 3401 proxy public .1.3.6.1.4.1.3495.1.1
enterprises.3495.1.1.1.0 = 404
enterprises.3495.1.1.2.0 = 176673
enterprises.3495.1.1.3.0 = Timeticks: (643943) 1:47:19.43

What am i missing to add?

-- Shanu

/etc/mrtg.cfg

Target[proxy-hit]:
cacheHttpHits&cacheClientHttpRequests:public@proxy
Title[proxy-hit]: HTTP Hits
PageTop[proxy-hit]: <H2>proxy Cache Statistics: HTTP Hits /
Requests</H2>
Suppress[proxy-hit]: y
LegendI[proxy-hit]: HTTP hits
LegendO[proxy-hit]: HTTP requests
Legend1[proxy-hit]: HTTP hits
Legend2[proxy-hit]: HTTP requests
YLegend[proxy-hit]: perminute
ShortLegend[proxy-hit]: req/min
Options[proxy-hit]: nopercent, perminute, dorelpercent

Target[proxy-srvkbinout]:
cacheServerInKb&cacheServerOutKb:public@proxy
Title[proxy-srvkbinout]: Cache Server Traffic In / Out
PageTop[proxy-srvkbinout]: <H2>Cache Statistics: Server traffic volume
(In/Out) </H2>
Suppress[proxy-srvkbinout]: y
LegendI[proxy-srvkbinout]: Traffic In
LegendO[proxy-srvkbinout]: Traffic Out
Legend1[proxy-srvkbinout]: Traffic In
Legend2[proxy-srvkbinout]: Traffic Out
YLegend[proxy-srvkbinout]: per minute
ShortLegend[proxy-srvkbinout]: b/min
kMG[proxy-srvkbinout]: k,M,G,T
kilo[proxy-srvkbinout]: 1024
Options[proxy-srvkbinout]: nopercent, perminute
 
 - - - - - - - - - - - ( Shanu ) - -
 Shanker Balan http://people.exocore.com/shanu
 shanu at exocore dot com
Received on Wed Jun 13 2001 - 23:05:31 MDT

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