[SQU] squid snmp

From: Jeff Beley <Jeff.Beley@dont-contact.us>
Date: Fri, 2 Mar 2001 14:25:22 -0600

This may not be the right forum for this q.
I'm trying to monitor a squid oid variable using mrtg. I'm trying to
get .1.3.6.1.4.1.3495.1.3.2.2.1.2.5 also know as
cacheHttpAllSvcTimeFiveMin in the MIB. I can use snmpget with the
proper settings to pull out a variable but when it's called from mrtg,
I get the following message:
SNMP Error:
Received SNMP response with error code
  error status: noSuchName
  index 3 (OID: 1.3.6.1.2.1.1.3.0)
SNMPv1_Session (remote host: "proxy" [xxx.xxx.xxx.xxx].3401)
                  community: "public"
                 request ID: 581712605
                PDU bufsize: 8000 bytes
                    timeout: 2s
                    retries: 5
                    backoff: 1)
SNMPGET Problem for .1.3.6.1.4.1.3495.1.3.2.2.1.2.5
.1.3.6.1.4.1.3495.1.3.2.2.1.2.60 sysUptime sysName on
public@proxy:3401
WARNING: Expected a number but got
WARNING: Expected a number but got
Rateup WARNING: /usr/bin/rateup could not read the primary log file
for cachehttpallsvctimefivemin
Rateup WARNING: /usr/bin/rateup The backup log file for
cachehttpallsvctimefivemin was invalid as well
Rateup WARNING: /usr/bin/rateup Can't remove
cachehttpallsvctimefivemin.old updating log file
Rateup WARNING: /usr/bin/rateup Can't rename
cachehttpallsvctimefivemin.log to cachehttpallsvctimefivemin.old
updating log file

Below is my mrtg.cfg for that variable. Thanks in advance. :)

WorkDir: /var/www/mrtg
WriteExpires: Yes
 
Title[^]: Traffic Analysis for
 
LoadMIBs: /usr/share/snmp/mibs/SQUID.txt
#Options[^]: perhour
 
Target[cacheHttpAllSvcTimeFiveMin]:
.1.3.6.1.4.1.3495.1.3.2.2.1.2.5&.1.3.6.1.4.1.3495.1.3.2.2.1.2.60:public@proxy05:3401
MaxBytes[cacheHttpAllSvcTimeFiveMin]: 100000
Title[cacheHttpAllSvcTimeFiveMin]: cacheHttpAllSvcTimeFiveMin
Options[cacheHttpAllSvcTimeFiveMin]: gauge, growright
PageTop[cacheHttpAllSvcTimeFiveMin]:<h1>cacheHttpAllSvcTimeFiveMin @
proxy05</h1>
YLegend[cacheHttpAllSvcTimeFiveMin]:
LegendI[cacheHttpAllSvcTimeFiveMin]: cacheHttpAllSvcTimeFiveMin
LegendO[cacheHttpAllSvcTimeFiveMin]:
Legend1[cacheHttpAllSvcTimeFiveMin]: cacheHttpAllSvcTimeFiveMin
Legend2[cacheHttpAllSvcTimeFiveMin]:

-- 
Jeff Beley
Internet Services
--
To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
Received on Fri Mar 02 2001 - 13:28:11 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:58:28 MST