[mrtg] Incorrect CPU usage reporting

evans.mj.1 at pg.com evans.mj.1 at pg.com
Mon Oct 6 16:03:50 MEST 2003


I am monitoring several servers for various system performance counters.  All
but one have Dual CPU's.  On 5 out of the 13 that I am currently monitoring, the
graph for either CPU1 or CPU2 has Priviledged Usage pegged at 100%, even though
the actual data that I get when I poll the system using SNMPGET fluctuates and
rarely reaches 100%.  I have included a copy of the CPU portion of the config
file below.

### Global Config Options

Logdir: mrtg\logs
Htmldir: mrtg
Imagedir: mrtg\images

RunAsDaemon: Yes
Refresh: 300
Interval: 5

### Global Defaults

#  to get bits instead of bytes and graphs growing to the right
# Options[_]: growright, bits

Options[_]: growright,nopercent,gauge

### CPU1 Utilization

Target[155.118.176.159-cpu1]:
1.3.6.1.4.1.311.1.1.3.1.1.2.1.5.1.48&1.3.6.1.4.1.311.1.1.3.1.1.2.1.5.1.48:pgpmrtg at 155.118.176.159
MaxBytes[155.118.176.159-cpu1]: 100
Title[155.118.176.159-cpu1]: Average Privileged and User Mode CPU1 Utilization
(%)
PageTop[155.118.176.159-cpu1]: <H1>JANUS CPU1 Utilization</H1>
XSize[155.118.176.159-cpu1]: 300
YSize[155.118.176.159-cpu1]: 100
YLegend[155.118.176.159-cpu1]: CPU1 Usage (%)
ShortLegend[155.118.176.159-cpu1]: %
Legend1[155.118.176.159-cpu1]: Privileged (system) CPU1 use in percent
Legend2[155.118.176.159-cpu1]: User (application) CPU1 use in percent
LegendI[155.118.176.159-cpu1]: PrivCPU1:&nbsp
LegendO[155.118.176.159-cpu1]: UserCPU1:&nbsp

### CPU2 Utilization

Target[155.118.176.159-cpu2]:
1.3.6.1.4.1.311.1.1.3.1.1.2.1.5.1.49&1.3.6.1.4.1.311.1.1.3.1.1.2.1.5.1.49:pgpmrtg at 155.118.176.159
MaxBytes[155.118.176.159-cpu2]: 100
Title[155.118.176.159-cpu2]: Average Privileged and User Mode CPU2 Utilization
(%)
PageTop[155.118.176.159-cpu2]: <H1>JANUS CPU2 Utilization</H1>
XSize[155.118.176.159-cpu2]: 300
YSize[155.118.176.159-cpu2]: 100
YLegend[155.118.176.159-cpu2]: CPU2 Usage (%)
ShortLegend[155.118.176.159-cpu2]: %
Legend1[155.118.176.159-cpu2]: Privileged (system) CPU2 use in percent
Legend2[155.118.176.159-cpu2]: User (application) CPU2 use in percent
LegendI[155.118.176.159-cpu2]: PrivCPU2:&nbsp
LegendO[155.118.176.159-cpu2]: UserCPU2:&nbsp

The systems that are not having this happen also use the config above.  Any help
is greatly appreciated.

Thanks,
Mike Evans

--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the mrtg mailing list