<!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN">
<HTML>
<HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META content='"MSHTML 4.72.3110.7"' name=GENERATOR>
</HEAD>
<BODY>
<DIV><SPAN class=146270322-15101999><FONT color=#0000ff face=Arial size=2>A
couple of things.</FONT></SPAN></DIV>
<DIV><SPAN class=146270322-15101999><FONT color=#0000ff face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=146270322-15101999><FONT color=#0000ff face=Arial size=2>First,
please don't post in rich text, html, or any other format, except for plain
text. Please.</FONT></SPAN></DIV>
<DIV><SPAN class=146270322-15101999><FONT color=#0000ff face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=146270322-15101999><FONT color=#0000ff face=Arial
size=2>Secondly, I had a similar problem trying to graph CPU stats using
UCD. I first attributed the problem to UCDs program and I switched to CMU,
which works great. But I now know that UCD was not the problem, rather the
config file I was using. I've attached a copy of my config file for
monitoring CMUs cpu stat, you should only have to change the OID in order for it
to work under UCD.</FONT></SPAN></DIV>
<DIV><SPAN class=146270322-15101999><FONT color=#0000ff face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><FONT color=#0000ff face=Arial size=2>Target[powerpc.cpu]:<A
href="mailto:1.3.6.1.4.1.1575.1.5.2.3.0&1.3.6.1.4.1.1575.1.5.2.3.0:public@127.0.0.1">1.3.6.1.4.1.1575.1.5.2.3.0&1.3.6.1.4.1.1575.1.5.2.3.0:public@127.0.0.1</A><BR>RouterUptime[powerpc.cpu]:
<A href="mailto:public@127.0.0.1">public@127.0.0.1</A><BR>MaxBytes[powerpc.cpu]:
100 <BR>AbsMax[powerpc.cpu]: 400<BR>PageTop[powerpc.cpu]: <H1>CPU Load
%</H1> <BR>Title[powerpc.cpu]: CPU Utilization On
Prepaid<BR>WithPeak[powerpc.cpu]: ymw<BR>Unscaled[powerpc.cpu]: ymw
<BR>ShortLegend[powerpc.cpu]: %<BR>XSize[powerpc.cpu]: 380
<BR>YSize[powerpc.cpu]: 100 <BR>YLegend[powerpc.cpu]: CPU Utilization
<BR>Legend1[powerpc.cpu]: CPU Utilization in % (Load) <BR>Legend2[powerpc.cpu]:
CPU Utilization in % (Load) <BR>Legend3[powerpc.cpu]: Peak CPU Utilization in %
(Load) <BR>Legend4[powerpc.cpu]: Peak CPU Utilization in %
(Load)<BR>LegendI[powerpc.cpu]: &nbsp;CPU Load
<BR>LegendO[powerpc.cpu]: <BR>Options[powerpc.cpu]: gauge absolute
</FONT></DIV>
<DIV><FONT color=#0000ff face=Arial size=2><BR><SPAN
class=146270322-15101999><FONT color=#0000ff face=Arial size=2>My problem was in
the options, and since I changed them up, I've been gathering CPU stats for
awhile now and it works great. The reason I put <EM>AbsMax[xyz]: 400</EM>
was so that I could accommodate for loads greater than 1.0 (which in my case
happens). Hope this helps.</FONT></SPAN></FONT></DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN class=146270322-15101999><FONT
color=#0000ff face=Arial size=2></FONT></SPAN></FONT> </DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN class=146270322-15101999><FONT
color=#0000ff face=Arial size=2>Joey Officer</FONT></SPAN></FONT></DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN class=146270322-15101999><FONT
color=#0000ff face=Arial size=2></FONT></SPAN><SPAN
class=146270322-15101999><FONT color=#0000ff face=Arial size=2>Quality
Publishing, Inc.</FONT></SPAN><BR></FONT></DIV>
<DIV> </DIV>
<BLOCKQUOTE>
<DIV align=left class=OutlookMessageHeader DIR = LTR><FONT face=Tahoma
size=2>-----Original Message-----<BR><B>From:</B>
mrtg-bounce@list.ee.ethz.ch [mailto:mrtg-bounce@list.ee.ethz.ch]<B>On Behalf
Of </B>Robin Burger<BR><B>Sent:</B> Friday, October 15, 1999 4:45
PM<BR><B>To:</B> mrtg@list.ee.ethz.ch<BR><B>Subject:</B> [mrtg] Does anyone
have a 'clue' on what I need to do to get the ProcessorLoad to graph
out?<BR><BR></FONT></DIV><TT></TT> <BR><FONT
face="Times New Roman,Times">Hello everyone. </FONT><TT> <I>I am new
here, and have not yet finished going through the archive</I> <B>so this
question may have been answered before...</B></TT><TT></TT>
<P><TT><U><FONT color=#3333ff>Does anyone have a 'clue' on what I need to do
to get the Processor Load to graph out?</FONT></U></TT>
<BR><TT></TT> <TT></TT>
<P><TT>I am working trying to get <FONT color=#009900>MRTG</FONT> to give me
<FONT color=#3366ff>CPU stats</FONT>...</TT><TT></TT>
<P><TT>scully</TT> <BR><TT> -
SunOS 5.6</TT> <BR><TT> -
mrtg 2.8.6</TT> <BR><TT> -
UCD-snmp 4.0.1</TT><TT></TT>
<P><TT>iceberg</TT> <BR><TT> -
Linux 2.2.5-15</TT> <BR><TT> -
UCD-snmp 3.6.1</TT> <BR><TT> </TT> <BR><TT>-=-=-=-=--=
iceberg<FONT color=#009900>.cfg</FONT> -=-=-=-=--= (( this is the
'''whole file''' ))</TT> <BR><TT>WorkDir: /export/home/mrtg/data</TT>
<BR><TT>Target[ICEBERG.wfd.pri.bms.com]:
1.3.6.1.2.1.25.3.3.1.2.769&1.3.6.1.2.1.25.3.3.1.2.769:public@iceberg</TT>
<BR><TT>MaxBytes[ICEBERG.wfd.pri.bms.com]: 1250000</TT>
<BR><TT>Title[ICEBERG.wfd.pri.bms.com]: iceberg (ICEBERG.wfd.pri.bms.com):
hrProcessorLoad</TT> <BR><TT>PageTop[ICEBERG.wfd.pri.bms.com]:
<H1>Traffic Analysis for hrProcessorLoad</TT>
<BR><TT> </H1></TT> <BR><TT> <TABLE></TT>
<BR><TT> <TR><TD>System:</TD><TD>iceberg
in Look behind you</TD></TR></TT> <BR><TT>
<TR><TD>Maintainer:</TD><TD>Greg Stiegler
<stiegleg@bms.com> </TD></TR></TT> <BR><TT>
<TR><TD>Interface:</TD><TD>hrProcessorLoad
(2)</TD></TR></TT> <BR><TT>
<TR><TD>IP:</TD><TD>ICEBERG.wfd.pri.bms.com
(140.176.249.28)</TD></TR></TT> <BR><TT>
<TR><TD>Max Speed:</TD></TT>
<BR><TT> <TD>1250.0 kBytes/s
(ethernetCsmacd)</TD></TR></TT> <BR><TT>
</TABLE></TT>
<BR><TT>-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^</TT><TT></TT>
<P><TT>comment # # (( I have ran the snmpget command directly and I know
that the</TT> <BR><TT>comment # # result is
returned. And I know that it is integer ))</TT> <BR><TT>comment #</TT>
<BR><TT> scully # <FONT color=#3366ff>snmpget -q -f iceberg public
</FONT>hrDevice.hrProcessorTable.hrProcessorEntry.hrProcessorLoad.769</TT>
<BR><TT> .iso.org.dod.internet.mgmt.mib-2.host.hrDevice.hrProcessorTable.hrProcessorEntry.hrProcessorLoad.769
<FONT color=#3333ff>10</FONT></TT> <BR><TT> 1 . 3 . 6
. 1 . 2 . 1 . 25
. 3 .
3 .
1 .
2
.769</TT> <BR><TT> 1.3.6.1.2.1.25.3.3.1.2.769</TT><TT></TT>
<P><TT>scully # LD_LIBRARY_PATH=/usr/lib:/usr/local/lib ; export
LD_LIBRARY_PATH</TT> <BR><TT>scully # <FONT
color=#3366ff>/export/home/src/mrtg/mrtg-2.8.6/run/mrtg.debug
/export/home/mrtg/configs/iceberg.cfg</FONT></TT> <BR><TT>.</TT>
<BR><TT>. ((((( note I modified the DEBUG flag and the
lines to see that the values are being created</TT> <BR><TT>.</TT>
<BR><TT> <B><FONT color=#000099>- inlast( 2 )</FONT></B></TT>
<BR><TT> <FONT color=#000099>-<B> outlast( 2 )</B></FONT></TT>
<BR><TT> - uptime( 4 days, 9:43:53 )</TT> <BR><TT> - name( iceberg
)</TT> <BR><TT> - time( 940020397 )</TT> <BR><TT>.</TT> <BR><TT>.</TT>
<BR><TT>.</TT> <BR><TT> << writegraphics - entrance >>
1</TT><TT></TT>
<P><TT> writegraphics: inlast 2 outlast 2</TT>
<BR><TT> <><><><><><><><>
check</TT> <BR><TT> /export/home/src/mrtg/mrtg-2.8.6/run//rateup
/export/home/mrtg/data/ iceberg.wfd.pri.bms.com 940020397, ? '-z':'-Z'
u 2, 2, 1250000: c#00cc00, #0000ff #006600, #ff00ff EXEC:
/export/home/src/mrtg/mrtg-2.8.6/run//rateup /export/home/mrtg/data/
iceberg.wfd.pri.bms.com 940020397 -Z u 2 2 1250000 c #00cc00 #0000ff #006600
#ff00ff k 1000 i iceberg.wfd.pri.bms.com-day.png -1250000 -1250000 400 100 1
1 0 300 0 4 1 i iceberg.wfd.pri.bms.com-week.png -1250000 -1250000 400 100 1
1 0 1800 0 4 1 i iceberg.wfd.pri.bms.com-month.png -1250000 -1250000 400 100
1 1 0 7200 0 4 1 i iceberg.wfd.pri.bms.com-year.png -1250000 -1250000 400
100 1 1 0 86400 0 4 1</TT> <BR><TT>.</TT> <BR><TT>.</TT>
<BR><TT>.</TT><TT></TT>
<P><TT>And I know 'rateup' is getting the information... ((note - I
like the coding of rateup, clean!))</TT><TT></TT>
<P><TT> # <FONT color=#3366ff>head
/export/home/mrtg/data/iceberg.wfd.pri.bms.com.log</FONT></TT> <BR><TT><FONT
color=#3366ff>940020397 2 2</FONT></TT> <BR><TT><FONT
color=#ff0000>940020397 0 0 0 0</FONT></TT> <BR><TT><FONT
color=#ff0000>939846271 0 0 0 0 </FONT><FONT color=#3366ff>((
incorrect... should have updated ))</FONT></TT> <BR><TT><FONT
color=#ff0000>939846000 0 0 0 0</FONT></TT> <BR><TT><FONT
color=#ff0000>939845700 0 0 0 0</FONT></TT> <BR><TT>.</TT> <BR><TT>.</TT>
<BR><TT>.</TT><TT></TT>
<P><TT><FONT color=#cc0000>But each time I run mrtg - ONLY the first line in
the log file gets updated...</FONT></TT><TT></TT>
<P><TT>'rateup' should be getting the values, and the log file does get
them, but the rest of the file is zeroed out... ?</TT><TT></TT>
<P><TT>NOTE:: I use cfgmaker, mrtg, and indexmaker on cisco routers, and
''they graph out''! The log file grows, and shows the correct values -
just not for Processor Load... I know that the '.ok' file is not created
when I run mrtg for this file - and I even understand that it is because of
the 'newifDescrs' not being ?returned? because of the command that is being
sent out...</TT> <BR><TT></TT> <TT></TT>
<P><TT>
1906
($in,$out,$uptime,$name,$newifDescrs{$targ}) =</TT> <BR><TT> vs</TT>
<BR><TT>
1924
($in,$out,$uptime,$name) =</TT> <BR><TT></TT> <TT></TT>
<P><TT><FONT color=#990000>Does anyone have a 'clue' on what I need to do to
get the Processor Load to graph out?</FONT></TT><TT></TT>
<P><TT>Clues - direction - and expecially '''answers''' would be greatly
appreciated...</TT><TT></TT>
<P><TT>Thank you in advance</TT><TT></TT>
<P><TT>Robin</TT><TT></TT>
<P><TT>PS - Sorry for the size of the question...</TT>
</P></BLOCKQUOTE></BODY></HTML>