<!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN">
<HTML>
<HEAD>
<META content=text/html;charset=iso-8859-1 http-equiv=Content-Type><TITLE>Unix CPU stats</TITLE><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<META content='"MSHTML 4.72.3110.7"' name=GENERATOR>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT color=#000000 size=2>Jeff,</FONT></DIV>
<DIV><FONT color=#000000 size=2></FONT> </DIV>
<DIV><FONT size=2>When you specify the OID in the target you need to put in
two. MRTG just wants it that way. Also, you need to put a .0 at the
end to specify the instance. So your target should look something like
this.</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT face="Courier New" size=2>Target[user]:
1.3.6.1.4.1.11.2.3.1.1.14.0&1.3.6.1.4.1.11.2.3.1.1.14.0:public@tweety</FONT>
<BR></DIV>
<DIV> </DIV>
<DIV><FONT color=#000000 size=2>Mike Starkweather</FONT></DIV>
<BLOCKQUOTE
style="BORDER-LEFT: #000000 solid 2px; MARGIN-LEFT: 5px; PADDING-LEFT: 5px">
<DIV><FONT face=Arial size=2><B>-----Original Message-----</B><BR><B>From:
</B>Krawczyk, Jeff <<A
href="mailto:Jeff.Krawczyk@weamfg.com">Jeff.Krawczyk@weamfg.com</A>><BR><B>To:
</B>MRTG (E-mail) <<A
href="mailto:mrtg@list.ee.ethz.ch">mrtg@list.ee.ethz.ch</A>><BR><B>Date:
</B>Friday, July 30, 1999 9:20 AM<BR><B>Subject: </B>[mrtg] Unix CPU
stats<BR><BR></DIV></FONT>
<P><B><FONT face=Arial size=2>Hello all;</FONT></B> </P>
<P><B> <FONT face=Arial size=2>I'm
trying to utilize MRTG 2.7.4b to read the following MIB to graph CPU
utilization for my DG/UX server. Here is the Object path:</FONT></B></P>
<P><FONT face=Arial size=2>computerSystemSysCPU
1.3.6.1.4.1.11.2.3.1.1.14
Counter read-only</FONT>
</P>
<P> <B> <FONT face=Arial
size=2>Here is my cfg file</FONT></B> </P>
<P><FONT face="Courier New" size=2>WorkDir: D:\mrtg_workdir\Tweety</FONT>
</P>
<P><FONT face="Courier New"
size=2>######################################################################</FONT>
<BR><FONT face="Courier New" size=2># Description: DG/UX - EMANATE SNMP
Agent</FONT> <BR><FONT face="Courier New" size=2>#
Contact: </FONT><BR><FONT face="Courier New" size=2># System Name:
tweety</FONT> <BR><FONT face="Courier New" size=2>#
Location: </FONT><BR><FONT face="Courier New"
size=2>#....................................................................</FONT>
</P>
<P><FONT face="Courier New" size=2># Tweety Legacy UFOS Systems CPU
statistics</FONT> </P>
<P><FONT face="Courier New" size=2>Target[user]:
1.3.6.1.4.1.11.2.3.1.1.14:public@tweety</FONT> <BR><FONT face="Courier New"
size=2>MaxBytes[user]: 100</FONT> <BR><FONT face="Courier New"
size=2>Title[user]: Tweety CPU User Percentage</FONT> <BR><FONT
face="Courier New" size=2>PageTop[user]: <H1>Tweety CPU User
Percentage</FONT> <BR><FONT face="Courier New" size=2>Unscaled[user]:
ymwd</FONT> <BR><FONT face="Courier New" size=2>ShortLegend[user]: %</FONT>
<BR><FONT face="Courier New" size=2>XSize[user]: 380</FONT> <BR><FONT
face="Courier New" size=2>YSize[user]: 100</FONT> <BR><FONT
face="Courier New" size=2>YLegend[user]: CPU User Utilization</FONT>
<BR><FONT face="Courier New" size=2>Legend1[user]: CPU Utilization in %
(load)</FONT> <BR><FONT face="Courier New" size=2>Legend2[user]: CPU
Utilization in % (load)</FONT> <BR><FONT face="Courier New"
size=2>Legend3[user]:</FONT> <BR><FONT face="Courier New"
size=2>Legend4[user]:</FONT> <BR><FONT face="Courier New"
size=2>LegendI[user]:</FONT> <BR><FONT face="Courier New"
size=2>LegendO[user]: &nbsp;Usage</FONT> <BR><FONT face="Courier New"
size=2>Options[user]: gauge, growright</FONT> </P>
<P> <B> <FONT face=Arial
size=2>Here is the error I get when I run this.</FONT></B> </P>
<P><FONT face="Courier New" size=2>C:\WINNT>c:\perl\bin\perl
c:\mrtg-2.7.4b\run\mrtg c:\mrtg-2.7.4b\run\mrtgtwee.cf</FONT> <BR><FONT
face="Courier New" size=2>g</FONT> <BR><FONT face="Courier New" size=2>SNMP
Error:</FONT> <BR><FONT face="Courier New" size=2>Received SNMP response
with error code</FONT> <BR><FONT face="Courier New" size=2> error
status: noSuchName</FONT> <BR><FONT face="Courier New" size=2> index 1
(OID: 1.3.6.1.2.1.4.20.1.2.1.3.6.1.4.1.11.2.3.1.1.14)</FONT> <BR><FONT
face="Courier New" size=2>SNMPv1_Session (remote host: "tweety"
[172.30.8.172].161</FONT> <BR><FONT face="Courier New"
size=2>
community: "public"</FONT> <BR><FONT face="Courier New"
size=2>
request ID: 1663205201</FONT> <BR><FONT face="Courier New"
size=2>
PDU bufsize: 8000 bytes</FONT> <BR><FONT face="Courier New"
size=2>
timeout: 2s</FONT> <BR><FONT face="Courier New"
size=2>
retries: 5</FONT> <BR><FONT face="Courier New"
size=2>
backoff: 1)</FONT> <BR><FONT face="Courier New" size=2>SNMPGET Problem for
ipAdEntIfIndex.1.3.6.1.4.1.11.2.3.1.1.14 on public@tweety</FONT> <BR><FONT
face="Courier New" size=2>SNMP Error:</FONT> <BR><FONT face="Courier New"
size=2>Received SNMP response with error code</FONT> <BR><FONT
face="Courier New" size=2> error status: noSuchName</FONT> <BR><FONT
face="Courier New" size=2> index 1 (OID: 1.3.6.1.2.1.2.2.1.10)</FONT>
<BR><FONT face="Courier New" size=2>SNMPv1_Session (remote host:
"tweety" [172.30.8.172].161</FONT> <BR><FONT face="Courier New"
size=2>
community: "public"</FONT> <BR><FONT face="Courier New"
size=2>
request ID: 1663205202</FONT> <BR><FONT face="Courier New"
size=2>
PDU bufsize: 8000 bytes</FONT> <BR><FONT face="Courier New"
size=2>
timeout: 2s</FONT> <BR><FONT face="Courier New"
size=2>
retries: 5</FONT> <BR><FONT face="Courier New"
size=2>
backoff: 1)</FONT> <BR><FONT face="Courier New" size=2>SNMPGET Problem for
ifInOctets. ifOutOctets. sysUptime sysName on public@tweety</FONT> <BR><FONT
face="Courier New" size=2>SNMPGET: Failed to reach target:
"1.3.6.1.4.1.11.2.3.1.1.14:public@tweety". I tr</FONT> <BR><FONT
face="Courier New" size=2>ied multiple times!</FONT> </P>
<P><FONT face="Courier New" size=2>C:\WINNT></FONT> </P>
<P><B><FONT face="Courier New" size=2>Any Idea how to fix this???</FONT></B>
</P>
<P><B><FONT face="Courier New" size=2>Thanks in advance for your help.
</FONT></B></P>
<P><B><FONT face="Courier New" size=2>Jeff</FONT></B>
</P></BLOCKQUOTE></BODY></HTML>