[mrtg] Re: Computing 3 Objects

gary.post at amd.com gary.post at amd.com
Wed Aug 4 20:05:37 MEST 1999


just a quick thought without thinking it through very thoroughly - why not
plot:

1 - System
2 - System + User
Max = 100

this way under the first line (the solid part) would be the first value -
adding the second value to the first would then place User on top of System
so that the User time would be between the solid and the line graph then the
remaining portion at the top would be the Idle time

yes i know you would not know what percentage any one of them would be at
any instant in time, but is this really any worse than plotting three lines
and then trying to figure it out from that plot??  the real question here is
what information are you wanting to see - what are the trends - or - what
was the exact idle time at 4:56 the yesterday morning

and then there is the weekly, monthly and yearly graphs - they should be
really busy ;->


  _______                                                   
  \____  | Advanced  Gary Post  Systems Engineering & Validation
  /|   | | Micro                Texas Microprocessor Division
 | |___| | Devices     e-mail:  gary.post at amd.com
 |____/ \|              Voice:  512.602.2634   Pgr: 512.603.4881


> -----Original Message-----
> From:	Krawczyk, Jeff [SMTP:Jeff.Krawczyk at weamfg.com]
> Sent:	Wednesday, August 04, 1999 9:39 AM
> To:	MRTG (E-mail)
> Subject:	[mrtg] Computing 3 Objects
> 
> Greetings,
> 
> Is the following possible with mrtg-2.7.4b?
> 
> Scenario: The CPU utilization on our Unix box is broken out into three
> objects. One OID for System, one OID for User and lastly one OID for Idle.
> See below
> 
> computerSystemUserCPU  1.3.6.1.4.1.11.2.3.1.1.13      Counter
> read-only
> computerSystemSysCPU   1.3.6.1.4.1.11.2.3.1.1.14      Counter
> read-only
> computerSystemIdleCPU  1.3.6.1.4.1.11.2.3.1.1.15      Counter
> read-only
> 
> If I graph each one I get incorrect information, obviously because I need
> to
> factor all three to meet 100% as exampled below:
> 	Graphing System CPU Usage
> 
> Total = computerSystemUserCPU + computerSystemSysCPU +
> computerSystemIdleCPU
> computerSystemSysCPU / Total * 100 = percentage
> 
> Can this be done with MRTG? If I need to write a C program I can. However,
> how would I interface my output into MRTG?
> 
> The Cadillac would be to have all three values plotted on a graph on a
> scale
> of 100!!!
> 
> regards
> Jeff
> 

--
* To unsubscribe from the mrtg mailing list, send a message with the
  subject: unsubscribe to mrtg-request at list.ee.ethz.ch
* The mailing list archive is at http://www.ee.ethz.ch/~slist/mrtg


More information about the mrtg mailing list