[mrtg] serverirons CPU utilization

Venkat praneeth Nangineni nv_2030 at yahoo.com
Thu Aug 27 19:55:49 CEST 2009


CPU utilization is always defined with the data-type 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. 

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)

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.....

option[xxx]: gauge 

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.

Best regards  Venkat


--- On Thu, 8/27/09, Barun <barun.biswas at tcs.com> wrote:

From: Barun <barun.biswas at tcs.com>
Subject: Re: [mrtg] serverirons CPU utilization
To: mrtg at lists.oetiker.ch
Date: Thursday, August 27, 2009, 7:45 PM


Thanks  Daniel.

I have set  MaxBytes to 10000. The graph is showing utilization value as 
700 (I have not set  Factor[vodclb01-mn-cpu]: 0.01 ).

This oid is of type gauge32. I thought that it returns % CPU utilization. 
But, I was wrong. Could you please let me know what type of values gets 
stored in gauge32 or how CPU utilization gets collected in gauge32 
variable? I am bit confused!

Regards,
Barun.
=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain 
confidential or privileged information. If you are 
not the intended recipient, any dissemination, use, 
review, distribution, printing or copying of the 
information contained in this e-mail message 
and/or attachments to it are strictly prohibited. If 
you have received this communication in error, 
please notify us by reply e-mail or telephone and 
immediately and permanently delete the message 
and any attachments. Thank you



-- 
View this message in context: http://n2.nabble.com/serverirons-CPU-utilization-tp3525955p3526497.html
Sent from the MRTG Users Mailinglist mailing list archive at Nabble.com.

_______________________________________________
mrtg mailing list
mrtg at lists.oetiker.ch
https://lists.oetiker.ch/cgi-bin/listinfo/mrtg



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/mrtg/attachments/20090827/71560465/attachment.htm 


More information about the mrtg mailing list