[mrtg] CPU utilization graphs

Kenneth Falor kfalor at bellgroup.com
Thu Jan 2 17:05:48 MET 2003


Hello everyone, Happy New Year.
This is my first post so please be gentle!
 
I have been using MRTG to monitor my WAN traffic for 4 months without any issues. What a great tool!  Now i want to use it to graph CPU and (eventually) disk access times on my WIN2K servers.  I have been reading as much information as i can find on the web but i always come back to the same error messages:  
 
WARNING: Skipping Update of localhost.processorload, outlast is not defined
WARNING: Skipping Update of localhost.processorload, inlast is not defined
ERROR: Target[localhost.processorload][_OUT_] ' $$target[0]{$mode} ' did not eval into defined data.
ERROR: Target[localhost.processorload][_IN_] ' $$target[0]{$mode} ' did not eval into defined data.
WARNING: skipping because at least the query for .1.3.6.1.4.1.311.1.1.3.1.1.2.1.4.1.48 on  localhost did not succeed.
SNMPGET Problem for .1.3.6.1.4.1.311.1.1.3.1.1.2.1.4.1.48 .1.3.6.1.4.1.311.1.1.3.1.1.2.1.5.1.48 sysUptime sysName on <BellGrouper>@localhost
 
SNMP Error: no response received
SNMPv1_Session (remote host: "localhost" [127.0.0.1].161)
                  community: "<BellGrouper>"
                 request ID: -1017488418
                PDU bufsize: 8000 bytes
                    timeout: 2s
                    retries: 5
                    backoff: 1).
 
 
I used a small program called snmputilg.exe to get the relevant OID's, and here is my config file:
 
Workdir: C:\Inetpub\Support_Root\MRTG  
Htmldir: C:\Inetpub\Support_Root\MRTG
# Imagedir: C:\Inetpub\Support_Root\MRTG 
# Logdir: C:\Inetpub\Support_Root\MRTG
# Icondir: /images/
Options[_]: growright,bits
RunAsDaemon: yes
Interval: 5
#---------------------------------------------------------------
 
#
# NT Processor Utilization
#
 
YLegend[localhost.processorLoad]: % Utilization
WithPeak[localhost.processorLoad]: ymw
XSize[localhost.processorLoad]: 300
Options[localhost.processorLoad]: growright, gauge
Target[localhost.processorLoad]: .1.3.6.1.4.1.311.1.1.3.1.1.2.1.4.1.48&.1.3.6.1.4.1.311.1.1.3.1.1.2.1.5.1.48:<BellGrouper>@localhost
MaxBytes[localhost.processorLoad]: 523444000
ShortLegend[localhost.processorLoad]: %
Legend1[localhost.processorLoad]: Proc Load in next minute
Legend2[localhost.processorLoad]: Proc Load in next minute
Legend3[localhost.processorLoad]: Maximal 5 Minute Proc Load
Legend4[localhost.processorLoad]: Maximal 5 Minute Proc Load
LegendI[localhost.processorLoad]: &nbsp;Load:
LegendO[localhost.processorLoad]: &nbsp;Load:
PageTop[localhost.processorLoad]: <H1>Processor Utilization
 </H1>
 <TABLE>
  <TR><TD>System:</TD><TD>Terminal server 2</TD></TR>
  <TR><TD>Maintainer:</TD><TD>Kenneth Falor</TD></TR>
  <TR><TD>Processor Load MIB:</TD><TD>.1.3.6.1.4.1.311.1.1.3.1.1.2.1.4.1.48</TD></TR>
 </TABLE>
 
 
For the moment i am trying to get it working on the localhost, but it fails the same way on other servers.  SNMP is running in all cases. 
 
Please help, i have been banging my head on this for a week.
 
 
 
 
Kenneth Falor
IT Operations
 

--
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