You could try Options[_]: integer I'm not sure if it rounds or truncates.
If it truncates, and you're using rrd instead of rateup, you could always add 0.5 to the target value which might give you a better result. -----Original Message----- From: vk2ydh [mailto:[EMAIL PROTECTED] Sent: Mon 7/21/2003 6:23 PM To: mrtg Cc: Subject: [mrtg] Re: Antwort: Re: Differences between mrtg.log and html view I know what Daniel means. I collect the number of channels in use on an ISDN link. As such it can only be a whole number. If the collection interval varies, as it will, MRTG interpolates and sometimes gives me 4.8 instead of 5. It would be great to optionally overide this behaviour. Dave ----- Original Message ----- From: "Daniel J McDonald" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: "mrtg" <[EMAIL PROTECTED]> Sent: Tuesday, July 22, 2003 2:01 AM Subject: [mrtg] Re: Antwort: Re: Differences between mrtg.log and html view > On Mon, 2003-07-21 at 09:58, [EMAIL PROTECTED] wrote: > > > > The values are being interpolated so that they line up on 5-minute > > > boundaries. This is because you can't poll exactly in 5 minute > > > intervals, so it fiddles with the delta and guesses where you would have > > > been at the precise 5 minute boundaryy. > > > > This is ok, if you have a always increasing value like an interface couter, > > but it's IMO not ok, if I have a per-calutlated value, that I give to mrtg. > > I tell just this to mrtg by setting the option gauge. > -- 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 Confidentiality Notice: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. -- 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
