<p>Hi Sir,</p><p> Thank you very much for suggetion,i have set Options to gauge and graph shows that exact target value. but why y axis scale shows reading from 0 to 100</p><p>i have set MaxByte to 100,and this property is neccesary and should be > 0</p>
<p>so what should be MaxByte value in case of percentage. </p><p></p><p>Regards,</p><p>Nilesh Sutar. <br></p><br><div class="gmail_quote">On Thu, Jan 8, 2009 at 2:35 AM, Steve Shipway <span dir="ltr"><<a href="mailto:s.shipway@auckland.ac.nz">s.shipway@auckland.ac.nz</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div lang="EN-GB" link="blue" vlink="purple">
<div>
<p><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy">What is the exact output of your script
being called in the Target definition? Possibly it is outputting the numbers
in the incorrect format and so they are being parsed as zero. Also, what is
your actual Target definition – maybe there is a syntax error? Is MRTG
running without errors on the cfg file? Is the .rrd or .log file being
updated?</span></font></p>
<p><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy"> </span></font></p>
<p><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy">Your Y axis probably shows 0-100 because
that's the MaxBytes value. This depends on your configuration (native
mode? With RRDtool? Which RRD frontend?)</span></font></p>
<p><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy"> </span></font></p>
<p><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy">(note for people with English as a second
language: you wouldn't normally address a message with 'Hi Dear'
unless it was to your girlfriend… try 'Dear Sir' or just 'Hi,'
if you want to be more informal. Otherwise it looks funny…)</span></font></p>
<p><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy"> </span></font></p>
<p><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy">Steve</span></font></p>
<p><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy"> </span></font></p>
<div style="border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt">
<div>
<div align="center" style="text-align:center"><font size="3" face="Times New Roman"><span lang="EN-US" style="font-size:12.0pt">
<hr size="2" width="100%" align="center">
</span></font></div>
<p><b><font size="2" face="Tahoma"><span lang="EN-US" style="font-size:10.0pt;font-family:Tahoma;font-weight:bold">From:</span></font></b><font size="2" face="Tahoma"><span lang="EN-US" style="font-size:10.0pt;font-family:Tahoma">
<a href="mailto:mrtg-bounces@lists.oetiker.ch" target="_blank">mrtg-bounces@lists.oetiker.ch</a> [mailto:<a href="mailto:mrtg-bounces@lists.oetiker.ch" target="_blank">mrtg-bounces@lists.oetiker.ch</a>] <b><span style="font-weight:bold">On Behalf Of </span></b>Nilesh Sutar<br>
<b><span style="font-weight:bold">Sent:</span></b> Thursday, 8 January 2009
03:41</span></font></p><div class="Ih2E3d"><br>
<b><span style="font-weight:bold">To:</span></b> Tobi Oetiker<br>
<b><span style="font-weight:bold">Subject:</span></b> [mrtg] Struct in Memory
Utilization</div>
</div>
<p><font size="3" face="Times New Roman"><span style="font-size:12.0pt"> </span></font></p>
<p><font size="3" face="Times New Roman"><span style="font-size:12.0pt">Hi Dear,</span></font></p><div><div class="Wj3C7c">
<p><font size="3" face="Times New Roman"><span style="font-size:12.0pt">
I have configured mrtg for memory utilization
using python script. python script gives correct value in percent but</span></font></p>
<p><font size="3" face="Times New Roman"><span style="font-size:12.0pt">in graphs
it shows 0.0% for your reference i will show my cfg file.<br clear="all">
</span></font></p>
<p><font size="3" face="Times New Roman"><span style="font-size:12.0pt">Target[localhost.mem]
: value in % (eg. 34.6789)</span></font></p>
<p><font size="3" face="Times New Roman"><span style="font-size:12.0pt">PageTop[localhost.mem]
: <H1>Memory Utilization </H1><br>
Title[localhost.mem] : Memory Utilization<br>
MaxBytes[localhost.mem] : 100<br>
YLegend[localhost.mem] :<br>
Unscaled[localhost.mem]: ymwd<br>
ShortLegend[localhost.mem]: %<br>
Legend1[localhost.mem]: Active Memory Utilization in %<br>
Legend2[localhost.mem]:<br>
Legend3[localhost.mem]:<br>
Legend4[localhost.mem]:<br>
LegendI[localhost.mem]: Active<br>
LegendO[localhost.mem]:<br>
Options[localhost.mem]: growright,nopercent</span></font></p>
<p><font size="3" face="Times New Roman"><span style="font-size:12.0pt">where am
i doing wrong ?? also this files run properly. and why graphs y axis scale
shows 0 to 100. if value = 0,0 %. </span></font></p>
<p><font size="3" face="Times New Roman"><span style="font-size:12.0pt">Regards,<br>
Nilesh Sutar.</span></font></p>
</div></div></div>
</div>
</div>
</blockquote></div><br><br clear="all"><br>-- <br>Regards,<br>Nilesh Sutar.<br>