[mrtg] Re: wrap redux

alex at ergens.op.Het.Net alex at ergens.op.Het.Net
Mon May 29 16:25:43 MEST 2000


Randy Bush wrote:
> 
> >> i believe i am getting 32-bit counter wraps on oc12s and above.  the list
> >> archive does have a thread on wraps, but it seems inconclusive or i am just
> >> not getting it.  anyone have some clues for me?
> > Please ask a more specific question if you need more help.
> 
> yes, what's the hack around it?  e.g. how to get the sampling rate more
> frequent than five minutes?  lots of rap about rrd and 14all.cgi, but it
> is not clear in the rap whether/how this works around the issue.

It is completely legal to call MRTG more often than once per 5 minutes
without changing anything in the config file.  This way you will get
more valid samples and therefore the problem is less visible.
One problem will remain:  if the counter wraps from <very high> to
<very low> that sample is ignored.

If you would call MRTG each minute, the counter wrapping occurs at a
rate of ((2**32)/60)*8 == 572662304 bps

Warning: MRTG is pretty demanding on your OS.  RRDtool will process the
counter much more efficient.

regards,
Alex
-- 
   __________________________________________________________________
 / alex at slot.hollandcasino.nl                  alex at ergens.op.het.net \
| work                                                         private |
| My employer is capable of speaking therefore I speak only for myself |
+----------------------------------------------------------------------+
| http://faq.mrtg.org/                                                 |
| http://rrdtool.eu.org  --> tutorial                                  |
+----------------------------------------------------------------------+

--
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



More information about the mrtg mailing list