Just fake the timestamp so it looks like it runs exactly on the 5 minute
boudary. Instead of using:
rrdtool update /rrd/file.rrd N:bla:bla:bla
use
rrdtool update /rrd/file.rrd `lumpytime`:bla:bla:bla
Here is the C source for lumpytime:
#include <time.h>
int main() {
time_t curtime;
curtime=time(NULL);
curtime-=curtime % 300;
printf("%i",curtime);
exit(0);}
--
Unsubscribe mailto:[EMAIL PROTECTED]
Help mailto:[EMAIL PROTECTED]
Archive http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
**********************************************************************
The information contained in this e-mail is confidential and is
intended only for the use of the addressee(s).
If you receive this e-mail in error, any use, distribution or
copying of this e-mail is not permitted. You are requested to
forward unwanted e-mail and address any problems to the
MIM Holdings Limited Support Centre.
e-mail: [EMAIL PROTECTED]
phone: Australia 1800500646
**********************************************************************
--
Unsubscribe mailto:[EMAIL PROTECTED]
Help mailto:[EMAIL PROTECTED]
Archive http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi