[mrtg] Struct in Memory Utilization

nangineni praneeth nv_2030 at yahoo.com
Thu Jan 8 08:07:13 CET 2009

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 <sutar.nilesh at gmail.com> wrote:
From: Nilesh Sutar <sutar.nilesh at gmail.com>
Subject: Re: [mrtg] Struct in Memory Utilization
To: "Steve Shipway" <s.shipway at auckland.ac.nz>
Cc: "Tobi Oetiker" <mrtg at lists.oetiker.ch>
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 100i 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


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…)




mrtg-bounces at lists.oetiker.ch [mailto:mrtg-bounces at lists.oetiker.ch] On Behalf Of Nilesh Sutar

Sent: Thursday, 8 January 2009

To: Tobi Oetiker

Subject: [mrtg] Struct in Memory


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.

: value in % (eg. 34.6789)

: <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 %




LegendI[localhost.mem]: Active


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 %. 


Nilesh Sutar.

Nilesh Sutar.

mrtg mailing list
mrtg at lists.oetiker.ch

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/mrtg/attachments/20090107/b828629a/attachment.html 

More information about the mrtg mailing list