[squid-users] help on squid mrtg

From: nhadie ramos <nhadzter@dont-contact.us>
Date: Sun, 06 Oct 2002 06:42:36 +0800

Hi All,

I'm tryin to setup my mrtg to monitor the performance of my cache but i'm not having any luck yet, this is the error that i'm getting :

========================== start =================================

SNMP Error:
Received SNMP response with error code
  error status: noSuchName
  index 1 (OID: 1.3.6.1.4.1.3495.1.3.2.1.2)
SNMPv1_Session (remote host: "localhost" [127.0.0.1].161)
                  community: "public"
                 request ID: 1257698607
                PDU bufsize: 8000 bytes
                    timeout: 2s
                    retries: 5
                    backoff: 1)
 at /usr/local/src/mrtg-2.9.22/bin/../lib/mrtg2/SNMP_util.pm line 458
SNMPGET Problem for cacheHttpHits cacheClientHttpRequests on public@localhost
 at ./mrtg line 1607
WARNING: skipping because at least the query for cacheHttpHits on localhost did not succeed
ERROR: Target[proxy-hit][_IN_] ' $$target[0]{$mode} ' did not eval into defined data
ERROR: Target[proxy-hit][_OUT_] ' $$target[0]{$mode} ' did not eval into defined data
WARNING: Skipping Update of proxy-hit, inlast is not defined
WARNING: Skipping Update of proxy-hit, outlast is not defined

=========================== end =================================

This is my mrtg.cfg

===================== start ==================================

LoadMIBs: /var/squid/share/mib.txt
WorkDir: /var/httpd/htdocs/mrtg/

Target[proxy-hit]: cacheHttpHits&cacheClientHttpRequests:public@localhost
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
MaxBytes[proxy-hit]: 1250000
ShortLegend[proxy-hit]: req/min
Options[proxy-hit]: nopercent, perminute, dorelpercent

===================== end ================================

Hope you guys can help me out, coz i really want to see how my cache is doing, it's been up for two weeks and i rarely see a TCP_HIT on my access.log. :-(

TIA

Ronald

Join 18 million Eudora users by signing up for a free Eudora Web-Mail account at http://www.eudoramail.com
Received on Sat Oct 05 2002 - 16:42:59 MDT

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