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.
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ mrtg mailing list [email protected] https://lists.oetiker.ch/cgi-bin/listinfo/mrtg
