[mrtg] Struct in Memory Utilization

Tobias Oetiker tobi at oetiker.ch
Thu Jan 8 08:04:57 CET 2009


Nilesh,

you can configure autoscaling with the Unscaled option

cheers
tobi

Today Nilesh Sutar wrote:

> 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 <s.shipway at auckland.ac.nz>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:* mrtg-bounces at lists.oetiker.ch [mailto:
> > mrtg-bounces at lists.oetiker.ch] *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.
> >
>
>
>
>

-- 
Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland
http://it.oetiker.ch tobi at oetiker.ch ++41 62 775 9902 / sb: -9900



More information about the mrtg mailing list