[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 . 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:
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 .
. sysUptime sysName on
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
MaxBytes[cacheHttpAllSvcTimeFiveMin]: 100000
Title[cacheHttpAllSvcTimeFiveMin]: cacheHttpAllSvcTimeFiveMin
Options[cacheHttpAllSvcTimeFiveMin]: gauge, growright
PageTop[cacheHttpAllSvcTimeFiveMin]:<h1>cacheHttpAllSvcTimeFiveMin @
LegendI[cacheHttpAllSvcTimeFiveMin]: cacheHttpAllSvcTimeFiveMin
Legend1[cacheHttpAllSvcTimeFiveMin]: 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