I'll let someone else explain why, but I graph CPU for all our routers, and I set the MaxBytes to 800, and then everything just works like you'd expect.
Matt ________________________________ From: Nilesh Sutar <[email protected]> To: Tobi Oetiker <[email protected]> Sent: Thursday, January 8, 2009 6:06:46 AM Subject: [mrtg] CPU Utilization in % Hi Sir, I have configured mrtg-rrd for individual cpu utilization. using snmp.I have mibs for snmp ,give output in bytes. i used multiple target for each cpu in % and providing value in bytes but in graphs system cpu shows correct graph scale and reading. but for usr cpu and nice cpu ,graph shows Max In: 67.2 % (8.4%) Average In: 40.6 % (5.1%) Current In: 39.1 % (4.9%) Max Out: 67.2 % (8.4%) Average Out: 40.6 % (5.1%) Current Out: 39.1 % (4.9%) like this .then i cross checked this value by hiting top command then value in bracket ( %) is perfect. but why value wrotes before bracket and how it comes ???. I am providing value in bytes to each target then how it is converted in % here is cfg file: Target[localhost.cpu] :442545 (#comes by snmpwalk) ShortLegend[localhost.cpu]: % MaxBytes[localhost.cpu]: 100 Title[localhost.cpu]: System CPU PageTop[localhost.cpu]: <H1>Percentage of System CPU Load %</H1> Target[localhost.nicecpu] :0 ShortLegend[localhost.nicecpu]: % MaxBytes[localhost.nicecpu]: 100 Title[localhost.nicecpu]: Nice CPU PageTop[localhost.nicecpu]: <H1>Percentage of Nice CPU Load %</H1> Target[localhost.usrcpu] :758208 ShortLegend[localhost.usrcpu]: % MaxBytes[localhost.usrcpu]: 100 Title[localhost.usrcpu]: User CPU PageTop[localhost.usrcpu]: <H1>Percentage of User CPU Load %</H1> Legend1[localhost.cpu]: Active CPU in % (Load) Legend2[localhost.cpu]: Legend3[localhost.cpu]: Legend4[localhost.cpu]: LegendI[localhost.cpu]: Active LegendO[localhost.cpu]: Options[localhost.cpu]: growright,gauge,nopercent I think i am doing in wrong way !!! -- Regards, Nilesh Sutar.
_______________________________________________ mrtg mailing list [email protected] https://lists.oetiker.ch/cgi-bin/listinfo/mrtg
