[mrtg] Re: I change the report from 36 hours to 24 hours?

Alex van den Bogaerdt alex at slot.hollandcasino.nl
Mon Oct 22 14:44:48 MEST 2001


Kenji Fujimoto wrote:
> 
> 
> I have question.
> MRTG is making a daily report for 36 hours.

It is making reports of 400 pixels each with a width of 5 minutes
per pixel. This is 400*5 is 2000 minutes is 33 hours 20 minutes.

> how can I change the report  from 36 hours to 24 hours?

24 hours is 24*60 minutes.  At 5 minutes per pixel this means that
you want to graph with a width of 288 pixels.

> Also, I want to make week(7days)report, month(30days)report, and
> Year(365days)report. How can I get it?

Only when you start hacking MRTG.  I don't think you're ready for that.
If you want to try it anyway:

24 hours at 5 minutes per pixel: graph width == 288 pixels
7 days at 30 minutes per pixel:  graph width == 336 pixels
30 days at 2 hours per pixel:    graph width == 360 pixels
365 days at 1 day per pixel:     graph width == 365 pixels

Each call to rateup should have the correct parameter, you also
need to change the resulting web page.

HTH
-- 
   __________________________________________________________________
 / 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