[mrtg] Re: MRTG bug?
Paul C. Williamson
pwilliamson at mandtbank.com
Wed Aug 8 17:32:49 MEST 2001
Mike,
That has nothing to do with graphing one value in a target graph. That just limits the number of requests to 1 per query.
>From the manual:
Some SNMP implementations can not deal with requests asking for multiple snmp variables in one go. Set this in your cfg file to force mrtg to only ask for one variable per request.
IOW, the device can't deal with a getnext, only a get.
Paul
>>> "Mike Singleton" <msingle at davita.com> 08/08/01 11:17AM >>>
SingleRequest: YES
_Mike
Monitoring Project : http://172.16.54.59/mrtg/mrtgindex.htm
-----Original Message-----
From: "Paul C. Williamson" <pwilliamson at mandtbank.com>
Sent: Wednesday, August 08, 2001 8:16 AM
To: <ned at elte.hu>, <mrtg at list.ee.ethz.ch>
Subject: [mrtg] Re: MRTG bug?
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
DaVita Inc.
--
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