At 22:18, on Mar 14, 2006, Cornelius Bartke wrote:
Which MRTG are you using? I've found that querying SNMP for the CPU busy (.1.3.6.1.4.1.789.1.2.1.2) use will indeed graph the AVG CPU, which is the sane one.
Actually, .1.3.6.1.4.1.789.1.2.1.2 is cpuBusyTime (at least the MIB for DOT 6.5.x says so) and calculating CPU utilization via delta(cpuBusyTime)*100/delta(cpuUpTime) on a FAS960 leaves us with a no-so-satisfying ANY value. See also Bug-IDs 141441 and 148982.
It would be better to have snmpd report a cpuTable with seperate data for all CPUs.
Actually - I disagree. Graphing cpuBusyTime indeed shows the average. Been using it for years.
And that's indeed was BugID 148982 is complaining about: SNMP reports cpu utilization as the average of each CPU's utilization while sysstat reports the percentage of time at least one CPU is busy. As a result, the CPU utilization reported by the two tools may not match.
Davin.