[mrtg] Re: Math

Bryan Socha byans at ugo.com
Fri Feb 11 23:37:05 MET 2000


i've been meaning to try rrdtool for some time and this looks like when..

I tried exactly what you suggested, I also have 2 inverse interfaces that
I'm subtracting, but 20M bits - 12M bits does not equal 80M so subtraction
is definately off.  I will check out rrdtool though.


Bryan Socha
Network Engineer
UGO Networks, Inc.

Phone: 212-624-3362
Cell: 917-439-5503

-----Original Message-----
From: Alex van den Bogaerdt [mailto:alex at slot.hollandcasino.nl]
Sent: Friday, February 11, 2000 4:34 PM
To: mrtg at list.ee.ethz.ch
Subject: [mrtg] Re: Math


Daniel R . Kilbourne wrote:
> 
> On Fri, Feb 11, 2000 at 02:03:19PM -0500, Bryan Socha wrote:
> > Is it just me or does subtracting interfaces/oid not work?  Addition is
> > excellent but does anyone know anything about this?
> > 
> 
> Well, I've never tried it, but you could always add the inverse
> 

Nope, the inverse would be adding "-1:public at device" which is, for MRTG,
the same as swapping in and out for interface 1 and adding that to the
other interface.  This means that a simple sum like:
   "2:public at device + -1:public at device"
may verywell be the same as adding interface 1 output to interface 2
input and vice versa.

Perhaps the following will subtract: (mind the spaces around the '-')
   "2:public at device - 1:public at device"
(never tried it but if I would like to try it, this is how I would go).

If anything else fails, you can always use the external program interface
and do it yourself.

Another option would be to use rrdtool.

regards,
-- 
   __________________________________________________________________
 / alex at slot.hollandcasino.nl                  alex at ergens.op.het.net \
| work                                                         private |
| My employer is capable of speaking therefore I speak only for myself |
+----------------------------------------------------------------------+

--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:mrtg-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/mrtg

--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:mrtg-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/mrtg



More information about the mrtg mailing list