Hi All,
Thanks to all and it works [?]On Thu, Jan 8, 2009 at 12:37 PM, nangineni praneeth <[email protected]>wrote: > If you are using native MRTG then your y axis would be scaled according to > the value you have specified in the MAX bytes. You have also used the > directive: unscaled 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: If > you didnt use the unscaled 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.. > > > > --- On *Thu, 1/8/09, Nilesh Sutar <[email protected]>* wrote: > > From: Nilesh Sutar <[email protected]> > Subject: Re: [mrtg] Struct in Memory Utilization > To: "Steve Shipway" <[email protected]> > Cc: "Tobi Oetiker" <[email protected]> > Date: Thursday, January 8, 2009, 12:10 PM > > Hi Sir, > > 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 > > i have set MaxByte to 100,and this property is neccesary and should be > 0 > > so what should be MaxByte value in case of percentage. > > Regards, > > Nilesh Sutar. > > On Thu, Jan 8, 2009 at 2:35 AM, Steve Shipway <[email protected]>wrote: > >> 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? >> >> >> >> 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?) >> >> >> >> (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…) >> >> >> >> Steve >> >> >> ------------------------------ >> >> *From:* [email protected] [mailto: >> [email protected]] *On Behalf Of *Nilesh Sutar >> *Sent:* Thursday, 8 January 2009 03:41 >> >> *To:* Tobi Oetiker >> *Subject:* [mrtg] Struct in Memory Utilization >> >> >> >> Hi Dear, >> >> I have configured mrtg for memory utilization using python >> script. python script gives correct value in percent but >> >> in graphs it shows 0.0% for your reference i will show my cfg file. >> >> Target[localhost.mem] : value in % (eg. 34.6789) >> >> PageTop[localhost.mem] : <H1>Memory Utilization </H1> >> Title[localhost.mem] : Memory Utilization >> MaxBytes[localhost.mem] : 100 >> YLegend[localhost.mem] : >> Unscaled[localhost.mem]: ymwd >> ShortLegend[localhost.mem]: % >> Legend1[localhost.mem]: Active Memory Utilization in % >> Legend2[localhost.mem]: >> Legend3[localhost.mem]: >> Legend4[localhost.mem]: >> LegendI[localhost.mem]: Active >> LegendO[localhost.mem]: >> Options[localhost.mem]: growright,nopercent >> >> where am i doing wrong ?? also this files run properly. and why graphs y >> axis scale shows 0 to 100. if value = 0,0 %. >> >> Regards, >> Nilesh Sutar. >> > > > > -- > Regards, > Nilesh Sutar. > > _______________________________________________ > mrtg mailing list > [email protected] > https://lists.oetiker.ch/cgi-bin/listinfo/mrtg > > > -- Regards, Nilesh Sutar.
<<330.gif>>
_______________________________________________ mrtg mailing list [email protected] https://lists.oetiker.ch/cgi-bin/listinfo/mrtg
