[hobbit] mysql connections

Stef Coene stef.coene at docum.org
Tue Mar 6 19:18:35 CET 2007


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



More information about the Xymon mailing list