AW: [squid-users] Squid, MRTG & SNMP

From: Fabian Kraetschmer <fabian.kraetschmer.oststadt@dont-contact.us>
Date: Thu, 26 Sep 2002 11:36:40 +0200

Hi Folks,

i've updated squid to 2.5 Stable1 and
-##
Language: german
WorkDir: /bla/mrtg/
IconDir: /bla/mrtg-icons

Target[proxy-hit]:
cacheHttpHits&cacheClientHttpRequests:public@proxy:3401
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
MaxBytes[proxy-hit]: 3000
Options[proxy-hit]: nopercent, perminute, dorelpercent
-##
now says:

-##
ERROR: CFG Error Unknown Option
"cachehttphits&cacheclienthttprequests:public@proxy" on line 8 or above.
           Check doc/reference.txt for Help
-##

This is another error...is this an MRTG or squid error?

Bye,

----------------
Fabian Kraetschmer
Datenverarbeitung Klinikum Hannover
In den Sieben Stücken 2-4
30655 Hannover
Germany
Tel.: +49 (511) 906 3819
Fax: +49 (511) 906 3822
http://www.klinikum-hannover.de
Intranet: http://intranet.klk-h.de

This email is confidential. If you are not the intended recipient,
you must not disclose or use the information contained in it.
If you have received this mail in error, please tell us
immediately by return email and delete the document.

-----Ursprüngliche Nachricht-----
Von: Dave Raven [mailto:dave@reason.za.org]
Gesendet: Mittwoch, 25. September 2002 16:56
An: Fabian Kraetschmer; squid-users@squid-cache.org
Betreff: Re: [squid-users] Squid, MRTG & SNMP

-----BEGIN PGP SIGNED MESSAGE-----

well. I suspect your MIB is not loaded.
This is probably due to you misspelling squid
(as squd) in the LoadMIBs line.

If not, mail me back and I'll be more
helpfull - but it looks like its the MIBs not
loading... bare in mind I know very little
about MRTG.

- --Dave.

- ----- Original Message -----
From: "Fabian Kraetschmer"
<fabian.kraetschmer.oststadt@klinikum-hannover.de>
To: <squid-users@squid-cache.org>
Sent: Wednesday, September 25, 2002 4:28 PM
Subject: [squid-users] Squid, MRTG & SNMP

> Hi Folks!
>
> -##
> RedHat 7.1
> Squid 2.4 Stable6 6.7.3
> MRTG 2.9.17
> net-snmp 5.0.1
> -##
>
> I want to monitor Squid with MRTG.
>
> Using this MRTG.cfg:
> -##
> LoadMIBs: /usr/local/squd/etc/mib.txt
> Language: german
> WorkDir: /blub/bla
> IconDir: /blubbla/mrtg-icons
>
> 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
> MaxBytes[proxy-hit]: 3000
> Options[proxy-hit]: nopercent, perminute, dorelpercent
> -##
>
> With "./mrtg MRTG.cfg" it Returns this:
> -##
> Unknown SNMP var cacheHttpHits
> at ../bin/mrtg line 1491
> Unknown SNMP var cacheClientHttpRequests
> at ../bin/mrtg line 1491
> WARNING: Expected a number but got ''
> WARNING: Expected a number but got ''
> Unknown SNMP var cacheServerInKb
> at ../bin/mrtg line 1491
> Unknown SNMP var cacheServerOutKb
> at ../bin/mrtg line 1491
> WARNING: Expected a number but got ''
> WARNING: Expected a number but got ''
> -##
>
> Testing with "snmpwalk proxy:3401 -c public .1.3.6.1.4.1.3495.1.1"
> returns this:
> -##
> iso.3.6.1.4.1.3495.1.1.1.0 = INTEGER: 84
> iso.3.6.1.4.1.3495.1.1.2.0 = INTEGER: 400
> iso.3.6.1.4.1.3495.1.1.3.0 = Timeticks: (63000) 0:10:30.00
> -##
> so the squid-snmp is working fine, i think.
>
> I've read this dokumentation:
> http://www.terena.nl/d2-workshop/d2cache2000/lecture.html
> http://www.terena.nl/tech/d2-workshop/d2cache99/mrtg/d2ws99mrtglab.h
> tml http://www.squid-cache.org/SNMP/
> http://www.squid-cache.org/Doc/FAQ/FAQ-18.html
> http://people.ee.ethz.ch/~oetiker/webtools/mrtg/squid.html
>
> What is wrong? Any missconfiguration or compatability-problem?
>
> Thanks in advance,
>
> ----------------
> Fabian Kraetschmer
> Datenverarbeitung Klinikum Hannover
> In den Sieben Stücken 2-4
> 30655 Hannover
> Germany
> Tel.: +49 (511) 906 3819
> Fax: +49 (511) 906 3822
> http://www.klinikum-hannover.de
> Intranet: http://intranet.klk-h.de
>
> This email is confidential. If you are not the intended recipient,
> you must not disclose or use the information contained in it.
> If you have received this mail in error, please tell us
> immediately by return email and delete the document.
>

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 7.0.3 for non-commercial use <http://www.pgp.com>

iQEVAwUBPZHOaLTAuMekS5e2AQGJrwf9HGn78ySTTewNN9LB56d50Xcek/XOYNvu
/duFZljrFTxw4D0F7eX79fM7A0VKzYjj0Ck6aRP0XZBIfqYFtQ/r9QsiSXWYaK+o
e8SfLvtYZ9pDEWul6Pm0ulJ3WP1LHjuHo6Ojrji0/oR+sa6pv9fOCgA7SH7/dUb9
mHPRycsje4FQjPYJLs1pijRsm8UTStvsceAx4SsjSY0+FkI1WFeFFb+yWFM+Up10
PaDX9C2OaSVCbirVztE+Nck/kEHxdlCis/H2ppimiIwQ4r4WOscDO6Es3lKiLk1W
YVvxXFSil5MxZUFi3/MCLWoYhRJ80TkPyt2qglIKYJx8nkaMW6PnAA==
=y+9p
-----END PGP SIGNATURE-----
Received on Thu Sep 26 2002 - 04:53:35 MDT

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