[mrtg] Re: MRTG bug?
Paul C. Williamson
pwilliamson at mandtbank.com
Wed Aug 8 17:15:53 MEST 2001
Hmm, I imagine you'll get flamed about this.
MRTG DOES TWO TARGETS!!! NOT ONE, NOT THREE. TWO!
If you want to add two together, you need something like
OID1&OID2:community at ipaddress + OID3&OID4:community at ipaddress.
This will give you OID1 + OID3 and OID2 + OID4. If this doesn't work for you or you are hell bent on getting just one value, switch to RRDTool.
Paul
>>> Nagy Erno <ned at elte.hu> 08/08/01 11:08AM >>>
Hello!
I like to add more value within one target like this:
Target[aladar_load0]: .1.3.6.1.2.1.25.3.3.1.2.1:public at aladar +
.1.3.6.1.2.1.25.3.3.1.2.2:public at aladar
but it isn't work. It looks like a bug in targparser function. I did a
tiny patch for it, but it doesn't work yet:
diff /usr/local/mrtg-2.9.16/bin/../lib/mrtg2/MRTG_lib.pm{,.orig}
1070c1070
< (?: ([\d\.]+)| # interface number
---
> (?: (\d+)| # interface number
Please tell me how can I solve this proble.
Thanks,
Ned
--
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