[mrtg] Re: Multi target syntax question
bear
bear at tik.com.au
Wed Apr 16 16:10:17 MEST 2003
the syntax is
oid1&oid2 at router.name.here + oid1&oid2 at other.router.name.here
notice the white space between the two targets ( use double spaces )
if you want aggregate on one interface then you must(maybe)find an oid that
returns a 0 ( zero )
do an smnp walk on the device you will find one
then it will look like
oid1&zero_oid at router.name.here + oid2&zero_oid at router.name.here
If i have it right then the green will show totals of both and the blue will
be zero ( flatline )
it goes on ...
oid1&oid2 at router.name.here + oid1&oid2 at other.router.name.here +
oid1&oid2 at router2.name.here + oid1&oid2 at other2.router.name.here +
oid1&oid2 at router3.name.here + oid1&oid2 at other3.router.name.here
and so on
somebody (toby) may be able to help with exactly how many expressions can be
used on one target ??
The hard part is finding the correct oids to use :)
here is the target line of 3 of dialup boxes
Target[ports_in_use]:1.3.6.1.4.1.529.4.26.0&1.3.6.1.4.1.529.4.26.0:public at di
alup1.com +
1.3.6.1.4.1.1768.5.25.0&1.3.6.1.4.1.1768.5.25.0:public at dialup2.com +
1.3.6.1.4.1.1768.5.25.0&1.3.6.1.4.1.1768.5.25.0:public at dialup3.com
here i use the one iod twice ...so that both green and blue ( in and out )
show the result
and yse threshold works here as well , ( emails someone that its running out
of dialup lines )
----- Original Message -----
From: "Greg C. Parks" <Greg.Parks at TotalLogistic.com>
To: <mrtg at list.ee.ethz.ch>
Sent: Wednesday, April 16, 2003 9:45 PM
Subject: [mrtg] Multi target syntax question
> Are there any sample cfgs that show the use of how get the aggregate
> value of multiple targets? I've read about using the + expression but I
> can't seem to get the syntax right.
>
> --
> 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