[mrtg] Re: Artihmetic operations with OIDs

Alex van den Bogaerdt alex at slot.hollandcasino.nl
Tue Aug 7 15:49:54 MEST 2001


"FERKAN YALCIN (NO-INVAS-WDP)" wrote:

> I have the following target definition in one of my configuration file.
> 
> 	"Target[A.B.C.D]: OID1&OID1:public at A.B.C.D * 300 + 1"
> 
> Is there any syntax error in this target definition taht you can see?
> Thanks in advance...

I didn't use the most recent version of MRTG (don't have it)
but this works for me:

Target[A.B.C.D]: 1.3.6.1.2.1.2.2.1.10.129&1.3.6.1.2.1.2.2.1.16.129:public at a.b.c.d * 300 + 1
Workdir: /tmp/mrtg
Title[a.b.c.d]: test
PageTop[a.b.c.d]: test
MaxBytes[a.b.c.d]: 100000000

cheers,
-- 
   __________________________________________________________________
 / 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