Re: Linux number of CPUs?
Les Mikesell <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
Dave Shield wrote: > 2008/12/30 Les Mikesell <[email protected]>: >> On Linux, how should a monitoring program scale the load average and cpu >> use values to determine when a machine has reached capacity? Is there a >> way to get the number of CPUs from linux net-snmp, or per-cpu usage values? > > Which version of the agent are you using? Most are 5.3's but an overdue update will go to 5.4. > The HOST-RESOURCES-MIB::hrProcessorTable should report the number > of processors detected. But agents up to (and including)l the 5.3.x line > fudged the hrProcessorLoad object, and simply returned a common value > based on the overall load average. > > The 5.4.x agent now attempts to report this value properly. > > Note that the UCD-SNMP-MIB cpu statistics and load average objects > are overall values, and do not handle individual CPUs. But what are you supposed to do with a value like 400% CPU usage if you don't know how many processors are running? An average value might be useful but how can you use a total of percentages without knowing how many were totaled? -- Les Mikesell [email protected] ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ Net-snmp-users mailing list [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users