[mrtg] Re: Computing 3 Objects

David C Prall dcp at dcptech.com
Wed Aug 4 17:12:14 MEST 1999


Jeff,
Per config.html you need to use two values for everything seperated by
an & then you can add multiples together with ' + '.

Therefore we have:
Target[unix-cpu]:
1.3.6.1.4.1.11.2.3.1.1.13&1.3.6.1.4.1.11.2.3.1.1.13:public at 192.168.1.1 +
1.3.6.1.4.1.11.2.3.1.1.14&1.3.6.1.4.1.11.2.3.1.1.14:public at 192.168.1.1 +
1.3.6.1.4.1.11.2.3.1.1.15&1.3.6.1.4.1.11.2.3.1.1.15:public at 192.168.1.1

All of this would be on a single line. You may want to place a new MIB
definition in the workdir to make it easier to understand. Of course
this will just give you a gauge of what is going on. Geting it to be a
percentile is out of my realm at this time.

Hope this helps,

David C Prall, MCSE MCNE                                            DCP
Technologies
dcp at dcptech.com
Alexandria, VA
dcppage at dcptech.com
http://www.dcptech.com
----- Original Message -----
From: Krawczyk, Jeff <Jeff.Krawczyk at weamfg.com>
To: MRTG (E-mail) <mrtg at list.ee.ethz.ch>
Sent: Wednesday, August 04, 1999 10:39 AM
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
>
>

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