[mrtg] Re: Substract values?
Alex van den Bogaerdt
alex at slot.hollandcasino.nl
Thu Oct 5 14:43:45 MEST 2000
c.w.vandervelden at kpn.com wrote:
> >
> > Is it possible to substract values (doesn't look like it)? So what I
> > want to do is something like this:
> >
> > target[x]: 3:public at router1 + 3:public at router2 - 3:public at router3
> >
> > This way you could calculate the remaining traffic to router 4 (this
> > one does not support the correct SNMP settings) eg.
Yes, with a restriction. You need to make sure the outcome isn't
negative. Do this by swapping in and out traffic where necessary.
You need to do this anyway or else you're subtracting the wrong numbers.
Check the top few lines of your log files:
This is working:
==> test1.log <==
970749392 7034756386 1311657595
970749392 13741 17374 13741 17374
970749381 1277 2090 11496 18815
970749300 0 0 0 0
970749000 0 0 0 0
This isn't:
==> test2.log <==
970749392 -1505068834 -358800532
970749392 0 0 0 0
970749381 0 0 0 0
970749300 0 0 0 0
970749000 0 0 0 0
--
__________________________________________________________________
/ 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 |
+----------------------------------------------------------------------+
| Technical questions sent directly to me will be nuked. Use the list. |
+----------------------------------------------------------------------+
| http://faq.mrtg.org/ |
| http://rrdtool.eu.org --> tutorial |
+----------------------------------------------------------------------+
--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive http://www.ee.ethz.ch/~slist/mrtg
FAQ http://faq.mrtg.org Homepage http://www.mrtg.org
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
More information about the mrtg
mailing list