[mrtg] Re: oids and multi target syntax

bear bear at tik.com.au
Wed Jul 18 16:17:44 MEST 2001


Hi
I use multi targets to sum the value of users across a few machines ..
is this what you want? , if so .. using your example I do this

Target[test]:
.1.3.6.1.4.1.2021.4.5.0&.1.3.6.a.zero.value.oid.in.here:public at localhost  +
.1.3.6.1.4.1.2021.4.6.0&.1.3.6.a.zero.value.oid.in.here:public at localhost  +
.1.3.6.1.4.1.2021.4.5.0&.1.3.6.a.zero.value.oid.in.here:public at localhost  +
.1.3.6.1.4.1.2021.4.6.0&.1.3.6.a.zero.value.oid.in.here:public at localhost

double the white space between (NT user here) the -,+,/ or * and you must
have the zero oid !


----- Original Message -----
From: <grinnell at american.edu>
To: <mrtg at list.ee.ethz.ch>
Sent: Wednesday, July 18, 2001 9:56 PM
Subject: [mrtg] oids and multi target syntax


>
> Hey,
>
> I'm still looking for an example of a working cfg that uses oids and
> multitarget syntax
> i.e. something like
> Target[test]: .1.3.6.1.4.1.2021.4.5.0:public at localhost -
> .1.3.6.1.4.1.2021.4.6.0:public at localhost &
> .1.3.6.1.4.1.2021.4.5.0:public at localhost -
> .1.3.6.1.4.1.2021.4.6.0:public at localhost
>
> Note the minus signs in there.  I need to get a value of used memory, but
> the only oids that i can find are "total memory" and "free memory".  The
> Configuration reference page indicates that this can be done with multi
> target syntax, but when I try it, in many different combinations, I either
> get 0's in the log file, or the error
> WARNING: Could not match host:'public at localhost' ref:'' key:''
>
> I know the oids are returning the correct type of values, because I've
> checked them with snmpget and I can graph the values seperately in MRTG.
> i.e. Green = Total
>
>
> --
> 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
>


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