[mrtg] Struct in Memory Utilization
Steve Shipway
s.shipway at auckland.ac.nz
Wed Jan 7 22:05:45 CET 2009
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/mrtg/attachments/20090108/390782b7/attachment.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3133 bytes
Desc: not available
Url : http://lists.oetiker.ch/pipermail/mrtg/attachments/20090108/390782b7/attachment.bin
More information about the mrtg
mailing list