[mrtg] Adding values
andoon at lisp.com.au
Sat Sep 18 02:04:21 MEST 1999
Can anybody tell me, how I can add two values from two externales
together, using MRTG?
Target[starnet.tot]: `/usr/local/bin/mrtg/bin/starnet.sh` +
doesn't work, because I think you can only have one externale, right?
The script has two values, from 2 different sources, and input needs to be
and so does output.
(These are in bits!)
X1=`expr $LX1 + $BX1`
X2=`expr $LX2 + $BX2`
Therefore, I get:
Which is in 32 bit, maybe? Can someone give any suggestions, please?
Andrew Chung andoon at lisp.com.au
Aus Fax: (02) 9657 2149 US Fax: 209-796-8390
PGP Key available: http://www.lisp.com.au/~andoon/pgpkey
* 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