[mrtg] Re: Values entered in log file

Brander, Eric Eric.Brander at ACS-INC.com
Fri Oct 4 13:45:01 MEST 2002


I think that number is too large.  I had a similar problem when monitoring
memory on an NT system.  Although I used a different process to obtain the
#'s, they just seemed too large for MRTG to use.  So in the script used to
get the data, I converted the output to Kilobytes instead of bytes (*1024)
and used kMG option in the config to get the reading looking right:

kMG[Orana_memory]: K,M,G,T

 -----Original Message-----
From: 	Shyam [mailto:shyam at infonox.com] 
Sent:	Friday, October 04, 2002 4:02 AM
To:	MRTG Mailing List
Subject:	[mrtg] Re: Values entered in log file

Hi Peter,

Thanks for the mail. I am already using gauge option but my MaxBytes was
lesser than the values returned by the script. I changed it to a higher
value but still my values are shown as zero :o((

My config file is as follows :-

YLegend[X.X.X.X.E]: E Drive Utilisation
WithPeak[X.X.X.X.E]: ymw
XSize[X.X.X.X.E]: 380
YSize[X.X.X.X.E]: 100
Options[X.X.X.X.E]: gauge,nobanner,nopercent
#Target[X.X.X.X.E]:.1.3.6.1.2.1.25.2.3.1.6.4&.1.3.6.1.2.1.25.2.3.1.5.4:publi
c at X.X.X.X
Target[X.X.X.X.E]:`perl diskusage.pl X.X.X.X public
.1.3.6.1.2.1.25.2.3.1.4.4 .1.3.6.1.2.1.25.2.3.1.6.4&perl diskusage1.pl
X.X.X.X public .1.3.6.1.2.1.25.2.3.1.4.4 .1.3.6.1.2.1.25.2.3.1.5.4`
MaxBytes[X.X.X.X.E]: 9926630041600
ShortLegend[X.X.X.X.E]: Bytes
kilo[X.X.X.X.E]: 1024
kMG[X.X.X.X.E]: G,G,G
Legend1[X.X.X.X.E]: Hard disk utilization in next minute
Legend2[X.X.X.X.E]: Hard disk utilization in next minute
Legend3[X.X.X.X.E]: Maximal 5 Minute Hard disk utilization
Legend4[X.X.X.X.E]: Maximal 5 Minute Hard disk utilization
LegendI[X.X.X.X.E]:  E used:
LegendO[X.X.X.X.E]:  E Total:

If I use the normal TARGET command ( shown in red ), values get entered in
the log file properly.

Pls. help.

Regards, 
Shyam


--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi

--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the mrtg mailing list