[mrtg] Re: Discard weekends?

Alex van den Bogaerdt alex at ergens.op.HET.NET
Thu Feb 28 00:20:48 MET 2002


Frank Carreiro wrote:
> 
> 
> Hmmm....   If you a running MRTG as a cron job then simply schedule to 
> run around those times.  If as a daemon then I'm not sure if that's an 
> option.

This won't work for reasons Paul already described.

However, there's a variant that will, sort of, work.  It does so only
for the daily graph:

MRTG will create images that describe 5 minutes per pixel in the daily
graph.  If you create such an image at 5pm and you want it to show the
office hours only, it should be 108 pixels wide.  108 pixels at 5 minutes
a pixel means 540 minutes which equals 9 hours.

Rateup, like RRDtool, can be called from the command line.  You will
need to find out what parameters you should give it and I'm afraid this
isn't going to be easy.  It is however doable.

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