[mrtg] Error monitoring CPU

Alberto Moreno Alberto.Moreno at ie.edu
Fri Sep 26 13:22:37 MEST 2003


This is the config file but I run mrtg and error

### Global Config Options

#  for UNIX
# WorkDir: /home/http/mrtg

#  or for NT
# WorkDir: c:\mrtgdata

### Global Defaults

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

WorkDir: /dat/www/mrtg
Options[_]: bits,growright
Language: spanish
LoadMIBs: /usr/local/etc/mrtg/perfmib.mib


# NT Processor Utilization
#

YLegend[procesador]: % Utilization
WithPeak[procesador]: ymw
XSize[procesador]:300
Options[procesador]: growright,gauge
Target[procesador]:
cpuPercentProcessorTime&cpuPercentProcessorTime:public at 150.25.1.150
MaxBytes[procesador]: 523444000
Title[procesador]: NT Processor Load
ShortLegend[procesador]: %
Legend1[procesador]: Proc Load in next minute
Legend2[procesador]: Proc Load in next minute
Legend3[procesador]: Maximal 5 Minute Proc Load
Legend4[procesador]: Maximal 5 Minute Proc Load
LegendI[procesador]:  Load:
LegendO[procesador]:  Load:
PageTop[procesador]: <H1>Processor Utilization</H1>
        <TABLE>
                <TR><TD>System:</TD><TD>PC personal de Alberto para
pruebas</TD></TR>
                <TR><TD>Processor Load
MIB:</TD><TD>.1.3.6.1.2.1.25.3.3.1.2.1</TD></TR>
        </TABLE>




THIS IS THE ERROR
------------------------------------------------------------------------
SNMP Error:
Received SNMP response with error code
  error status: genErr
  index 1 (OID: 1.3.6.1.4.1.311.1.1.3.1.1.2.1.3)
SNMPv1_Session (remote host: "150.25.1.150" [150.25.1.150].161)
                  community: "public"
                 request ID: 1185772554
                PDU bufsize: 8000 bytes
                    timeout: 2s
                    retries: 5
                    backoff: 1)
 at /usr/local/lib/perl5/site_perl/5.005/SNMP_util.pm line 458
SNMPGET Problem for cpuPercentProcessorTime cpuPercentProcessorTime
sysUptime sysName on public at 150.25.1.150
 at /usr/local/bin/mrtg line 1614
WARNING: skipping because at least the query for cpuPercentProcessorTime
on  150.25.1.150 did not succeed
ERROR: Target[procesador][_IN_] ' $$target[0]{$mode} ' did not eval into
defined data
ERROR: Target[procesador][_OUT_] ' $$target[0]{$mode} ' did not eval
into defined data
WARNING: Skipping Update of procesador, inlast is not defined
WARNING: Skipping Update of procesador, outlast is not defined
------------------------------------------------------------------------
----

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