[mrtg] Re: Math Operations

Presciliano dos Santos Neto presciliano at qualityware.com.br
Wed Sep 22 16:47:18 MEST 1999


So is'nt possible to divide ?

Let me ilustrate the question with some real data:

OID1    OID2    OID3
37      258     295
49      275     324
54      299     353
67      305     372

1. the OID's are counters
2. OID1+OID2=OID3

I just like to graph the percentages: OID1/OID3*100 and OID2/OID3*100, or
else OID1*OID3^(-1)*100 and OID2*OID3^(-1)*100

David C Prall wrote:

> > I'd like to graph OID1/OID3 and OID2/OID3:
> >
> > This is how I'm trying:
> >
> > Target[percent]: 1.1.1.1:public at router/3.3.3.3:public at router
> >                        &2.2.2.2:public at router/3.3.3.3:public at router
> >
> Are you using OID3 as the OUT twice and adding together OID1 and OID2 as
> the IN.
>
> Target[percent]: 1.1.1.1:public at router&3.3.3.3:public at router +
> 2.2.2.2:public at router&3.3.3.3:public at router
>
> Will give you 1.1.1.1+2.2.2.2 as the IN and 3.3.3.3+3.3.3.3 as the OUT
> in a single graph. You may want to find an OID that always returns a 0
> for the second instance of OID3.
>
> David C Prall, MCNE MCSE          DCP Technologies
> dcp at dcptech.com                       http://www.dcptech.com
> dcppage at dcptech.com

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