[mrtg] Re: How to graph only 9am-3pm?

Alex van den Bogaerdt alex at slot.hollandcasino.nl
Fri Dec 17 23:38:39 MET 1999


> >
> >0,5,10,15,...,55,9-14,*,*,* $HOME/cricket/collect-subtrees normal
> >
> 
> Not sure if this would work as I'm not yet familiar with the way RDD stores
> its data...I know it didn't work on mrtg because of the way the logfile
> stores info, you just get the last value sampled repeated for the times
> which MRTG was not running.   
> 
RRDtool works different.  It will store "unknown" for the missing part.

> Someone said that I could do it with RDD, here is their note:
> 
That someone is me.  I wasn't aware that you were using cricket, hence the
14all suggestion.

> > Start using RRDtool (see contrib/14all/) and learn how to use RRDtool.
> > With this tool you can specify what interval you would like to use when
> > doing all sorts of things, including this particular calculation.
> > You could also display 8 to 3, even at 4 or 5 o'clock.
> > With some efford from your side you could also display max/min/avg from
> > 8 to 9, from 9 to 10 etcetera.
> 
> No idea what I can do at this point.  I may go ahead and try the cron
> method. Thanks for your input!
> 

If you are using cricket you are also using rrdtool.  You could find
out what you need rather easy.
Try the next line (substituting the correct database name):

rrdtool fetch mydatabase.rrd AVERAGE --start 09:00 --end 15:00

If this shows you the data you need, try one of the many examples in 
the rrdtool tutorial.  You can produce an image suitable for your needs.
You can also use print to display min, max, average and last.

I'm not suggesting to skip cricket, I do suggest that you learn about
rrdtool.  Read the rrdtutorial and then the cdeftutorial.  Any questions
and/or remarks are appreciated.

regards
-- 
   __________________________________________________________________
 / 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 |
+----------------------------------------------------------------------+

--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:mrtg-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/mrtg



More information about the mrtg mailing list