the syntax is oid1&[EMAIL PROTECTED] + oid1&[EMAIL PROTECTED] 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&[EMAIL PROTECTED] + oid2&[EMAIL PROTECTED]
If i have it right then the green will show totals of both and the blue will be zero ( flatline ) it goes on ... oid1&[EMAIL PROTECTED] + oid1&[EMAIL PROTECTED] + oid1&[EMAIL PROTECTED] + oid1&[EMAIL PROTECTED] + oid1&[EMAIL PROTECTED] + oid1&[EMAIL PROTECTED] 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:[EMAIL PROTECTED] alup1.com + 1.3.6.1.4.1.1768.5.25.0&1.3.6.1.4.1.1768.5.25.0:[EMAIL PROTECTED] + 1.3.6.1.4.1.1768.5.25.0&1.3.6.1.4.1.1768.5.25.0:[EMAIL PROTECTED] 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" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> 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:[EMAIL PROTECTED] > 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:[EMAIL PROTECTED] 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
