<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">CPU utilization is always defined with the <span style="font-style: italic;">data-type</span> gauge. A object is referred with the data-type gauge when it can increase and decrease but will not exceed it maximum value Processor load,memory,disk usage are defined with the data-type gauge. Counter is used when the object is monotonically increasing and will not decrease until the agent is rebooted.This data-type is used for variables like in and out traffic,errors or discards on a interface. <br><br>By default MRTG treats a variable as a counter and since counters are always a increasing value MRTG polls the variable and subtracts the current value it receives with the previous value it received during the last poll and divides it with the time elapsed since the last time it polled the device(with the time interval you specified in your daemon or cron
tab)<br><br>So if you want to declare the variable specifically with the data-type gauge then you need to use make use of the options field in your cfg file.....<br><br>option[xxx]: gauge <br><br>Now, MRTG will treat the object as gauge and will only graph the instantaneous value it receives during the current poll. If you are still unable to understand what i said go through mrtg command-reference . There is also an cfg example for monitoring cpu load of a cisco router under mrtg-nt guide documentation.<br><br><div>Best regards</div> <div>Venkat<br></div><br><br>--- On <b>Thu, 8/27/09, Barun <i><barun.biswas@tcs.com></i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>From: Barun <barun.biswas@tcs.com><br>Subject: Re: [mrtg] serverirons CPU utilization<br>To: mrtg@lists.oetiker.ch<br>Date: Thursday, August 27, 2009, 7:45 PM<br><br><div
class="plainMail"><br>Thanks Daniel.<br><br>I have set MaxBytes to 10000. The graph is showing utilization value as <br>700 (I have not set Factor[vodclb01-mn-cpu]: 0.01 ).<br><br>This oid is of type gauge32. I thought that it returns % CPU utilization. <br>But, I was wrong. Could you please let me know what type of values gets <br>stored in gauge32 or how CPU utilization gets collected in gauge32 <br>variable? I am bit confused!<br><br>Regards,<br>Barun.<br>=====-----=====-----=====<br>Notice: The information contained in this e-mail<br>message and/or attachments to it may contain <br>confidential or privileged information. If you are <br>not the intended recipient, any dissemination, use, <br>review, distribution, printing or copying of the <br>information contained in this e-mail message <br>and/or attachments to it are strictly prohibited. If <br>you have received this communication in error, <br>please notify us by reply e-mail or
telephone and <br>immediately and permanently delete the message <br>and any attachments. Thank you<br><br><br><br>-- <br>View this message in context: <a href="http://n2.nabble.com/serverirons-CPU-utilization-tp3525955p3526497.html" target="_blank">http://n2.nabble.com/serverirons-CPU-utilization-tp3525955p3526497.html</a><br>Sent from the MRTG Users Mailinglist mailing list archive at Nabble.com.<br><br>_______________________________________________<br>mrtg mailing list<br><a ymailto="mailto:mrtg@lists.oetiker.ch" href="/mc/compose?to=mrtg@lists.oetiker.ch">mrtg@lists.oetiker.ch</a><br><a href="https://lists.oetiker.ch/cgi-bin/listinfo/mrtg" target="_blank">https://lists.oetiker.ch/cgi-bin/listinfo/mrtg</a><br></div></blockquote></td></tr></table><br>