[rrd-users] Re: question on mrtg/rrdtool (fwd)
Alex van den Bogaerdt
alex at slot.hollandcasino.nl
Mon Sep 11 21:59:10 MEST 2000
> Option c is implemented by updating on certain times only:
> if now is 968701573 (unix epoch time) update at 968701500. This is
> accomplished by:
> timenow = `date +%s`
> timenow = $((timenow/300*300))
> in bash. Other languages have similar methods of calculating the
> current time minus (current_time modulo 300).
Yes: and use this time in stead of the real time when you're updating
the RRD. This is where you would normally place that "N" when you are
doing "rrdtool update some.rrd N:x:y:z".
If you're using MRTG: good luck with either hacking MRTG or with using
some other database.
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help
More information about the rrd-users