[rrd-users] Re: how to know why RRDs::update die

Sunil Modi (IT) smodi at bordersgroupinc.com
Thu Nov 18 14:11:31 MET 2004


> > I'm sorry I find out only now the function:
> > RRDs::errorthat it say:ERROR while updating mydemo.rrd: 
> conversion of
> > '8.32239738518056' to float not complete: tail ''Could You 
> help me?Thank
> > You


I had a very similar issue, but I found that my problem was not the floating, so yours may be different,but the issue I ran into was that I could update manually, but when RRD::update did it ,it could not update with leading or trailing whitespaces.  This is my solution:
chomp $variable;
$variable =~ s/(^ *)||( *$)//g;

I know it's redundant, but it works.  Do this to the variables you are updating and it might help. Good luck

-sunil

--
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