[rrd-users] rrd update problems

Seth Lepzelter spl at frb.gov
Fri Apr 19 16:35:59 MEST 2002


Hello all,

I've got an RRD watching output from vmstat/iostat on a sun box.  Every 19  
updates to my rrd(regardless of how long I wait in between updates), 
it tells me that I have to wait at least 1 second in between updates(even 
though I just waited a minute, then slept 2 seconds, and tried it again).  
This really sounds like an algorithmic problem, butthere's really no 
algorithm involved.

here's my code(perl):

    RRDs::update($rrdb,"N:$iostat[2]:$iostat[3]:$iostat[0]:$iostat[1]:...");
    if(true){
	my $ERR = RRDs::error;
	if($ERR){
	    sleep 2;
	    RRDs::update($rrdb,(time+1).":$iostat[2]:$iostat[3]:...");

I've also tried calling the rrdtool binary, with the same results.

Any ideas?

Thanks in advance,
Seth Lepzelter

--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the rrd-users mailing list