<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: Arial; font-size: 12pt; color: #000000'>Hello.<br><br>I'm having some issues getting the CPU utilization for any machine. For testing purposes, I'll only include one machine here. It is a single core CPU running CentOS. The machine that MRTG is running on is Ubuntu 9.04 Desktop and it's using MRTGv2.16.2. Here the relevant portion of my mrtg.cfg file:<br><br>LoadMIBs: /usr/share/snmp/mibs/UCD-SNMP-MIB.txt<br>Target[mailserv.cpu]:ssCpuRawUser.0&ssCpuRawUser.0:public@10.0.0.10 + ssCpuRawSystem.0&ssCpuRawSystem.0:public@10.0.0.10 + ssCpuRawNice.0&ssCpuRawNice.0:pub$<br>MaxBytes[mailserv.cpu]: 100<br>Title[mailserv.cpu]: CPU LOAD<br>PageTop[mailserv.cpu]: <H1>Active CPU Load %</H1><br>Unscaled[mailserv.cpu]: ymwd<br>ShortLegend[mailserv.cpu]: %<br>YLegend[mailserv.cpu]: CPU Utilization<br>Legend1[mailserv.cpu]: Active CPU in % (Load)<br>Legend2[mailserv.cpu]:<br>Legend3[mailserv.cpu]:<br>Legend4[mailserv.cpu]:<br>LegendI[mailserv.cpu]: Active<br>LegendO[mailserv.cpu]:<br>Options[mailserv.cpu]: growright,nopercent,gauge<br><br>I have tried many many many different changes to this but they all warrant the same results. I get a graph, but nothing populates within the graph. I notice that I'm getting things in the /var/mail/root. Here is my latest excerpt from that:<br><br>Unknown SNMP var ssCpuRawUser.0<br> at /usr/bin/mrtg line 2207<br>Unknown SNMP var ssCpuRawUser.0<br> at /usr/bin/mrtg line 2207<br>2009-09-24 00:35:01: WARNING: Expected a number but got '11:49:28'<br>2009-09-24 00:35:01: WARNING: Expected a number but got 'nas2'<br>Unknown SNMP var ssCpuRawSystem.0<br> at /usr/bin/mrtg line 2207<br>Unknown SNMP var ssCpuRawSystem.0<br> at /usr/bin/mrtg line 2207<br>2009-09-24 00:35:01: WARNING: Expected a number but got '11:49:28'<br>2009-09-24 00:35:01: WARNING: Expected a number but got 'nas2'<br>Unknown SNMP var ssCpuRawNice.0<br> at /usr/bin/mrtg line 2207<br>Unknown SNMP var ssCpuRawNice.0<br> at /usr/bin/mrtg line 2207<br>2009-09-24 00:35:01: WARNING: Expected a number but got '11:49:28'<br>2009-09-24 00:35:01: WARNING: Expected a number but got 'nas2'<br>Unknown SNMP var ssCpuRawUser.0<br> at /usr/bin/mrtg line 2207<br>Unknown SNMP var ssCpuRawUser.0<br> at /usr/bin/mrtg line 2207<br>2009-09-24 00:35:01: WARNING: Expected a number but got '34 days, 7:01:39'<br>2009-09-24 00:35:01: WARNING: Expected a number but got 'mail.server.com'<br>Unknown SNMP var ssCpuRawSystem.0<br> at /usr/bin/mrtg line 2207<br>Unknown SNMP var ssCpuRawSystem.0<br> at /usr/bin/mrtg line 2207<br>2009-09-24 00:35:01: WARNING: Expected a number but got '34 days, 7:01:39'<br>2009-09-24 00:35:01: WARNING: Expected a number but got 'mail.server.com'<br>Unknown SNMP var ssCpuRawNice.0<br> at /usr/bin/mrtg line 2207<br>Unknown SNMP var ssCpuRawNice.0<br> at /usr/bin/mrtg line 2207<br>2009-09-24 00:35:01: WARNING: Expected a number but got '34 days, 7:01:39'<br>2009-09-24 00:35:13: ERROR: Target[localhost.cpu][_IN_] ' $target->[18]{$mode} + $target->[19]{$mode} + $target->[20]{$mode} ' (warn): Use of uninitialized value in addition (+) at (eval 54) line 1.<br>2009-09-24 00:35:13: ERROR: Target[localhost.cpu][_OUT_] ' $target->[18]{$mode} + $target->[19]{$mode} + $target->[20]{$mode} ' (warn): Use of uninitialized value in addition (+) at (eval 55) line 1.<br>2009-09-24 00:35:13: ERROR: Target[mailserv.cpu][_IN_] ' $target->[22]{$mode} + $target->[23]{$mode} + $target->[24]{$mode} ' (warn): Use of uninitialized value in addition (+) at (eval 58) line 1.<br>2009-09-24 00:35:13: ERROR: Target[mailserv.cpu][_OUT_] ' $target->[22]{$mode} + $target->[23]{$mode} + $target->[24]{$mode} ' (warn): Use of uninitialized value in addition (+) at (eval 59) line 1.<br><br>As I'm sure you've noticed, it's almost as iff ssCpuRawUser.0 returns 'uptime'. I cannot find an answer that works anywhere. Does anyone have a fix for this?<br></div></body></html>