|
From: Dave S. <D.T...@cs...> - 2004-03-05 09:55:42
|
> I trying to monitor CPU Load for a linux machine, but I am finding out that > the MIB OID necessary for this (hrProcessorLoad) is not available or > supported anymore. It never has been - it's a difficult value to calculate. > So my question now is: How does one go about monitoring the CPU Load. There are two (enterprise-specific) MIB groups that are relevant here. UCD-SNMP-MIB::laTable UCD-SNMP-MIB::ssRawCpu* The first is a table of the standard unix "load average" (giving a 1-minute, 5-minute and 15-minute measure of how busy the system is) The second is a series of counters, monitoring the amount of CPU time spent in various modes. Note that there are also some deprecated "cooked" values, that purport to provide percentage measures. DO NOT USE THESE! They are fundamentally broken, and will be removed. The raw counters provide a better (i.e. valid!) way of handling this, particularly in conjunction with a monitoring tool such as MRTG. Dave |