<p>Hi All,</p><p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Thanks to all and it works&nbsp;<img src="cid:330@goomoji.gmail" style="margin:0 0.2ex;vertical-align:middle" goomoji="330"><br></p><p></p><br><div class="gmail_quote">On Thu, Jan 8, 2009 at 12:37 PM, nangineni praneeth <span dir="ltr">&lt;<a href="mailto:nv_2030@yahoo.com">nv_2030@yahoo.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><table cellspacing="0" cellpadding="0" border="0"><tbody><tr><td valign="top" style="font:inherit">If you are using native MRTG then your y axis would be scaled according to the value you have specified in the MAX bytes. <span style="font-weight:bold">You have also used the directive: unscaled</span> which means that no matter what your values are your y axis is always going to range from 0-100. But if you remove that option then MRTG would scale graph accordingly to represent the actual values. For eg: <span style="font-weight:bold">If you didnt use the unscaled</span> directive and your memory utilization is say 5%,10% then the max value on you y-axis wouldnt be 100 it would somewhere between 10-15%.If your memory utilization is 20% at another instant then your graph would be scaled again according to that. Yes if you are speaking of memory utilization in terms of percentage then max bytes should be set to 100..<br>
<br><br><br>--- On <b>Thu, 1/8/09,
 Nilesh Sutar <i>&lt;<a href="mailto:sutar.nilesh@gmail.com" target="_blank">sutar.nilesh@gmail.com</a>&gt;</i></b> wrote:<br><blockquote style="border-left:2px solid rgb(16, 16, 255);margin-left:5px;padding-left:5px">From: Nilesh Sutar &lt;<a href="mailto:sutar.nilesh@gmail.com" target="_blank">sutar.nilesh@gmail.com</a>&gt;<br>
Subject: Re: [mrtg] Struct in Memory Utilization<br>To: &quot;Steve Shipway&quot; &lt;<a href="mailto:s.shipway@auckland.ac.nz" target="_blank">s.shipway@auckland.ac.nz</a>&gt;<br>Cc: &quot;Tobi Oetiker&quot; &lt;<a href="mailto:mrtg@lists.oetiker.ch" target="_blank">mrtg@lists.oetiker.ch</a>&gt;<br>
Date: Thursday, January 8, 2009, 12:10 PM<div><div class="Wj3C7c"><br><br><div><p>Hi Sir,</p><p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;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 &gt; 0</p>
<p>so what should be MaxByte value in case of percentage.&nbsp;</p><p>Regards,</p><p>Nilesh Sutar.&nbsp;<br></p><br><div class="gmail_quote">On Thu, Jan 8, 2009 at 2:35 AM, Steve Shipway <span dir="ltr">&lt;<a rel="nofollow" href="mailto:s.shipway@auckland.ac.nz" target="_blank">s.shipway@auckland.ac.nz</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="border-left:1px solid rgb(204, 204, 204);margin:0pt 0pt 0pt 0.8ex;padding-left:1ex">









<div lang="EN-GB">

<div>

<p><font color="navy" face="Arial" size="2"><span style="font-size:10pt;font-family:Arial;color:navy">What is the exact output of your script
being called in the Target definition? &nbsp;Possibly it is outputting the numbers
in the incorrect format and so they are being parsed as zero.&nbsp; Also, what is
your actual Target definition – maybe there is a syntax error? &nbsp;Is MRTG
running without errors on the cfg file?&nbsp; Is the .rrd or .log file being
updated?</span></font></p>

<p><font color="navy" face="Arial" size="2"><span style="font-size:10pt;font-family:Arial;color:navy">&nbsp;</span></font></p>

<p><font color="navy" face="Arial" size="2"><span style="font-size:10pt;font-family:Arial;color:navy">Your Y axis probably shows 0-100 because
that&#39;s the MaxBytes value. &nbsp;This depends on your configuration (native
mode? With RRDtool?&nbsp; Which RRD frontend?)</span></font></p>

<p><font color="navy" face="Arial" size="2"><span style="font-size:10pt;font-family:Arial;color:navy">&nbsp;</span></font></p>

<p><font color="navy" face="Arial" size="2"><span style="font-size:10pt;font-family:Arial;color:navy">(note for people with English as a second
language: you wouldn&#39;t normally address a message with &#39;Hi Dear&#39;
unless it was to your girlfriend… try &#39;Dear Sir&#39; or just &#39;Hi,&#39;
if you want to be more informal. &nbsp;Otherwise it looks funny…)</span></font></p>

<p><font color="navy" face="Arial" size="2"><span style="font-size:10pt;font-family:Arial;color:navy">&nbsp;</span></font></p>

<p><font color="navy" face="Arial" size="2"><span style="font-size:10pt;font-family:Arial;color:navy">Steve</span></font></p>

<p><font color="navy" face="Arial" size="2"><span style="font-size:10pt;font-family:Arial;color:navy">&nbsp;</span></font></p>

<div style="border-style:none none none solid;border-color:-moz-use-text-color -moz-use-text-color -moz-use-text-color blue;border-width:medium medium medium 1.5pt;padding:0cm 0cm 0cm 4pt">

<div>

<div style="text-align:center" align="center"><font face="Times New Roman" size="3"><span style="font-size:12pt" lang="EN-US">

<hr align="center" size="2" width="100%">

</span></font></div>

<p><b><font face="Tahoma" size="2"><span style="font-size:10pt;font-family:Tahoma;font-weight:bold" lang="EN-US">From:</span></font></b><font face="Tahoma" size="2"><span style="font-size:10pt;font-family:Tahoma" lang="EN-US">
<a rel="nofollow" href="mailto:mrtg-bounces@lists.oetiker.ch" target="_blank">mrtg-bounces@lists.oetiker.ch</a> [mailto:<a rel="nofollow" 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><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 face="Times New Roman" size="3"><span style="font-size:12pt">&nbsp;</span></font></p>

<p><font face="Times New Roman" size="3"><span style="font-size:12pt">Hi Dear,</span></font></p><div><div>

<p><font face="Times New Roman" size="3"><span style="font-size:12pt">&nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;I have configured mrtg for memory utilization
using python script. python script gives correct value in percent but</span></font></p>

<p><font face="Times New Roman" size="3"><span style="font-size:12pt">in graphs
it shows 0.0% for your reference i will show my cfg file.<br clear="all">
</span></font></p>

<p><font face="Times New Roman" size="3"><span style="font-size:12pt">Target[localhost.mem]
: value in % (eg. 34.6789)</span></font></p>

<p><font face="Times New Roman" size="3"><span style="font-size:12pt">PageTop[localhost.mem]
: &lt;H1&gt;Memory Utilization &lt;/H1&gt;<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 face="Times New Roman" size="3"><span style="font-size:12pt">where am
i doing wrong ?? also this files run properly. and why graphs y axis scale
shows 0 to 100. if value = 0,0 %.&nbsp;</span></font></p>

<p><font face="Times New Roman" size="3"><span style="font-size:12pt">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>
</div></div></div><pre>_______________________________________________<br>mrtg mailing list<br><a href="mailto:mrtg@lists.oetiker.ch" target="_blank">mrtg@lists.oetiker.ch</a><br><a href="https://lists.oetiker.ch/cgi-bin/listinfo/mrtg" target="_blank">https://lists.oetiker.ch/cgi-bin/listinfo/mrtg</a><br>
</pre></blockquote></td></tr></tbody></table><br>

      </blockquote></div><br><br clear="all"><br>-- <br>Regards,<br>Nilesh Sutar.<br>