[mrtg] Accurate CPU Graphs With More Than 1 Processor

Alex van den Bogaerdt alex at ergens.op.het.net
Thu Mar 15 17:11:35 CET 2007


On Thu, Mar 15, 2007 at 11:10:39AM -0400, Heistand, David wrote:

> I'm particularly interested in the Target line where it looks like I'm
> able to divide the CPU counters by the number of processors to get an
> accurate graph, and also am wondering if my guess that I don't need
> 'gauge' on the Options line since this is a counter and not a simple
> 1-100 value.  I also read that I should define 'LegendO' but things seem
> to work fine as is. 
> 
> Hopefully I'm not asking a question that is in the archives, I did look
> but couldn't find an exact answer.

Quick scan: you seem to do fine.

For a better answer, do the following:

Monitor these OIDs by hand (using snmpget or so) for a couple of minutes.
For example 5 times with one minute interval.
Compute differences in time and in value
Show the results in a table.

                        user            system           nice
timestamp  delta_t  value  delta_v   value  delta_v   ...
1173974612          123456           ...    ...       ...
1173974919 305      127456 4000      ...    ...       ...
1173975215 296      130856 3400      ...    ...       ...
...       ....



More information about the mrtg mailing list