<p>Hi All,</p><p> Thanks to all and it works <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"><<a href="mailto:nv_2030@yahoo.com">nv_2030@yahoo.com</a>></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><<a href="mailto:sutar.nilesh@gmail.com" target="_blank">sutar.nilesh@gmail.com</a>></i></b> wrote:<br><blockquote style="border-left:2px solid rgb(16, 16, 255);margin-left:5px;padding-left:5px">From: Nilesh Sutar <<a href="mailto:sutar.nilesh@gmail.com" target="_blank">sutar.nilesh@gmail.com</a>><br>
Subject: Re: [mrtg] Struct in Memory Utilization<br>To: "Steve Shipway" <<a href="mailto:s.shipway@auckland.ac.nz" target="_blank">s.shipway@auckland.ac.nz</a>><br>Cc: "Tobi Oetiker" <<a href="mailto:mrtg@lists.oetiker.ch" target="_blank">mrtg@lists.oetiker.ch</a>><br>
Date: Thursday, January 8, 2009, 12:10 PM<div><div class="Wj3C7c"><br><br><div><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>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 rel="nofollow" href="mailto:s.shipway@auckland.ac.nz" target="_blank">s.shipway@auckland.ac.nz</a>></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? 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 color="navy" face="Arial" size="2"><span style="font-size:10pt;font-family:Arial;color:navy"> </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's the MaxBytes value. This depends on your configuration (native
mode? With RRDtool? Which RRD frontend?)</span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size:10pt;font-family:Arial;color:navy"> </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'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 color="navy" face="Arial" size="2"><span style="font-size:10pt;font-family:Arial;color:navy"> </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"> </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"> </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">
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]
: <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 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 %. </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>