[mrtg] Re: Error monitoring CPU
Gustau
gespinosa at impala-net.com
Fri Sep 26 14:02:03 MEST 2003
Hi,
My Mrtg.cfg file contains :
Target[IP_cpu]:
1.3.6.1.4.1.311.1.1.3.1.1.2.1.3.1&1.3.6.1.4.1.311.1.1.3.1.1.2.1.3.1:public at I
P
AbsMax[IP_cpu]: 100
MaxBytes[IP_cpu]: 100
Unscaled[IP_cpu]: wd
Options[IP_cpu]: gauge, unknaszero,nobanner
BodyTag[IP_cpu]:<BODY BGCOLOR="#245F8D">
PageFoot[IP_cpu]:<H4 FONT
STYLE=color:"FFF5EC";text-decoration:underline;letter-spacing:0Hpx;>
Contacte: YO!! <A HREF="mailto:direccion at empresa.empresa";>Yo
mismo!!</H4></A>
WithPeak[IP_cpu]: dwmy
XSize[IP_cpu]: 300
YSize[IP_cpu]: 80
YLegend[IP_cpu]: % Utilization
ShortLegend[IP_cpu]: %
#Legend1[IP_cpu]: Proc Load in next minute
#Legend2[IP_cpu]: .
#Legend3[IP_cpu]: Maximal 5 Minute Proc Load
#Legend4[IP_cpu]: .
LegendI[IP_cpu]: Load:
#LegendO[IP_cpu]: .
Title[IP_cpu]: SERVER
PageTop[IP_cpu]: <H1>SERVER Servidor W2K</H1>
-----Mensaje original-----
De: mrtg-bounce at list.ee.ethz.ch [mailto:mrtg-bounce at list.ee.ethz.ch]En
nombre de Alberto Moreno
Enviado el: viernes, 26 de septiembre de 2003 13:23
Para: mrtg at list.ee.ethz.ch
Asunto: [mrtg] Error monitoring CPU
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
--
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