> What failed to work for me was to 'round' the update time up to the > 'nearest' step and use that in the update; a dump of the RRD showed that > the PDPs were all 0s ! > >($t = time() ; >$t += STEP_SIZE/2 ; >$t -= $t % STEP_SIZE ; >RRDs::update RRD, "$t:$v1:$v2..." ; >)
try this: $t = time(); $t = (int($t / STEP_SIZE)) * STEP_SIZE; Works for me.... Claude R Trépanier Support de l'infrastructure du réseau IBM Bromont [EMAIL PROTECTED] -- 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
