[mrtg] Re: Reversing sums of OIDs

Stieers, Ken KStieers at dainrauscher.com
Tue Aug 24 19:09:47 MEST 1999


Why don't you try this:

oid1.out&oid1.in:public at ip + oid2.out&oid2.in: public at ip

i.e. flip the order in the target line instead of trying to use the
negative.


Ken


> -----Original Message-----
> From: Erik Power [mailto:erik at sitespecific.net]
> Sent: Tuesday, August 24, 1999 12:02 PM
> To: MRTG Mailing list (E-mail)
> Subject: [mrtg] Reversing sums of OIDs
> 
> 
> Hi all,
> 	I'm having some trouble figuring out how to do this, or 
> if it's even
> possible. I have a couple of entries in my .cfg file that 
> take the sum of
> two or more sets of OIDs from different devices, e.g.
> oid1.in&oid1.out:string at device1 + 
> oid2.in&oid2.out:string at device2. I'd like
> to swap the IN/OUT values for the total sum, just like I 
> invert non-summed
> target values with the "-" sign. However, I don't seem to be getting
> anywhere with any of the following:
> 
> -oid1.in&oid1.out:string at device1 + -oid2.in&oid2.out:string at device2
> -oid1.in&oid1.out:string at device1 + oid2.in&oid2.out:string at device2
> -oid1.in&oid1.out:string at device1 - oid2.in&oid2.out:string at device2
> 
> Any hints?
> 
> Thanks,
> 
> 
> ______________________________________________________
> 
> Erik P. Power              Site Specific, Inc.
> erik at sitespecific.net      1402 3rd Ave. Suite 324
> Voice: (206) 652-0677      Seattle, WA 98101
> Fax:   (206) 652-0676      http://www.sitespecific.net
> ______________________________________________________
> 
> --
> * 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
> 

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