[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [hobbit] mysql connections



that worked.-

Great community Great work.
Thanks a ton to all of you. (stef.coene, Charles , Jason)

Sabeer MZ

On 3/6/07, Stef Coene <stef.coene (at) docum.org> wrote:

On Tuesday 06 March 2007 17:42, Sabeer MZ wrote: > Graphs still not come. i see below errors too .. > any guess :) > > 2007-03-06 08:34:31 RRD error updating > /home/hobbit/data/rrd/abc.abc.com/mysql.rrd from x.x.x.x: not a simple > integer: '0.020' I had the same problem. RRD wants integers.

I added the line
$metrics =~ s/(\d)+\.(\d)+/$1/g;

just before
$metrics =~ s/(\d)\s+/$1\n/g; # remplace les espaces qui suivent un
chiffre
par des \n

This will filter out the ".0.20" of "0.020" so "0" is reported.


Stef

To unsubscribe from the hobbit list, send an e-mail to
hobbit-unsubscribe (at) hswn.dk





--
Warm Regards
Sabeer MZ