[squid-users] SNMP and CPU usage

From: Mike McCall <mccall@dont-contact.us>
Date: Wed, 10 Dec 2003 10:38:49 -0700

Hello,

I've been trying to get MRTG (as well as others) to track our Squid
2.5.STABLE3 installation's performance and usage. So far, almost everything
is great. The only thing that I see that isn't right is CPU usage. For
some reason it always reports 10% use, which I know is incorrect.

Below is a snippet of my MRTG config:

--snip--
# cacheCpuUsage 1.3.6.1.4.1.3495.1.3.1.5
Target[cachecpuusage]: cacheCpuUsage&cacheCpuUsage:public@192.168.1.1:161
Legend1[cachecpuusage]: Percentage of CPU used
Legend2[cachecpuusage]: Percentage of CPU used
LegendI[cachecpuusage]: % of CPU
LegendO[cachecpuusage]: % of CPU
MaxBytes[cachecpuusage]: 100
Options[cachecpuusage]: gauge, growright, nopercent, noo
ShortLegend[cachecpuusage]: %
PageTop[cachecpuusage]: <H1>The percentage use of the CPU</H1>
Title[cachecpuusage]: The percentage use of the CPU
YLegend[cachecpuusage]: CPU
--snip--

I have tried other SNMP utilities to see if the problem was MRTG, but they
all showed this value as 10 too. I'm using version 1.25.4.2 of mib.txt.
Has anyone else seen this?
  

Mike
Received on Wed Dec 10 2003 - 10:37:21 MST

This archive was generated by hypermail pre-2.1.9 : Thu Jan 01 2004 - 12:00:09 MST