[mrtg] Re: Graph overlapping?

Alex van den Bogaerdt alex at slot.hollandcasino.nl
Fri Mar 16 01:55:36 MET 2001


Tony Melia wrote:
> 
> I have MRTG monitoring NIC stats for a number of servers.  The graphs it
> produces seem to overlap, e.g weekly graph (30 min average) has Thurs, Fri,
> sat,SUn, Mon, Tue, Wed, THurs i.e Thurs is there twice, also the daily graph
> is similar beginning at 2am, through to 10 am next day, again, overlapping.
> I created my configs using cfgmaker.

There are four types of graphics: daily, weekly, monthly and yearly
graphics.  They work on 5-minute averages, 30-minute averages, 2-hour
averages and 1-day averages.

The graphics are 400 pixels wide (by default) and will display:
400*5 minutes  == 1 day + 9 hours + 20 minutes
400*30 minutes == 1 week + 1 day + 8 hours
400*2 hours    == 33 days + 8 hours
400*1 day      == 1 year + 35 days

You are therefore not seeing thursday twice, you are seeing two different
thursdays.

> How can I fix this, also can I fix it without losing historical data?

As you can see, there's nothing to fix.  If you want to display exactly
one week, you need to create pictures with width 336. This will then
also display 336*5 minutes == 1 day + 4 hours and so on.

cheers,
-- 
   __________________________________________________________________
 / 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 |
+----------------------------------------------------------------------+
| Technical questions sent directly to me will be nuked. Use the list. | 
+----------------------------------------------------------------------+
| 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
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the mrtg mailing list